Package: sysvinit
Version: 2.88dsf-59.4
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Tags: hurd

Hello,

The sysvinit-core package currently doesn't ship a /sbin/poweroff for
hurd-i386 with proper alternative configuration.  The attached patch
fixes that, could you please apply it?

Thanks,
Samuel

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sysvinit depends on:
ii  init         1.33
ii  libc6        2.22-9
ii  libselinux1  2.5-3
ii  libsepol1    2.5-1

sysvinit recommends no packages.

sysvinit suggests no packages.

-- no debconf information

-- 
Samuel
<c> hiri, le cri ici, c des marrants
<c> j'ai un rep ".uglyhackdirectorywithoutacls" ds mon home
 -+- #ens-mim en stage -+-
--- debian/rules.original       2016-06-01 02:18:40.089432414 +0200
+++ debian/rules        2016-06-01 02:20:45.288372651 +0200
@@ -117,9 +117,13 @@
        mv $(sysvtmp)/usr/share/man/man8/halt.8.gz 
$(sysvtmp)/usr/share/man/man8/halt-sysv.8.gz
        rm $(sysvtmp)/usr/share/man/man8/reboot.8.gz
        ln -s halt-sysv.8.gz $(sysvtmp)/usr/share/man/man8/reboot-sysv.8.gz
+       rm $(sysvtmp)/usr/share/man/man8/poweroff.8.gz
+       ln -s poweroff-sysv.8.gz 
$(sysvtmp)/usr/share/man/man8/poweroff-sysv.8.gz
        mv $(sysvtmp)/sbin/halt $(sysvtmp)/sbin/halt-sysv
        rm $(sysvtmp)/sbin/reboot
        ln -s halt-sysv $(sysvtmp)/sbin/reboot-sysv
+       rm $(sysvtmp)/sbin/poweroff
+       ln -s halt-sysv $(sysvtmp)/sbin/poweroff-sysv
        # Add runsystem to conffiles, suppress lintian error
        echo /etc/hurd/runsystem.sysv >> $(inittmp)/DEBIAN/conffiles
 else
--- debian/initscripts.postinst.original        2016-06-01 02:15:47.811043361 
+0200
+++ debian/initscripts.postinst 2016-06-01 02:17:13.920199428 +0200
@@ -237,6 +237,7 @@
                --install /etc/hurd/runsystem runsystem \
                /etc/hurd/runsystem.sysv 10 \
                --slave /sbin/halt halt /sbin/halt-sysv \
+               --slave /sbin/poweroff poweroff /sbin/poweroff-sysv \
                --slave /sbin/reboot reboot /sbin/reboot-sysv
        new="$(get_runsystem)"
 

Reply via email to