Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 354298 Details for
Bug 478336
sys-apps/openrc: tmpfiles.sh signals an error if device nodes already exist
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch against git
tmpfiles.sh.patch (text/plain), 855 bytes, created by
Dirk Sondermann
on 2013-07-27 09:57:19 UTC
(
hide
)
Description:
patch against git
Filename:
MIME Type:
Creator:
Dirk Sondermann
Created:
2013-07-27 09:57:19 UTC
Size:
855 bytes
patch
obsolete
>diff --git a/sh/tmpfiles.sh.in b/sh/tmpfiles.sh.in >index 22d5f1f..b59f4cb 100755 >--- a/sh/tmpfiles.sh.in >+++ b/sh/tmpfiles.sh.in >@@ -54,17 +54,19 @@ relabel() { > _b() { > # Create a block device node if it doesn't exist yet > local path=$1 mode=$2 uid=$3 gid=$4 age=$5 arg=$6 >- [ ! -e "$path" ] && \ >- dryrun_or_real mknod -m $mode $path b ${arg%:*} ${arg#*:} && \ >+ if [ ! -e "$path" ]; then >+ dryrun_or_real mknod -m $mode $path b ${arg%:*} ${arg#*:} > dryrun_or_real chown $uid:$gid $path >+ fi > } > > _c() { > # Create a character device node if it doesn't exist yet > local path=$1 mode=$2 uid=$3 gid=$4 age=$5 arg=$6 >- [ ! -e "$path" ] && \ >- dryrun_or_real mknod -m $mode $path c ${arg%:*} ${arg#*:} && \ >+ if [ ! -e "$path" ]; then >+ dryrun_or_real mknod -m $mode $path c ${arg%:*} ${arg#*:} > dryrun_or_real chown $uid:$gid $path >+ fi > } > >
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 478336
:
354296
| 354298