FS#34827 - [autofs] systemd-user-sessions.service starting before autofs.service
Attached to Project:
Community Packages
Opened by Brian BIdulock (bidulock) - Wednesday, 17 April 2013, 17:17 GMT
Last edited by Balló György (City-busz) - Wednesday, 18 December 2013, 03:34 GMT
Opened by Brian BIdulock (bidulock) - Wednesday, 17 April 2013, 17:17 GMT
Last edited by Balló György (City-busz) - Wednesday, 18 December 2013, 03:34 GMT
|
Details
Description:
systemd-user-sessions.service is starting before autofs.service has started, resulting in the ability to log in without the system being able to mount the user's home directory. Additional info: * package version: 5.0.7 Steps to reproduce: Set tty to autologin to user id that requires home directory NIS map mounted by autofs. Reboot system. Observe autologin failure (no home directory). Solution: Add to service file: Before=systemd-user-sessions.service |
This task depends upon
Closed by Balló György (City-busz)
Wednesday, 18 December 2013, 03:34 GMT
Reason for closing: Upstream
Wednesday, 18 December 2013, 03:34 GMT
Reason for closing: Upstream
https://wiki.archlinux.org/index.php/Systemd#Editing_provided_unit_files
Just create the file /etc/systemd/system/autofs.service.d/systemd-user-sessions.conf with the following content:
[Unit]
Before=systemd-user-sessions.service