The officially official Devuan Forum!

You are not logged in.

#1 Re: Installation » Systemctl Daemon Reload » 2025-07-30 08:08:31

@ralph.ronnquist
Thanks, that makes sense seeing as though i installed via grml live iso using grml-chroot. So those scripts must be a catch all for systemd, openrc, runit and sysvinit then? Had i used a devuan live iso with sysvinit i possibly would not have seen those messages or maybe other messages in place.

#2 Installation » Systemctl Daemon Reload » 2025-07-29 23:05:44

HardSun
Replies: 3

Hi Devuan forum.

I just installed devuan daedalus yesterday via devuan debootstrap from a grml live session and wanted to ask if this is normal behavior or something new when installing packages via a chroot/debootstrap. The system is working ok so sysvinit is doing its job but when i was in a chroot installing packages i got below messages on packages that needed init settings applied.

for example, connman-gtk.

Purging configuration files for connman (1.41-3) ...
Can't exec "systemctl": No such file or directory at /usr/sbin/update-rc.d line 98.
Can't exec "systemctl": No such file or directory at /usr/bin/deb-systemd-helper line 682.
Processing triggers for dbus (1.14.10-1~deb12u1devuan1) ...
Log ended: 2025-07-29  13:27:32

/usr/sbin/update-rc.d at line 98

sub systemd_reload {
    if (length $ENV{DPKG_ROOT}) {
        # if we operate on a chroot from the outside, do not attempt to reload
        return;
    }
    if (-d "/run/systemd/system") {
        system("systemctl", "daemon-reload");
    }
}

/usr/bin/deb-systemd-helper line 682

# If we changed anything and this machine is running systemd, tell
# systemd to reload so that it will immediately pick up our
# changes.
if (!length $ENV{DPKG_ROOT} && $changed_sth && $instance eq 'system' && -d "/run/systemd/system") {
    system("systemctl", "daemon-reload");
}

Im thinking its because maybe i was using grml live iso as the main/base system to install devuan? Or should these files even exist on a supposedly systemd free fork of debian?

Board footer

Forum Software