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#46224 - [xl2tpd] 1.3.6-1 tmpfiles configuration file contains wrong path

Attached to Project: Community Packages
Opened by shmilee (limser) - Tuesday, 08 September 2015, 04:56 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 12 September 2015, 02:57 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

$ cat /usr/lib/tmpfiles.d/xl2tpd.conf
d /var/run/xl2tpd 0755 root root -

Additional info:

$xl2tpd -v
xl2tpd version: xl2tpd-1.3.6

$ systemctl start xl2tpd
$ systemctl status xl2tpd
xl2tpd[16127]: open_controlfd: Unable to open /var/run/xl2tpd/l2tp-control for reading.

In my directory /usr/lib/tmpfiles.d/, xl2tpd.conf is the only file contains /var/run/ instead of /run/

Steps to reproduce:

Install a fresh xl2tpd.

Solution:
Edit /usr/lib/tmpfiles.d/xl2tpd.conf.

$ cat /usr/lib/tmpfiles.d/xl2tpd.conf
d /run/xl2tpd 0755 root root -
This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 12 September 2015, 02:57 GMT
Reason for closing:  No response
Comment by Doug Newgard (Scimmia) - Tuesday, 08 September 2015, 05:01 GMT
This doesn't make sense. /var/run is a symlink to ../run.
Comment by shmilee (limser) - Tuesday, 08 September 2015, 05:26 GMT
Yes, that line is in file /usr/lib/tmpfiles.d/var.conf.
But, I have no /run/xl2tpd after I boot to system.
So I edit /usr/lib/tmpfiles.d/xl2tpd.conf, then reboot, everything is ok.

Maybe, systemd-tmpfiles runs CONFIGURATION FILE in lexicographic order. But systemd-tmpfiles doesn't know which line should be run first.

Comment by Doug Newgard (Scimmia) - Tuesday, 08 September 2015, 05:40 GMT
You don't understand. Creating /var/run/xl2tpd should be the same as creating /run/xl2tpd because they are the same thing. Is /var/run not a symlink on your system?
Comment by shmilee (limser) - Tuesday, 08 September 2015, 06:32 GMT
Yes it is. I understand the symlink thing.
What I am confused is about systemd-tmpfiles.
Comment by Doug Newgard (Scimmia) - Tuesday, 08 September 2015, 07:33 GMT
It's being created here just fine, it's accessible as either /var/run/xl2tpd or /run/xl2tpd
Comment by Doug Newgard (Scimmia) - Wednesday, 09 September 2015, 05:40 GMT
Ping? Did you figure out why this doesn't work on your system?

Loading...