:: [devuan-dev] bug#646: orphan-sysvin…
Página Inicial
Delete this message
Reply to this message
Autor: Arthur Marsh
Data:  
Para: Devuan Bug Tracking System
Assunto: [devuan-dev] bug#646: orphan-sysvinit-scripts: rsyslog script and links removed
Package: orphan-sysvinit-scripts
Version: 0.11
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

* What led up to the situation?

upgrading from 0.10 to 0.11

   * What exactly did you do (or not do) that was effective (or
     ineffective)?


removed and re-installed orphan-sysvinit-scripts 0.11, manually ran:

/usr/lib/orphan-sysvinit-scripts# sh -x update_init_d.sh
+ set -e
+ '[' -z '' ']'
+ action=add
+ read -r systemd sysv rcd rest
+ [[ # =~ ^# ]]
+ continue
+ read -r systemd sysv rcd rest
+ [[ # =~ ^# ]]
+ continue
+ read -r systemd sysv rcd rest
+ [[ # =~ ^# ]]
+ continue
+ read -r systemd sysv rcd rest
+ [[ # =~ ^# ]]
+ continue
+ read -r systemd sysv rcd rest
+ [[ NetworkManager.service =~ ^# ]]
+ '[' -n '' ']'
+ '[' -e /lib/systemd/system/NetworkManager.service ']'
+ '[' -e /etc/init.d/network-manager ']'
+ read -r systemd sysv rcd rest
+ [[ dirsrv.service =~ ^# ]]
+ '[' -n '' ']'
+ '[' -e /lib/systemd/system/dirsrv.service ']'
+ '[' -e /etc/init.d/dirsrv ']'
+ read -r systemd sysv rcd rest
+ [[ dnscrypt-proxy.service =~ ^# ]]
+ '[' -n '' ']'
+ '[' -e /lib/systemd/system/dnscrypt-proxy.service ']'
+ '[' -e /etc/init.d/dnscrypt-proxy ']'
+ read -r systemd sysv rcd rest
+ [[ gpsd.service =~ ^# ]]
+ '[' -n '' ']'
+ '[' -e /lib/systemd/system/gpsd.service ']'
+ '[' -e /etc/init.d/gpsd ']'
+ read -r systemd sysv rcd rest
+ [[ nftables.service =~ ^# ]]
+ '[' -n '' ']'
+ '[' -e /lib/systemd/system/nftables.service ']'
+ '[' add = add ']'
+ dpkg-query -S /etc/init.d/nftables
+ ucf /usr/share/orphan-sysvinit-scripts/nftables /etc/init.d/nftables
+ ucfr orphan-sysvinit-scripts /etc/init.d/nftables
+ update-rc.d nftables defaults
+ read -r systemd sysv rcd rest
+ [[ pdns.service =~ ^# ]]
+ '[' -n '' ']'
+ '[' -e /lib/systemd/system/pdns.service ']'
+ '[' -e /etc/init.d/pdns ']'
+ read -r systemd sysv rcd rest
+ [[ rsyslog.service =~ ^# ]]
+ '[' -n '' ']'
+ '[' -e /lib/systemd/system/rsyslog.service ']'
+ '[' add = add ']'
+ dpkg-query -S /etc/init.d/rsyslog
+ continue
+ read -r systemd sysv rcd rest
+ [[ tomcat9.service =~ ^# ]]
+ '[' -n '' ']'
+ '[' -e /lib/systemd/system/tomcat9.service ']'
+ '[' -e /etc/init.d/tomcat9 ']'
+ read -r systemd sysv rcd rest
am64:/usr/lib/orphan-sysvinit-scripts# ucf /usr/share/orphan-sysvinit-scripts/rsyslog /etc/init.d/rsyslog

Creating config file /etc/init.d/rsyslog with new version
am64:/usr/lib/orphan-sysvinit-scripts# ucfr orphan-sysvinit-scripts /etc/init.d/rsyslog
am64:/usr/lib/orphan-sysvinit-scripts# update-rc.d rsyslog defaults
am64:/usr/lib/orphan-sysvinit-scripts# ls -al /etc/init.d|grep syslog
-rwxr-xr-x   1 root root  2864 Dec  6 00:23 rsyslog
am64:/usr/lib/orphan-sysvinit-scripts# ls -al /etc/rc*d|grep syslog
lrwxrwxrwx   1 root root    17 Dec 25 00:02 K04rsyslog -> ../init.d/rsyslog
lrwxrwxrwx   1 root root    17 Dec 25 00:02 K04rsyslog -> ../init.d/rsyslog
lrwxrwxrwx   1 root root    17 Dec 25 00:02 S02rsyslog -> ../init.d/rsyslog
lrwxrwxrwx   1 root root    17 Dec 25 00:02 S02rsyslog -> ../init.d/rsyslog
lrwxrwxrwx   1 root root    17 Dec 25 00:02 S02rsyslog -> ../init.d/rsyslog
lrwxrwxrwx   1 root root    17 Dec 25 00:02 S02rsyslog -> ../init.d/rsyslog
lrwxrwxrwx   1 root root    17 Dec 25 00:02 K04rsyslog -> ../init.d/rsyslog
am64:/usr/lib/orphan-sysvinit-scripts# service rsyslog start
Starting enhanced syslogd: rsyslogd.




* What was the outcome of this action?
* What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Distributor ID:    Devuan
Description:    Devuan GNU/Linux 5 (daedalus/ceres)
Release:    5
Codename:    daedalus ceres
Architecture: x86_64


Kernel: Linux 5.16.0-rc6+ (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages orphan-sysvinit-scripts depends on:
ii ucf 3.0043

orphan-sysvinit-scripts recommends no packages.

orphan-sysvinit-scripts suggests no packages.

-- no debconf information