Mageia Bugzilla – Attachment 2865 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), 583 bytes, created by
Barry Jackson
on 2012-09-26 20:46:16 CEST
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Barry Jackson
Created:
2012-09-26 20:46:16 CEST
Size:
583 bytes
patch
obsolete
>Index: SPECS/munin.spec >=================================================================== >--- SPECS/munin.spec (revision 297799) >+++ SPECS/munin.spec (working copy) >@@ -232,16 +232,19 @@ > %pre > %_pre_useradd %{name} %{_localstatedir}/lib/%{name} /bin/false > >+%post >+if [ $1 = 1 ]; then >+ systemd-tmpfiles --create %{name}.conf >+fi >+ > %postun > %_postun_userdel %{name} > >-%pre node >-%_pre_useradd %{name} %{_localstatedir}/lib/%{name} /bin/false >- > %post node > if [ $1 = 1 ]; then > /usr/sbin/munin-node-configure --shell | sh > fi >+ > %_post_service munin-node > > %preun node
Index: SPECS/munin.spec =================================================================== --- SPECS/munin.spec (revision 297799) +++ SPECS/munin.spec (working copy) @@ -232,16 +232,19 @@ %pre %_pre_useradd %{name} %{_localstatedir}/lib/%{name} /bin/false +%post +if [ $1 = 1 ]; then + systemd-tmpfiles --create %{name}.conf +fi + %postun %_postun_userdel %{name} -%pre node -%_pre_useradd %{name} %{_localstatedir}/lib/%{name} /bin/false - %post node if [ $1 = 1 ]; then /usr/sbin/munin-node-configure --shell | sh fi + %_post_service munin-node %preun node
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 7569
:
2857
| 2865