Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 377818 Details for
Bug 511804
OpenRC: tmpfiles.d's parser does not recognize unix styled comments
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
This patch fixes the issue.
openrc.patch (text/plain), 942 bytes, created by
consus
on 2014-05-29 18:12:42 UTC
(
hide
)
Description:
This patch fixes the issue.
Filename:
MIME Type:
Creator:
consus
Created:
2014-05-29 18:12:42 UTC
Size:
942 bytes
patch
obsolete
>diff --git a/sh/tmpfiles.sh.in b/sh/tmpfiles.sh.in >index 6d4c614..f7a9451 100755 >--- a/sh/tmpfiles.sh.in >+++ b/sh/tmpfiles.sh.in >@@ -301,22 +301,21 @@ for FILE in $tmpfiles_d ; do > *!) [ "$BOOT" -eq "1" ] || continue; cmd=${cmd%!} ;; > esac > >- # whine about invalid entries >+ # Whine about invalid entries > case $cmd in >- f|F|w|d|D|p|L|c|b|x|X|r|R|z|Z) ;; >- \#) continue ;; >- *) warninvalid ; continue ;; >+ f|F|w|d|D|p|L|c|b|x|X|r|R|z|Z) >+ # Valid commands >+ ;; >+ \#*) >+ # UNIX-like comments >+ continue >+ ;; >+ *) >+ warninvalid >+ continue >+ ;; > esac > >- # fall back on defaults when parameters are passed as '-' >- if [ "$mode" = '-' -o "$mode" = '' ]; then >- case "$cmd" in >- p|f|F) mode=0644 ;; >- d|D) mode=0755 ;; >- z|Z|x|r|R|L) ;; >- esac >- fi >- > [ "$uid" = '-' -o "$uid" = '' ] && uid=0 > [ "$gid" = '-' -o "$gid" = '' ] && gid=0 > [ "$age" = '-' -o "$age" = '' ] && age=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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 511804
:
377818
|
377820