Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #937864 > unrolled thread
| Started by | Roger Lynn <roger@rilynn.me.uk> |
|---|---|
| First post | 2019-01-09 16:40 +0100 |
| Last post | 2019-01-09 16:40 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.debian.bugs.dist
Bug#918824: distributed-net: logorate scipt attempts to call unimplemented "reload" target in /etc/init.d/distributed-net Roger Lynn <roger@rilynn.me.uk> - 2019-01-09 16:40 +0100
| From | Roger Lynn <roger@rilynn.me.uk> |
|---|---|
| Date | 2019-01-09 16:40 +0100 |
| Subject | Bug#918824: distributed-net: logorate scipt attempts to call unimplemented "reload" target in /etc/init.d/distributed-net |
| Message-ID | <xeo7x-3VN-35@gated-at.bofh.it> |
Package: distributed-net
Version: 2.9112.521-1
Severity: normal
Hi,
Every week, distributed-net causes the following email to be sent:
/etc/cron.daily/logrotate:
/etc/init.d/distributed-net: 165: /etc/init.d/distributed-net: 3: Bad file descriptor
invoke-rc.d: initscript distributed-net, action "reload" failed.
error: error running non-shared postrotate script for /var/log/distributed-net.log of '/var/log/distributed-net.log '
run-parts: /etc/cron.daily/logrotate exited with return code 1
There are a couple of reasons for this.
The first is that /etc/logrotate.d/distributed-net contains the line
"invoke-rc.d distributed-net reload >/dev/null", but "reload" is not
implemented in /etc/init.d/distributed-net, despite that script's usage
message claiming that it is.
The other reason is that when called with an unrecognised parameter,
/etc/logrotate.d/distributed-net attempts to run line 165:
"echo "Usage: $SCRIPTNAME {start|stop|status|restart|reload|force-reload|fetch|flush|update}" >&3",
but file descriptor 3 does not exist. I presume that it's trying to redirect
to stderr and that the >&3 should be >&2. Also the string claims that "reload"
is a valid parameter, which it isn't.
Thanks,
Roger
-- System Information:
Debian Release: 9.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages distributed-net depends on:
ii bind9-host [host] 1:9.10.3.dfsg.P4-12.3+deb9u4
ii debconf [debconf-2.0] 1.5.61
ii libc6 2.24-11+deb9u3
Versions of packages distributed-net recommends:
ii logrotate 3.11.0-0.1
Versions of packages distributed-net suggests:
ii acpid 1:2.0.28-1+b1
pn apmd <none>
-- debconf information:
* distributed-net/fullconfig: false
Back to top | Article view | linux.debian.bugs.dist
csiph-web