Package: logrotate
Version: 3.14.0-4
Severity: important

Dear Maintainer,

logrotate fails to start if openvswitch-switch is installed, because
it tries to connect to openvswitch, which is started after networking:

# systemctl status logrotate.service
● logrotate.service - Rotate log files
   Loaded: loaded (/lib/systemd/system/logrotate.service; static;
vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2019-01-10 11:54:26
CET; 17min ago
     Docs: man:logrotate(8)
           man:logrotate.conf(5)
  Process: 192 ExecStart=/usr/sbin/logrotate /etc/logrotate.conf
(code=exited, status=1/FAILURE)
 Main PID: 192 (code=exited, status=1/FAILURE)

Jan 10 11:54:25 debian64 logrotate[192]:
2019-01-10T10:54:25Z|00001|unixctl|WARN|failed to connect to
/var/run/openvswitch/ovsdb-server.202.ctl
Jan 10 11:54:25 debian64 ovs-appctl[205]:
ovs|00001|unixctl|WARN|failed to connect to
/var/run/openvswitch/ovsdb-server.202.ctl
Jan 10 11:54:25 debian64 logrotate[192]: ovs-appctl: cannot connect to
"/var/run/openvswitch/ovsdb-server.202.ctl" (No such file or
directory)
Jan 10 11:54:25 debian64 logrotate[192]: error: error running
non-shared postrotate script for /var/log/openvswitch/ovsdb-server.log
of '/var/log/openvswitch/*.log '
Jan 10 11:54:25 debian64 logrotate[192]:
2019-01-10T10:54:25Z|00001|unixctl|WARN|failed to connect to
/var/run/openvswitch/ovsdb-server.202.ctl
Jan 10 11:54:25 debian64 logrotate[192]: ovs-appctl: cannot connect to
"/var/run/openvswitch/ovsdb-server.202.ctl" (No such file or
directory)
Jan 10 11:54:25 debian64 logrotate[192]: error: error running
non-shared postrotate script for /var/log/openvswitch/ovs-vswitchd.log
of '/var/log/openvswitch/*.log '
Jan 10 11:54:26 debian64 systemd[1]: logrotate.service: Main process
exited, code=exited, status=1/FAILURE
Jan 10 11:54:26 debian64 systemd[1]: logrotate.service: Failed with
result 'exit-code'.
Jan 10 11:54:26 debian64 systemd[1]: Failed to start Rotate log files.

-- Package-specific info:
Contents of /etc/logrotate.d
total 40
-rw-r--r-- 1 root root 120 Nov  2  2017 alternatives
-rw-r--r-- 1 root root 173 Apr 13  2015 apt
-rw-r--r-- 1 root root  79 Nov  8  2014 aptitude
-rw-r--r-- 1 root root 130 Aug 29 00:21 btmp
-rw-r--r-- 1 root root 112 Nov  2  2017 dpkg
-rw-r--r-- 1 root root 135 May  5  2018 iptraf-ng
-rw-r--r-- 1 root root 396 Jan 29  2018 openvswitch-switch
-rw-r--r-- 1 root root  94 Jun  9  2018 ppp
-rw-r--r-- 1 root root 501 Jan 14  2018 rsyslog
-rw-r--r-- 1 root root 145 Feb 19  2018 wtmp


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages logrotate depends on:
ii  cron [cron-daemon]  3.0pl1-130
ii  libacl1             2.2.52-3+b1
ii  libc6               2.28-2
ii  libpopt0            1.16-11
ii  libselinux1         2.8-1+b1
ii  systemd-sysv        240-2

Versions of packages logrotate recommends:
pn  bsd-mailx | mailx  <none>

logrotate suggests no packages.

-- no debconf information

Reply via email to