Your message dated Sun, 21 Oct 2018 18:28:20 +0200
with message-id <[email protected]>
and subject line Re: Not reproduced as of 2018, may be obsolete
has caused the Debian Bug report #856044,
regarding sysvinit: Any update-rc.d command executed in dry-run mode causes a  
'systemctl daemon-reload'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
856044: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856044
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sysvinit
Version: 2.88dsf-59
Severity: normal

Dear Maintainer,


   * What led up to the situation?
        Several of the Debian Jessie machines in our infrastructures are 
running Chef as configuration management system. Part of the provisioning 
process involves running commands like 'update-rc.d -n -f <service_name> 
remove' whose output used to determine the status of a certain managed service.
        This is supposed to be a dry-run command, but it issues a 'systemctl 
daemon-reload' with undesirable side-effects, at every provisioning.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
        I managed to figure this out running this command:
                strace -f -e execve update-rc.d -n -f apache2 remove

   * What was the outcome of this action?
        the following stacktrace:

execve("/usr/sbin/update-rc.d", ["update-rc.d", "-n", "-f", "apache2", 
"remove"], [/* 29 vars */]) = 0
Process 9413 attached
[pid  9413] execve("/sbin/insserv", ["/sbin/insserv", "-n", "-f"], [/* 29 vars 
*/]) = 0
insserv: dryrun, not creating .depend.boot, .depend.start, and .depend.stop
[pid  9413] +++ exited with 0 +++
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9413, si_uid=0, 
si_status=0, si_utime=2, si_stime=2} ---
Process 9420 attached
[pid  9420] execve("/usr/local/sbin/systemctl", ["systemctl", "daemon-reload"], 
[/* 29 vars */]) = -1 ENOENT (No such file or directory)
[pid  9420] execve("/usr/local/bin/systemctl", ["systemctl", "daemon-reload"], 
[/* 29 vars */]) = -1 ENOENT (No such file or directory)
[pid  9420] execve("/usr/sbin/systemctl", ["systemctl", "daemon-reload"], [/* 
29 vars */]) = -1 ENOENT (No such file or directory)
[pid  9420] execve("/usr/bin/systemctl", ["systemctl", "daemon-reload"], [/* 29 
vars */]) = -1 ENOENT (No such file or directory)
[pid  9420] execve("/sbin/systemctl", ["systemctl", "daemon-reload"], [/* 29 
vars */]) = -1 ENOENT (No such file or directory)
[pid  9420] execve("/bin/systemctl", ["systemctl", "daemon-reload"], [/* 29 
vars */]) = 0
[pid  9420] +++ exited with 0 +++
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9420, si_uid=0, 
si_status=0, si_utime=0, si_stime=0} ---
+++ exited with 0 +++

   * What outcome did you expect instead?
        that the 'systemctl daemon-reload' command is not issued as part of the 
dry-run



-- System Information:
Debian Release: 8.7
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to 
en_US.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sysvinit depends on:
ii  init         1.22
ii  libc6        2.19-18+deb8u7
ii  libselinux1  2.3-2
ii  libsepol1    2.3-2

sysvinit recommends no packages.

sysvinit suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 1.50


On Mon, 22 Oct 2018 00:00:13 +0800 Benda Xu <[email protected]> wrote:
> Tags: unreproducible
> Control: reassign 856044 init-system-helpers
> 
> Hi Stefano,
> 
> `update-rc.d` has been moved to init-system-helpers package.  Are you
> still experiencing this bug?  I can't reproduce it.

Well, "-n" was indeed broken and has been removed completely
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856415

Which indeed makes this bug report obsolete.


Benda, please always CC the maintainers of the package you are
reassigning a bug report to. I usually use [email protected]

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to