On 4 November 2016 at 16:05, Ritesh Raj Sarraf <r...@debian.org> wrote: > Package: systemd > Version: 232-1 > Severity: normal > File: systemd-sysv-install > > > rrs@learner:/var/tmp/Debian-Build/Result$ systemctl status apport > ● apport.service - LSB: automatic crash report generation > Loaded: loaded (/etc/init.d/apport; generated; vendor preset: enabled) > Active: inactive (dead) > Docs: man:systemd-sysv-generator(8) > 2016-11-05 / 00:29:30 ♒♒♒ ☹ => 3 > > rrs@learner:/var/tmp/Debian-Build/Result$ systemctl enable apport > apport.service is not a native service, redirecting to systemd-sysv-install. > Executing: /lib/systemd/systemd-sysv-install enable apport > insserv: can not symlink(../init.d/apport, ../rc2.d/S01apport): Permission > denied > insserv: can not symlink(../init.d/apport, ../rc3.d/S01apport): Permission > denied > insserv: can not symlink(../init.d/apport, ../rc4.d/S01apport): Permission > denied > insserv: can not symlink(../init.d/apport, ../rc5.d/S01apport): Permission > denied > insserv: fopen(.depend.stop): Permission denied > update-rc.d: error: no runlevel symlinks to modify, aborting! > 2016-11-05 / 00:29:35 ♒♒♒ ☹ => 1 > > rrs@learner:/var/tmp/Debian-Build/Result$ sudo systemctl enable apport > [sudo] password for rrs: > apport.service is not a native service, redirecting to systemd-sysv-install. > Executing: /lib/systemd/systemd-sysv-install enable apport > 2016-11-05 / 00:29:48 ♒♒♒ ☺ > > > > As I understand from the logs above, systemctl gained root access > through policykit. Then it realized that apport is not a native service. > And then tried to invoke systemd-sysv-install. But that tool complained > that it does not have the necessary privileges.
systemd-sysv-install is executed at the client side, not on the server side. This is something that probably makes sense fixing upstream, as units enabled/disabled via the bus are not synchronized with sysv state. -- Saludos, Felipe Sateler