Bug#826040: pppconfig: Failed to start Clean up any mess left by 0dns-up
Package: pppconfig Version: 2.3.22 Severity: important Dear Maintainer, in the Journal occurs following error message of the dns-clean.service each time the PC. # systemctl status dns-clean.service ● dns-clean.service - Clean up any mess left by 0dns-up Loaded: loaded (/lib/systemd/system/dns-clean.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mi 2016-06-01 20:49:51 CEST; 4min 57s ago Process: 1436 ExecStartPre=/bin/mkdir /var/run/pppconfig (code=exited, status=1/FAILURE) Main PID: 5533 (code=exited, status=0/SUCCESS) Jun 01 20:49:51 snowcat systemd[1]: Starting Clean up any mess left by 0dns-up... Jun 01 20:49:51 snowcat mkdir[1436]: /bin/mkdir: das Verzeichnis „/var/run/pppconfig“ kann nicht angelegt werden: Die Datei existiert bereits Jun 01 20:49:51 snowcat systemd[1]: dns-clean.service: Control process exited, code=exited status=1 Jun 01 20:49:51 snowcat systemd[1]: Failed to start Clean up any mess left by 0dns-up. Jun 01 20:49:51 snowcat systemd[1]: dns-clean.service: Unit entered failed state. Jun 01 20:49:51 snowcat systemd[1]: dns-clean.service: Failed with result 'exit-code'. The service file dns-clean.service from the /lib/systemd/system has the following contents. [Unit] Description=Clean up any mess left by 0dns-up DefaultDependencies=false Before=network-manager.service systemd-networkd.service networking.service resolvconf.service After=local-fs.target Requires=local-fs.target ConditionPathExists=/etc/ppp/ip-down.d/0dns-down [Service] Type=oneshot ExecStartPre=/bin/mkdir /var/run/pppconfig ExecStart=/etc/ppp/ip-down.d/0dns-down "0dns-clean" [Install] WantedBy=multi-user.target The line with the statement "ExecStartPre" causes my opinion the error because the directory /var/run/pppconfig will probably never expire and is always present when booting the system. The error is reproducible at any time. If I can still information is needed on my system to provide this. Regards Michael Singer -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.5.5-towo.1-siduction-amd64 (SMP w/8 CPU cores; PREEMPT) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages pppconfig depends on: ii dialog 1.3-20160424-1 ii init-system-helpers 1.34 ii ppp 2.4.7-1+2 ii whiptail 0.52.18-3 pppconfig recommends no packages. Versions of packages pppconfig suggests: pn resolvconf -- no debconf information
Bug#826040: pppconfig: Failed to start Clean up any mess left by 0dns-up
Am Samstag, 4. Juni 2016, 16:09:51 schrieb Santiago Vila: > On Wed, 1 Jun 2016, Singer Michael wrote: > > The service file dns-clean.service from the /lib/systemd/system has the > > following contents. > > > > [Unit] > > Description=Clean up any mess left by 0dns-up > > DefaultDependencies=false > > Before=network-manager.service systemd-networkd.service networking.service > > resolvconf.service After=local-fs.target > > Requires=local-fs.target > > ConditionPathExists=/etc/ppp/ip-down.d/0dns-down > > [Service] > > Type=oneshot > > ExecStartPre=/bin/mkdir /var/run/pppconfig > > Could any of you try this instead and tell us if the problem goes away? > > ExecStartPre=/bin/mkdir -p /var/run/pppconfig > > (I don't maintain pppconfig, I just made the last QA upload, > but this error seems definitely easy to fix). > > Thanks. Hi, Yes your proposed solution works. It will not occur more errors in the Journal. Thanks for the tip! Regards Michael