For example on BSD you could technically install bash, but chances that it is used as a shell for a services is very small.
For example on BSD you could technically install bash, but chances that it is used as a shell for a services is very small.
* Change the default for the system shell to dash.
* Ship /bin/sh in the package and fix the diversion handling
for it to make sure /bin/sh is always present.
* Set debconf priority to high when upgrading from an existing
system.
Unless the admin has--for some bizarre reason--set debconf to critical; during one of those "regular updates" the admin would have been presented with the following question: The system shell is the default command interpreter for
shell scripts.
Using dash as the system shell will improve the
system's overall performance. It does not alter the shell
presented to interactive users.
Use dash as the default system shell (/bin/sh)?
<Yes> <No>This is a honest question. How could an automated Debian administration process not be aware of and interact on some level with debconf?
EDIT: Indeed, from the same changelog: debian/dash.NEWS.Debian: when upgrading existing installations, the system shell will not be changed automatically (closes:#539363).
Please explain how your automated Debian administration system that has been in place since Lenny[^1] handles unattended dist-upgrades without the use of preseeding the debconf database for questions with a priority of high or critical?
[^1]: Squeeze was February 2011, any new stable installation since squeeze defaulted to dash as /bin/sh
EDIT: Nevermind, I answered my own question, unattended dist-upgrades from Lenny to squeeze is not something you have any experience with: "I'm now using Debian Wheezy, after primarily using Windows environments my entire life." https://news.ycombinator.com/item?id=6564610#up_6565766