Mageia Bugzilla – Attachment 2857 Details for
Bug 7569
munin-node fails to start due to missing /run/munin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Proposed patch
svndiff (text/plain), 575 bytes, created by
Barry Jackson
on 2012-09-26 00:27:53 CEST
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Barry Jackson
Created:
2012-09-26 00:27:53 CEST
Size:
575 bytes
patch
obsolete
>Index: SPECS/munin.spec >=================================================================== >--- SPECS/munin.spec (revision 297799) >+++ SPECS/munin.spec (working copy) >@@ -2,7 +2,7 @@ > > Name: munin > Version: 2.0.6 >-Release: %mkrel 1 >+Release: %mkrel 2 > Summary: Network-wide graphing framework (grapher/gatherer) > License: GPLv2 > Group: Monitoring >@@ -232,6 +232,11 @@ > %pre > %_pre_useradd %{name} %{_localstatedir}/lib/%{name} /bin/false > >+%post >+if [ $1 = 1 ]; then >+ systemd-tmpfiles --create %{name}.conf >+fi >+ > %postun > %_postun_userdel %{name} >
Index: SPECS/munin.spec =================================================================== --- SPECS/munin.spec (revision 297799) +++ SPECS/munin.spec (working copy) @@ -2,7 +2,7 @@ Name: munin Version: 2.0.6 -Release: %mkrel 1 +Release: %mkrel 2 Summary: Network-wide graphing framework (grapher/gatherer) License: GPLv2 Group: Monitoring @@ -232,6 +232,11 @@ %pre %_pre_useradd %{name} %{_localstatedir}/lib/%{name} /bin/false +%post +if [ $1 = 1 ]; then + systemd-tmpfiles --create %{name}.conf +fi + %postun %_postun_userdel %{name}
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 7569
:
2857
|
2865