Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#33801 - [openresolv] dnsmasq.pid: No such file or directory

Attached to Project: Community Packages
Opened by ilya (leniviy) - Sunday, 10 February 2013, 14:11 GMT
Last edited by Jan Alexander Steffens (heftig) - Monday, 11 February 2013, 00:26 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When I start vpnc from terminal, it prints this:
# vpnc
cat: /var/run/dnsmasq/dnsmasq.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
VPNC started in background (pid: 522)...

I didn't change anything related to dnsmasq.pid in the scripts or config files.

Additional info:
* package version(s)
vpnc 0.5.3.svn516-3
dnsmasq 2.65-1
openresolv 3.5.4-1
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Monday, 11 February 2013, 00:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  Custom patch added, 3.5.4-2
Comment by ilya (leniviy) - Sunday, 10 February 2013, 14:29 GMT
/usr/lib/systemd/system/dnsmasq.service:
ExecStart=/usr/bin/dnsmasq -k --enable-dbus --user=dnsmasq --pid-file

There's no pid filename. Is it intentional?

Then either add the pidfile or change /usr/lib/resolvconf/dnsmasq
to call /usr/bin/systemctl reload dnsmasq.service
instead of kill
Comment by Dave Reisner (falconindy) - Sunday, 10 February 2013, 16:08 GMT
There's no need for a pid file for dnsmasq and other programs should never rely on the pid file for another program.

Why is vpnc even looking for this?
Comment by ilya (leniviy) - Sunday, 10 February 2013, 16:37 GMT
After vpnc connects, it launches /usr/sbin/resolvconf to update the /etc/resolv.conf
Then resolvconf launches the handlers in /usr/lib/resolvconf/
/usr/lib/resolvconf/dnsmasq wants to notify dnsmasq that it should re-read its config files.

Loading...