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 935382 Details for
Bug 1139303
when building mockroot $PATH may not be set for %post
[?]
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 to set paths
util-linux.patch (text/plain), 1.15 KB, created by
Pat Riehecky
on 2014-09-08 15:19:31 UTC
(
hide
)
Description:
patch to set paths
Filename:
MIME Type:
Creator:
Pat Riehecky
Created:
2014-09-08 15:19:31 UTC
Size:
1.15 KB
patch
obsolete
>--- util-linux.spec.orig 2014-09-08 10:12:31.206760725 -0500 >+++ util-linux.spec 2014-09-08 10:15:52.044555869 -0500 >@@ -396,10 +396,10 @@ find $RPM_BUILD_ROOT%{_mandir}/man8 -re > > %post > # only for minimal buildroots without /var/log >-[ -d /var/log ] || mkdir -p /var/log >-touch /var/log/lastlog >-chown root:root /var/log/lastlog >-chmod 0644 /var/log/lastlog >+[ -d /var/log ] || %{__mkdir_p} /var/log >+%{_bindir}/touch /var/log/lastlog >+%{__chown} root:root /var/log/lastlog >+%{__chmod} 0644 /var/log/lastlog > # Fix the file context, do not use restorecon > if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then > SECXT=$( /usr/sbin/matchpathcon -n /var/log/lastlog 2> /dev/null ) >@@ -437,9 +437,9 @@ done > %postun -n libmount -p /sbin/ldconfig > > %pre -n uuidd >-getent group uuidd >/dev/null || groupadd -r uuidd >-getent passwd uuidd >/dev/null || \ >-useradd -r -g uuidd -d /var/lib/libuuid -s /sbin/nologin \ >+%{_bindir}/getent group uuidd >/dev/null || %{_sbindir}/groupadd -r uuidd >+%{_bindir}/getent passwd uuidd >/dev/null || \ >+%{_sbindir}/useradd -r -g uuidd -d /var/lib/libuuid -s /sbin/nologin \ > -c "UUID generator helper daemon" uuidd > exit 0 >
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 Raw
Actions:
View
Attachments on
bug 1139303
: 935382