You are not logged in.
Hey,
Recently I have done a fresh installation and chose to encrypt my home partition with dm-crypt. I unencrypt it at login via pam_mount, which makes my home directory unavailable during system boot. This is causing the shadow.service to fail:
┌─jente @ ~ 23:12:39
└─╼ systemctl status -l shadow
● shadow.service - Verify integrity of password and group files
Loaded: loaded (/usr/lib/systemd/system/shadow.service; static)
Active: failed (Result: exit-code) since za 2014-08-09 21:38:13 CEST; 1h 34min ago
Process: 194 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
Main PID: 194 (code=exited, status=2)
aug 09 21:38:20 edge pwck[194]: user 'jente': directory '/home/jente' does not exist
aug 09 21:38:20 edge pwck[194]: pwck: no changes
I have looked around a bit on the web, but haven't come across anything similar. Can I fix this?
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
Don't you have a directory there which you then use as a mount point? Then the directory would exist even though nothing was mounted. (I doubt the check looks at the contents - as far as I can tell from the manual page, it just checks the directory exists.) For example, /home exists on my root partition but as an empty directory. Only when the relevant stuff is mounted does /home actually contain anything.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
I encrypted /home in itself instead of just /home/jente.
I suppose I can just change the mountpoints and create /home myself to solve this then? It's simple, I hadn't thought of it yet
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
I have the same problem but I don't quite get how you changed the mount points. Sorry to sound dumb, but could you point me in the right direction?
Offline