Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#826040: pppconfig: Failed to start Clean up any mess left by 0dns-up

915 views
Skip to first unread message

Singer Michael

unread,
Jun 1, 2016, 3:10:03 PM6/1/16
to
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 <none>

-- no debconf information

Santiago Vila

unread,
Jun 4, 2016, 10:20:03 AM6/4/16
to
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.

Singer Michael

unread,
Jun 4, 2016, 3:00:03 PM6/4/16
to
Hi,

Yes your proposed solution works. It will not occur more errors in the
Journal. Thanks for the tip!

Regards
Michael
0 new messages