Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 236271 Details for
Bug 242390
sys-fs/zfs-fuse should be running as "root:root" instead of "daemon:disk"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
working rc-script with root-privileges
zfs-fuse.rc (text/plain), 925 bytes, created by
Stefan G. Weichinger
on 2010-06-22 19:49:57 UTC
(
hide
)
Description:
working rc-script with root-privileges
Filename:
MIME Type:
Creator:
Stefan G. Weichinger
Created:
2010-06-22 19:49:57 UTC
Size:
925 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/sys-fs/zfs-fuse/files/zfs-fuse.rc,v 1.3 2010/06/05 23:46:32 ssuominen Exp $ > >depend() { > before net > need fuse >} > >PIDFILE="/var/run/zfs/zfs-fuse.pid" >EXEFILE="/usr/sbin/zfs-fuse" > >checksystem() { > return 0 # TODO >} > >start() { > ebegin "Starting ZFS-FUSE" > checksystem || return 1 > start-stop-daemon --start --exec ${EXEFILE} \ > --user root --group disk -- --pidfile ${PIDFILE} > rv=$? > eend $rv > > if [[ $rv -eq 0 ]]; then > ebegin "Mounting ZFS filesystems" > zfs mount -a > eend $? > fi >} > >stop() { > ebegin "Unmounting ZFS filesystems" > sync > sleep 1 > zfs umount -f -a > eend $? > sync > > ebegin "Stopping ZFS-FUSE" > checksystem || return 2 > start-stop-daemon --stop --pidfile ${PIDFILE} \ > --exec ${EXEFILE} --retry TERM/1/TERM/2/TERM/4/TERM/8/KILL > eend $? >}
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 242390
:
168704
| 236271