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

Re: What are desired semantics for /etc/shells?



Hi!

* Helmut Grohne <helmut@subdivi.de> [2021-06-10 20:00]:
> […]
> Inconsistency
> =============
> 
> Some maintainer scripts take care to only run `add-shell` for initial
> configuration or for upgrading from an ancient version that didn't call
> `add-shell`. Others call `add-shell` for every invocation of `postinst`.
> […]

FYI I just noticed another inconsistency: on my merged /usr systems
(installed as such, not converted later w/ usrmerge), /etc/shells
contains both /bin/ and /usr/bin/ paths for some shells, but not all
(e.g. no /usr/bin/sh, no /bin/screen).

  $ sort /etc/shells
  # /etc/shells: valid login shells
  /bin/bash
  /bin/dash
  /bin/rbash
  /bin/sh
  /usr/bin/bash
  /usr/bin/dash
  /usr/bin/rbash
  /usr/bin/screen
  /usr/bin/tmux

- Felix


Reply to: