1 |
flameeyes 12/08/24 22:13:23 |
2 |
|
3 |
Modified: munin-2.0.5-r2.ebuild ChangeLog |
4 |
Log: |
5 |
Restore checkpath for the pidfile, but don't set owner on it (it doesn't need to have one, here); always change owners in the localstart script instead. Change the default pid_file for the node to /var/run/munin-node.pid as the node does not use anything else in that directory. |
6 |
|
7 |
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 net-analyzer/munin/munin-2.0.5-r2.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/munin/munin-2.0.5-r2.ebuild?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/munin/munin-2.0.5-r2.ebuild?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/munin/munin-2.0.5-r2.ebuild?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: munin-2.0.5-r2.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/munin/munin-2.0.5-r2.ebuild,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- munin-2.0.5-r2.ebuild 23 Aug 2012 19:20:42 -0000 1.1 |
23 |
+++ munin-2.0.5-r2.ebuild 24 Aug 2012 22:13:22 -0000 1.2 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2012 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/munin-2.0.5-r2.ebuild,v 1.1 2012/08/23 19:20:42 flameeyes Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/munin-2.0.5-r2.ebuild,v 1.2 2012/08/24 22:13:22 flameeyes Exp $ |
29 |
|
30 |
EAPI=4 |
31 |
|
32 |
@@ -168,6 +168,12 @@ |
33 |
"${D}"/etc/munin/munin-node.conf || die |
34 |
fi |
35 |
|
36 |
+ # Use a simpler pid file to avoid trouble with /run in tmpfs. The |
37 |
+ # munin-node service is ran as user root, and only later drops |
38 |
+ # privileges. |
39 |
+ sed -i -e 's:/var/run/munin/munin-node.pid:/var/run/munin-node.pid:' \ |
40 |
+ "${D}"/etc/munin/munin-node.conf || die |
41 |
+ |
42 |
keepdir /var/lib/munin-async/.ssh /var/spool/munin-async |
43 |
touch "${D}"/var/lib/munin-async/.ssh/authorized_keys |
44 |
fowners munin-async /var/lib/munin-async/.ssh/{,authorized_keys} |
45 |
|
46 |
|
47 |
|
48 |
1.97 net-analyzer/munin/ChangeLog |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/munin/ChangeLog?rev=1.97&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/munin/ChangeLog?rev=1.97&content-type=text/plain |
52 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/munin/ChangeLog?r1=1.96&r2=1.97 |
53 |
|
54 |
Index: ChangeLog |
55 |
=================================================================== |
56 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/munin/ChangeLog,v |
57 |
retrieving revision 1.96 |
58 |
retrieving revision 1.97 |
59 |
diff -u -r1.96 -r1.97 |
60 |
--- ChangeLog 23 Aug 2012 19:20:42 -0000 1.96 |
61 |
+++ ChangeLog 24 Aug 2012 22:13:22 -0000 1.97 |
62 |
@@ -1,6 +1,13 @@ |
63 |
# ChangeLog for net-analyzer/munin |
64 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
65 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/ChangeLog,v 1.96 2012/08/23 19:20:42 flameeyes Exp $ |
66 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/ChangeLog,v 1.97 2012/08/24 22:13:22 flameeyes Exp $ |
67 |
+ |
68 |
+ 24 Aug 2012; Diego E. Pettenò <flameeyes@g.o> files/localstart-munin, |
69 |
+ files/munin-node_init.d_2.0.5, munin-2.0.5-r2.ebuild: |
70 |
+ Restore checkpath for the pidfile, but don't set owner on it (it doesn't need |
71 |
+ to have one, here); always change owners in the localstart script instead. |
72 |
+ Change the default pid_file for the node to /var/run/munin-node.pid as the |
73 |
+ node does not use anything else in that directory. |
74 |
|
75 |
*munin-2.0.5-r2 (23 Aug 2012) |