You are not logged in.

#1 2018-07-23 15:15:04

robin92
Member
From: Wroclaw, Poland
Registered: 2013-10-20
Posts: 24
Website

Login via lightdm with /home as bind filesystem not possible

Hello everybody,

Since I've updated my desktop on 17th July, I am not able to login via lightdm, it simply goes back to login screen. After failed login attempt, when I switch to tty and login I am greeted with a message that my home directory is missing. Indeed, it is.

user@arch $ ls /home
user@arch $

Interestingly, when I do not try logging in with lightdm but switch to tty as soon as login screen is displayed, I can login without any problem. Logging in via SSH tty works fine as well. Apparently, failed login attempt with lightdm breaks something on my system so that any next login attempts are failed as well.

On my system, /home, /var, and /opt/hdd directories are bind filesystems located on a second drive.

# /dev/sda6
UUID=6ac5ea40-9cc0-4384-a1ba-1e24d10f22b1	/         	ext4      	rw,noatime,discard,data=ordered	0 1

# /dev/sdb2
UUID=b4c9fe01-f4e9-42a6-88b6-82d9dc162cdb	/myhdd    	ext4      	rw,relatime,data=ordered	0 2

# /dev/sda2
UUID=B07B-0CF0      	/boot/efi 	vfat      	rw,noatime,discard,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro	0 2

# /myhdd/home
/myhdd/home     	/home     	none      	bind	0 0

# /myhdd/var
/myhdd/var      	/var      	none      	bind	0 0

# /myhdd/opt
/myhdd/opt      	/opt/hdd  	none      	bind	0 0

   
It looks like they're not mounted before lightdm is started.

I've been using my Arch desktop for almost 4 years now and everything worked fine as far as my fstab is concerned. Has something changed recently? What should I correct on my system to be able to login with lightdm?

Offline

#2 2018-07-23 15:27:14

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: Login via lightdm with /home as bind filesystem not possible

If you perform a full system update now does the issue still remain?
If so please post the journal from a boot with the issue.

Offline

#3 2018-07-23 16:36:13

robin92
Member
From: Wroclaw, Poland
Registered: 2013-10-20
Posts: 24
Website

Re: Login via lightdm with /home as bind filesystem not possible

I performed a full system update and the issue no longer occurs. Funny as lightdm was not actually upgraded. Maybe it was related to systemd? I've read somewhere that on systemd systems fstab is translated to systemd units.

Offline

#4 2018-07-23 16:41:12

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: Login via lightdm with /home as bind filesystem not possible

Most likely fixed by an update to lvm2.

Offline

Board footer

Powered by FluxBB