Created attachment 757251 [details, diff] patch for /etc/init.d/bootlogd file I need boot log, written to file in a different path, other than default /var/log/boot. At now, for realizing that task I need to modify command_args variable in /etc/init.d/bootlogd file. In the future, when sys-apps/sysvinit package will be updated, then I need to make my changes or spend my time for dispatch-conf or something else. I think, that more ideal way - by reading variables of /etc/conf.d/bootlogd from /etc/init.d/bootfontd. Solution in patch (attached). With this patch, I can use my favorite bootlogd command parameters without conflicts with changes of sysvinit package, like this: > $ cat /etc/conf.d/bootlogd > BOOTLOGD_ARGS="-p ${pidfile} -l /tmp/boot.log -e"
Created attachment 757252 [details, diff] patch for /etc/init.d/bootlogd file
** I think, that more ideal way - by reading variables of /etc/conf.d/bootlogd from /etc/init.d/bootlogd. ** > $ cat /etc/conf.d/bootlogd > BOOTLOGD_ARGS="-e -l /tmp/boot.log"
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba311ecca29333b688b1b5b9fe9725b77b9e5a88 commit ba311ecca29333b688b1b5b9fe9725b77b9e5a88 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2021-12-03 11:52:36 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-12-03 11:54:49 +0000 sys-apps/sysvinit: Revbump so users can customize bootlogd startup Thanks-to: Bogdan <bogdan.pylypenko107@gmail.com> Closes: https://bugs.gentoo.org/828061 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> sys-apps/sysvinit/files/bootlogd.confd | 2 ++ sys-apps/sysvinit/files/bootlogd.initd | 4 ++-- sys-apps/sysvinit/{sysvinit-2.99.ebuild => sysvinit-2.99-r1.ebuild} | 1 + sys-apps/sysvinit/{sysvinit-3.00.ebuild => sysvinit-3.00-r1.ebuild} | 1 + 4 files changed, 6 insertions(+), 2 deletions(-)