'Twas brillig, and Colin Guthrie at 25/08/11 23:47 did gyre and gimble: >> > We said that we would support booting without systemd-, so to me, this >> > should be taken in account. > Yeah but I think using the "optional" word in pam config means that it's > quite safe even if systemd is not running, so I don't think this is an > issue. > > That's why I suggested even just patching pam directly... but modifying > the file should also be possible as that what ldap auth configuration > does anyway, so it's no great shakes.
OK, executive decision for now: I've just added the line: -session optional pam_systemd.so to /etc/pam.d/system-auth in the pam package. This change is quite safe: 1. The leading - on the line means that if pam_systemd.so does not exist, it will be ignored. 2. pamd_systemd.so itself is clever and if systemd is not running, it is a noop. So for all scenarios, this change is safe. If we want to do more with e.g. authconfig later, this can be done, but it's not strictly speaking needed for now. Col -- Colin Guthrie mageia(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mageia Contributor [http://www.mageia.org/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/]
