Bug#901289: breaks boot in containers
Adam Borowski
kilobyte at angband.pl
Tue Dec 25 21:25:58 GMT 2018
On Tue, Dec 25, 2018 at 01:39:22PM +0000, Dmitry Bogatov wrote:
> [2018-12-23 22:58] Adam Borowski <kilobyte at angband.pl>
> > Uh oh... looks like the logsave issue suddenly became RCish: it
> > prevents lxc containers from booting unattended:
> I can propose following ad-hoc solution. Objections? Better suggestions?
> +++ b/debian/src/initscripts/etc/init.d/checkfs.sh
> +# This function does not actually belong here; it is duct-tape solution
> +# for #901289.
> +logsave_best_effort () {
> + if [ -x /sbin/logsave ] ; then
> + logsave -s "${FSCK_LOGFILE}" "$@"
> + else
> + "$@"
> + fi
> +}
The other option is to ship our own implementation of logsave -- it's a
single-C-file tool, and initscripts is already arch:any. On the other hand,
it would add some bloat to a mandatory package, and make it harder to
convert to arch:all later.
So I'm not objecting to your solution.
Meow!
--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Ivan was a worldly man: born in St. Petersburg, raised in
⢿⡄⠘⠷⠚⠋⠀ Petrograd, lived most of his life in Leningrad, then returned
⠈⠳⣄⠀⠀⠀⠀ to the city of his birth to die.
More information about the Debian-init-diversity
mailing list