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 690424 Details for
Bug 881577
SELinux is preventing /usr/lib/systemd/systemd-timedated from 'create' accesses on the file .adjtime72IeZW.
[?]
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]
Patch to use SELinux labeling when ever systemd apps call:
util_label.patch (text/plain), 1.23 KB, created by
Daniel Walsh
on 2013-01-30 15:28:38 UTC
(
hide
)
Description:
Patch to use SELinux labeling when ever systemd apps call:
Filename:
MIME Type:
Creator:
Daniel Walsh
Created:
2013-01-30 15:28:38 UTC
Size:
1.23 KB
patch
obsolete
>diff --git a/src/shared/util.c b/src/shared/util.c >index 969ef2b..38497b0 100644 >--- a/src/shared/util.c >+++ b/src/shared/util.c >@@ -522,11 +522,16 @@ int get_starttime_of_pid(pid_t pid, unsigned long long *st) { > > int write_one_line_file(const char *fn, const char *line) { > _cleanup_fclose_ FILE *f = NULL; >+ int r; > > assert(fn); > assert(line); > >+ r = label_context_set(fn, S_IFREG); >+ if (r < 0) >+ return r; > f = fopen(fn, "we"); >+ label_context_clear(); > if (!f) > return -errno; > >@@ -4138,6 +4143,7 @@ int fopen_temporary(const char *path, FILE **_f, char **_temp_path) { > const char *fn; > size_t k; > int fd; >+ int r; > > assert(path); > assert(_f); >@@ -4153,7 +4159,13 @@ int fopen_temporary(const char *path, FILE **_f, char **_temp_path) { > t[k] = '.'; > stpcpy(stpcpy(t+k+1, fn), "XXXXXX"); > >+ r = label_context_set(path, S_IFREG); >+ if (r < 0) { >+ free (t); >+ return r; >+ } > fd = mkostemp(t, O_WRONLY|O_CLOEXEC); >+ label_context_clear(); > if (fd < 0) { > free(t); > return -errno;
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 881577
:
654005
|
654006
|
690079
| 690424