Page MenuHomeFreeBSD

Move etc/shells to lib/libc/gen/shells
ClosedPublic

Authored by brd on Jul 27 2018, 5:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 22, 10:55 PM
Unknown Object (File)
Fri, Mar 22, 10:55 PM
Unknown Object (File)
Fri, Mar 22, 10:55 PM
Unknown Object (File)
Fri, Mar 22, 10:55 PM
Unknown Object (File)
Jan 6 2024, 7:30 PM
Unknown Object (File)
Jan 6 2024, 7:30 PM
Unknown Object (File)
Jan 6 2024, 7:30 PM
Unknown Object (File)
Jan 6 2024, 7:30 PM
Subscribers

Details

Summary

Switch to using CONFS to handle install.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

After discussion with Will, we decided libc was a better place for shells,
since that is where getusershell(3) comes from.

brd retitled this revision from Move etc/shells to usr.bin/chpass/shells to Move etc/shells to lib/libc/gen/shells.Jul 28 2018, 3:42 PM

Summarizing discussion:

  • chpass is the program that implements chsh which modifies /etc/shells, so it makes sense to install with this program.
  • However, one could, strictly speaking, choose not to install chpass on a system, either because it will never update the shells list, or they edit it through other means.
  • Additionally, /etc/shells is read by getusershell(3) in libc, which _is_ required by some programs, in particular su(1). So it could make more sense to install this file with libc instead.
This revision is now accepted and ready to land.Jul 28 2018, 4:36 PM
This revision was automatically updated to reflect the committed changes.