[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#370348: Connect /etc/profile.d/ related bugs

user debian-edu@lists.debian.org
usertag 545756 + debian-edu
block 370348 by 545756

The current base-files maintainer believe /etc/profile.d/ is a bad
idea.  The topic is handled in /usr/share/doc/base-files/FAQ, which

  Q. Why does Debian not have a "profile.d" directory, like other

  A. Because no Debian package needs it. Debian policy says: "A
  program must not depend on environment variables to get reasonable
  defaults".  This policy has been very successful so far. If the
  default install had a profile.d, people might think it's ok to use
  it for a Debian package, when in fact policy does not support such

I guess we should make him aware that the debian-edu-config package
would like to use /etc/profile.d/. :)

The /etc/profile.d/ LSB feature is mentioned in
http://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/etc.html .

Or perhaps we should get the umask setting dropped from /etc/profile,
and use some pam module to control the global umask setting?

Happy hacking,
Petter Reinholdtsen

Reply to: