Bug#1144359: marked as pending in init-system-helpers
Michael Biebl
noreply at salsa.debian.org
Tue Nov 10 14:34:12 GMT 2026
Control: tag -1 pending
Hello,
Bug #1144359 in init-system-helpers reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:
https://salsa.debian.org/debian/init-system-helpers/-/commit/3c6dceb1b4da0b1ee2679e51002d73dca440873d
------------------------------------------------------------------------
script/update-rc.d: test /usr/sbin/init for its type before readlink()
Perl's readlink() returns undef when used on a regular file. The docs
say:
> If there is a system error, returns the undefined value and sets $! (errno)
Turns out that "file is not a symlink" is a system error. :)
Turns out that all packages in Debian that ship /usr/sbin/init ship it
as a symlink -- except for sysvinit-core. This means that before this
change, users of sysvinit would see this message when update-rc.d is
run:
Use of uninitialized value in string eq at /usr/sbin/update-rc.d line 196.
The message is annoying but at least it's harmless. This commit fixes
the problem by first testing whether /usr/sbin/init is a symlink or not.
Closes: #1144359
------------------------------------------------------------------------
(this message was generated automatically)
--
Greetings
https://bugs.debian.org/1144359
More information about the Pkg-systemd-maintainers
mailing list