Results 1 to 3 of 3

Thread: Users' encrypted home partition inaccessible but root can see it

  1. #1

    Default Users' encrypted home partition inaccessible but root can see it

    I have installed OpenSUSE 64-bit12.2 after having formerly used 12.1 (and, in between, another distro). In this fresh install, I set up an encrypted "/home" partition separate from " /". Root can login, and via dolphin (after I enter the password) can see the "/home" partition. However, when I try to login as an ordinary user, I get the message "Cannot enter home directory.," followed by "Call to lnusertemp failed. (Temporary directory full?. Check your installation.)"

    Browsing around I see that this message can have any number of causes, but my guess is that it might have something to do with my fstab, which looks like this:
    Code:
    /dev/disk/by-id/ata-ST3500413AS_5VMPV5Y6-part1 /                    ext4       acl,user_xattr        1 1
    /dev/mapper/cr_home  /home                ext4       acl,user_xattr,nofail 0 2
    /dev/mapper/cr_swap  swap                 swap       defaults              0 0
    proc                 /proc                proc       defaults              0 0
    sysfs                /sys                 sysfs      noauto                0 0
    debugfs              /sys/kernel/debug    debugfs    noauto                0 0
    usbfs                /proc/bus/usb        usbfs      noauto                0 0
    devpts               /dev/pts             devpts     mode=0620,gid=5       0 0



    "df" shows the following
    Code:
    monk:~ # df
    Filesystem                                                             1K-blocks     Used Available Use% Mounted on
    rootfs                                                                  24343508  5203948  18089796  23% /
    devtmpfs                                                                 4041236       36   4041200   1% /dev
    tmpfs                                                                    4050224        4   4050220   1% /dev/shm
    tmpfs                                                                    4050224      776   4049448   1% /run
    /dev/sda1                                                               24343508  5203948  18089796  23% /
    tmpfs                                                                    4050224        0   4050224   0% /sys/fs/cgroup
    tmpfs                                                                    4050224        0   4050224   0% /media
    tmpfs                                                                    4050224      776   4049448   1% /var/lock
    tmpfs                                                                    4050224      776   4049448   1% /var/run
    /dev/mapper/udisks-luks-uuid-f8414be4-bf19-480f-81a6-c285044dc423-uid0 241668128 91737140 148963116  39% /media/3ad33561-bafe-4685-b4b8-fa412f6be340
    Root can su to a regular user account, but this ordinary user can only see what's in the root partition. I assume there's a command I could use to make "/home" visible to my ordinary users, but I can't guess what it is.

    What to do?

  2. #2

    Default Re: Users' encrypted home partition inaccessible but root can see it

    Quote Originally Posted by rentpayer View Post

    What to do?
    In trying to further diagnose this, I rebooted (again) and suddenly everything is fine. Thanks to anyone who spent time thinking about this, if I am lucky it is fixed (tho it remains a mystery)

  3. #3
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,615
    Blog Entries
    3

    Default Re: Users' encrypted home partition inaccessible but root can see it

    Evidently something went wrong during boot, that resulted in "/home" not being mounted.

    When you logged in at the GUI as root (be prepared to be told that's a no-no), and mounted using dolphin, it was mounted in a non-standard place, as shows in your "df" output.

    If it happens again, then login to root at the command line only, and try:
    Code:
    # mount /home
    Make a note of any error messages.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •