Bug#743217: [Pkg-systemd-maintainers] Bug#743217: systemd: systemctl enabled/disable does not print what it's doing with the unit file
On Mon, 31 Mar 2014 20:24:28 +0200 Ralf Jung wrote: > Hi, > > > Hm, true. Completely missed that bit. > > Somehow systemctl enable|disable only outputs the symlinks > > created|created by Alias= but not WantedBy= > > > > I guess this more accurately describes the bug, right? > > Correct. Looking at this bug again, this is actually an issue in update-rc.d. We first call update-rc.d foo enable|disable if there is a matching sysv init script. update-rc.d then goes on and *also* handles the WantedBy= symlinks, and does so silently. If update-rc.d is called by systemctl, it should probably *not* process the .service file and only handle the sysv init script. The reason why update-rc.d has (limited) support for .service files is, that it's not guaranteed that systemctl is always available and we wanted to make sure the state is kept in sync. We should rework this integration: - If systemctl is installed and systemctl calls update-rc.d, update-rc.d should *not* process the native .service file - If systemctl is installed and the user runs update-rc.d foo disable|enable, update-rc.d should call systemctl. - If systemctl is not installed and the user runs update-rc.d, the fallback in update-rc.d to process .service files should be called. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? signature.asc Description: OpenPGP digital signature
Bug#743217: [Pkg-systemd-maintainers] Bug#743217: systemd: systemctl enabled/disable does not print what it's doing with the unit file
Hi, > Hm, true. Completely missed that bit. > Somehow systemctl enable|disable only outputs the symlinks > created|created by Alias= but not WantedBy= > > I guess this more accurately describes the bug, right? Correct. Kind regards Ralf -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#743217: [Pkg-systemd-maintainers] Bug#743217: systemd: systemctl enabled/disable does not print what it's doing with the unit file
Am 31.03.2014 18:30, schrieb Ralf Jung: > However, it seems we are talking about different symlinks here: When > disabling ssh.service, I also get the output you describe. But that > symlink seems to be the result of the > > Alias=sshd.service > > line in the unit file, while there's no output for what happens due to > > WantedBy=multi-user.target > > I don't know whether this output is present upstream. If not, I'd > consider this an upstream bug. > Wednesday I should have access to a Fedora machine, so I can check how > that behaves. Hm, true. Completely missed that bit. Somehow systemctl enable|disable only outputs the symlinks created|created by Alias= but not WantedBy= I guess this more accurately describes the bug, right? -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? signature.asc Description: OpenPGP digital signature