[systemd-devel] sysusers and login.defs checks

Colin Guthrie gmane at colin.guthr.ie
Tue Jul 22 10:35:25 PDT 2014


'Twas brillig, and Lennart Poettering at 22/07/14 12:10 did gyre and gimble:
>> > I guess it's OK to do this kind of user lookup stuff from the journal
>> > code (i.e. server_fix_perms())?
> Hmm, yuck. Actually it is really difficult....
> ...
> Bummer, not sure if we can save this idea...

Yeah, I did wonder about it when you suggested it!

I guess the only option is to either:

a) Do nothing and live with compiled in defaults,
 or
b) Parse and honour /etc/login.defs before falling back to compiled in
defaults.

As you've already NAK'ed b) I guess we just have to live with a).

I'll probably carry a downstream patch for b) to be honest as I know a
few users will be tripped up, but I can understand not wanting it
downstream from a purist perspective.

Cheers for the discussion :)

Col


-- 

Colin Guthrie
gmane(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/


More information about the systemd-devel mailing list