'Twas brillig, and Colin Guthrie at 25/11/12 11:44 did gyre and gimble: > 'Twas brillig, and Richard Couture at 23/11/12 20:44 did gyre and gimble: >> While teaching a class in OpenVPN today I noted that urpmi does NOT >> create the /var/run/openvpn directory which openvpn uses to write it's PID >> >> This causes openvpn sufficient grief that it refuses to start... >> >> My system uses MGA 2 with all updates applied > > This should be done with with systemd-tmpfiles these days (as mga3 is > moving to /var/run and /var/lock on tmpfs) and IIRC the openvpn package > in mga2 does this already. > > Looking more closely however, I can see a few packaging bugs: > > 1. "systemd-tmpfiles --create" is not run in the %post (before > add-service helper) (note that on cauldron the command must be: > "systemd-tmpfiles --create openvpn.conf"). This means that you'll need a > reboot before openvpn will work on mga2 after installing it. > > 2. The tmpfile.d snippet is included in /etc/tmpfiles.d. This is wrong. > It should be in /usr/lib/tmpfiles.d/ (/etc is for admin overrides)) > > With the fix in 1. or a simple reboot, it should be working fine. I'll > see about adding the fix to an update package.
Please track this issue via: https://bugs.mageia.org/show_bug.cgi?id=8200 Col -- Colin Guthrie colin(at)mageia.org http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewall.org/
