Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414479 - zvol init script calls unrecognized command on Gentoo/FreeBSD 9
Summary: zvol init script calls unrecognized command on Gentoo/FreeBSD 9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal trivial (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-03 13:10 UTC by Richard Yao (RETIRED)
Modified: 2012-05-12 07:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Yao (RETIRED) gentoo-dev 2012-05-03 13:10:12 UTC
The following is an excerpt of OpenRC output on Gentoo/FreeBSD 9 ~amd64:

 * Starting zfs volumes...
unrecognized command 'volinit'
usage: zfs command args ...
where 'command' is one of the following:

        create [-p] [-o property=value] ... <filesystem>
        create [-ps] [-b blocksize] [-o property=value] ... -V <size> <volume>
        destroy [-rRf] <filesystem|volume>
        destroy [-rRd] <snapshot>

        snapshot [-r] [-o property=value] ... <filesystem@snapname|volume@snapname>
        rollback [-rRf] <snapshot>
        clone [-p] [-o property=value] ... <snapshot> <filesystem|volume>
        promote <clone-filesystem>
        rename <filesystem|volume|snapshot> <filesystem|volume|snapshot>
        rename -p <filesystem|volume> <filesystem|volume>
        rename -r <snapshot> <snapshot>
        list [-rH][-d max] [-o property[,...]] [-t type[,...]] [-s property] ...
            [-S property] ... [filesystem|volume|snapshot] ...

        set <property=value> <filesystem|volume|snapshot> ...
        get [-rHp] [-d max] [-o "all" | field[,...]] [-s source[,...]]
            <"all" | property[,...]> [filesystem|volume|snapshot] ...
        inherit [-rS] <property> <filesystem|volume|snapshot> ...
        upgrade [-v]
        upgrade [-r] [-V version] <-a | filesystem ...>
        userspace [-hniHp] [-o field[,...]] [-sS field] ... [-t type[,...]]
            <filesystem|snapshot>
        groupspace [-hniHpU] [-o field[,...]] [-sS field] ... [-t type[,...]]
            <filesystem|snapshot>

        mount
        mount [-vO] [-o opts] <-a | filesystem>
        unmount [-f] <-a | filesystem|mountpoint>
        share <-a | filesystem>
        unshare <-a | filesystem|mountpoint>

        send [-RDp] [-[iI] snapshot] <snapshot>
        receive [-vnFu] <filesystem|volume|snapshot>
        receive [-vnFu] [-d | -e] <filesystem>

        allow <filesystem|volume>
        allow [-ldug] <"everyone"|user|group>[,...] <perm|@setname>[,...]
            <filesystem|volume>
        allow [-ld] -e <perm|@setname>[,...] <filesystem|volume>
        allow -c <perm|@setname>[,...] <filesystem|volume>
        allow -s @setname <perm|@setname>[,...] <filesystem|volume>

        unallow [-rldug] <"everyone"|user|group>[,...]
            [<perm|@setname>[,...]] <filesystem|volume>
        unallow [-rld] -e [<perm|@setname>[,...]] <filesystem|volume>
        unallow [-r] -c [<perm|@setname>[,...]] <filesystem|volume>
        unallow [-r] -s @setname [<perm|@setname>[,...]] <filesystem|volume>

        hold [-r] <tag> <snapshot> ...
        holds [-r] <snapshot> ...
        release [-r] <tag> <snapshot> ...
        diff [-FHt] <snapshot> [snapshot|filesystem]

        jail <jailid> <filesystem>
        unjail <jailid> <filesystem>

Each dataset is of the form: pool/[dataset/]*dataset[@name]

For the property list, run: zfs set|get

For the delegated permission list, run: zfs allow|unallow
 [ !! ]
 * Enabling swap on zvol rpool/SWAP001
 [ ok ]
Comment 1 Yuta SATOH 2012-05-08 11:57:55 UTC
FYI, these were removed from /etc/rc.d/zvol of FreeBSD 9.0/8.3 .

http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/zvol.diff?r1=1.2;r2=1.3
Comment 2 Naohiro Aota gentoo-dev 2012-05-12 07:58:05 UTC
Fixed the ebuild to use new init script which removed the "zfs volinit" and "zfs volfini" lines. Thanks.