From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-November/020274.html | 115 +++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-November/020274.html (limited to 'zarb-ml/mageia-dev/2012-November/020274.html') diff --git a/zarb-ml/mageia-dev/2012-November/020274.html b/zarb-ml/mageia-dev/2012-November/020274.html new file mode 100644 index 000000000..834b8e48b --- /dev/null +++ b/zarb-ml/mageia-dev/2012-November/020274.html @@ -0,0 +1,115 @@ + + + + [Mageia-dev] OpenVPN missing PID dir + + + + + + + + + +

[Mageia-dev] OpenVPN missing PID dir

+ Colin Guthrie + mageia at colin.guthr.ie +
+ Mon Nov 26 01:18:41 CET 2012 +

+
+ +
'Twas brillig, and Olivier Blin at 25/11/12 23:31 did gyre and gimble:
+> Colin Guthrie <mageia at colin.guthr.ie> writes:
+> 
+>> 'Twas brillig, and Olivier Blin at 25/11/12 15:19 did gyre and gimble:
+>>> Colin Guthrie <mageia at colin.guthr.ie> writes:
+>>>
+>>>> 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.
+>>>
+>>> Hi,
+>>>
+>>> Shouldn't this be done through a rpm filetrigger?
+>>
+>> I don't think there is a way to specify which files triggered the file
+>> trigger is there?
+>>
+>> Basically we'd need to know the basename of the file that changed, also
+>> there are times when it has to be excluded (e.g. some files should not
+>> be run except at boot).
+> 
+> Looks like this list is available to the script from stdin, see
+> /var/lib/rpm/filetriggers/httpd.script or
+> /var/lib/rpm/filetriggers/pear.script
+
+OK good to know.
+
+Sadly the ordering is still wrong as this needs to be run after %pre but
+before any calls to %_post_service (i.e. in %post).
+
+As a result I don't think it's really possible to automate this. It
+could be added to a filetrigger for "safety" and baked into
+%_post_service but it still doesn't cover several corner cases, and I
+don't think it's really worth the bother personally.
+
+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/
+
+ + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1