Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 383846 Details for
Bug 521386
savecache checking wrong directory for write permissions
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
updated savecache
savecache (text/plain), 1.11 KB, created by
Joe M
on 2014-08-28 12:59:44 UTC
(
hide
)
Description:
updated savecache
Filename:
MIME Type:
Creator:
Joe M
Created:
2014-08-28 12:59:44 UTC
Size:
1.11 KB
patch
obsolete
>#!/sbin/runscript ># Copyright (c) 2007-2009 Roy Marples <roy@marples.name> ># Released under the 2-clause BSD license. > >description="Saves the caches OpenRC uses to non volatile storage" > >start() >{ > if [ -e "$RC_SVCDIR"/clock-skewed ]; then > ewarn "WARNING: clock skew detected!" > if ! yesno "${RC_GOINGDOWN}"; then > eerror "Not saving deptree cache" > return 1 > fi > fi > if ! checkpath -W "$RC_LIBEXECDIR"/cache; then > ewarn "WARNING: ${RC_LIBEXECDIR}/cache is not writable!" > if ! yesno "${RC_GOINGDOWN}"; then > ewarn "Unable to save deptree cache" > return 1 > fi > return 0 > fi > ebegin "Saving dependency cache" > local rc= > if [ ! -d "$RC_LIBEXECDIR"/cache ]; then > rm -rf "$RC_LIBEXECDIR"/cache > if ! mkdir "$RC_LIBEXECDIR"/cache; then > rc=$? > if yesno "${RC_GOINGDOWN}"; then > rc=0 > fi > eend $rc > return $rc > fi > fi > local save= > for x in deptree depconfig shutdowntime softlevel nettree rc.log; do > [ -e "$RC_SVCDIR/$x" ] && save="$save $RC_SVCDIR/$x" > done > if [ -n "$save" ]; then > cp -p $save "$RC_LIBEXECDIR"/cache 2>/dev/null > fi > rc=$? > if yesno "${RC_GOINGDOWN}"; then > rc=0 > fi > eend $rc >}
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 521386
: 383846 |
383878