Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 597421 Details for
Bug 833595
ez-ipupdate missing tmpfiles.d config for PIDs
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Recreate run dir using tmpfiles.
ez-ipupdate-tmpfiles.patch (text/plain), 1.06 KB, created by
Alexander Boström
on 2012-07-10 20:32:42 UTC
(
hide
)
Description:
Recreate run dir using tmpfiles.
Filename:
MIME Type:
Creator:
Alexander Boström
Created:
2012-07-10 20:32:42 UTC
Size:
1.06 KB
patch
obsolete
>diff --git a/ez-ipupdate.spec b/ez-ipupdate.spec >index 7ae9b83..9ddb65c 100644 >--- a/ez-ipupdate.spec >+++ b/ez-ipupdate.spec >@@ -52,6 +52,7 @@ chmod a-x example*.conf > export CFLAGS="-D_FILE_OFFSET_BITS=64 $RPM_OPT_FLAGS" > %configure > make %{?_smp_mflags} >+echo >tmpfiles.conf 'd %{_localstatedir}/run/%{name} 0755 ez-ipupd ez-ipupd -' > > > %install >@@ -81,6 +82,10 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ez-ipupdate > # Create a dedicated dir for the pid file so we can run as non-root. > mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/ez-ipupdate > >+# Also recreate the directory if needed. >+mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d >+install -m 0644 tmpfiles.conf $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d/%{name}.conf >+ > > > %clean >@@ -141,6 +146,7 @@ fi > %defattr(-,ez-ipupd,ez-ipupd,-) > %dir %{_localstatedir}/cache/ez-ipupdate/ > %dir %{_localstatedir}/run/ez-ipupdate/ >+%{_prefix}/lib/tmpfiles.d/%{name}.conf > %ghost %{_localstatedir}/cache/ez-ipupdate/default-cache > %ghost %attr(0640,root,ez-ipupd) %config(noreplace,missingok) %{_sysconfdir}/ez-ipupdate/default.conf >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 833595
: 597421