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 301766 Details for
Bug 441054
udev sets symlink context on symlink target
[?]
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]
possible patch
udev-095-slink.patch (text/plain), 988 bytes, created by
Harald Hoyer
on 2008-04-09 09:36:33 UTC
(
hide
)
Description:
possible patch
Filename:
MIME Type:
Creator:
Harald Hoyer
Created:
2008-04-09 09:36:33 UTC
Size:
988 bytes
patch
obsolete
>diff -up udev-095/udev_node.c.slink udev-095/udev_node.c >--- udev-095/udev_node.c.slink 2008-04-09 11:02:12.000000000 +0200 >+++ udev-095/udev_node.c 2008-04-09 11:02:17.000000000 +0200 >@@ -103,7 +103,7 @@ static int udev_node_symlink(struct udev > target[len] = '\0'; > if (strcmp(linktarget, target) == 0) { > info("preserving symlink '%s' to '%s'", filename, linktarget); >- selinux_setfilecon(filename, NULL, S_IFLNK); >+ /*selinux_setfilecon(filename, NULL, S_IFLNK);*/ > goto exit; > } else { > info("link '%s' points to different target '%s', delete it", filename, target); >@@ -113,7 +113,7 @@ static int udev_node_symlink(struct udev > > /* create link */ > info("creating symlink '%s' to '%s'", filename, linktarget); >- selinux_setfscreatecon(filename, NULL, S_IFLNK); >+ selinux_setfscreatecon(linktarget, NULL, S_IFLNK); > if (symlink(linktarget, filename) != 0) { > if (errno != EEXIST) > err("symlink(%s, %s) failed: %s", linktarget, filename, strerror(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 441054
:
301376
|
301574
|
301766
|
301767
|
301781