Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359063 - sys-apps/openrc-0.6.8 uses umount options unsupported by busybox in netmount
Summary: sys-apps/openrc-0.6.8 uses umount options unsupported by busybox in netmount
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-15 17:56 UTC by Ed Wildgoose
Modified: 2014-11-02 02:31 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 Ed Wildgoose 2011-03-15 17:56:24 UTC
At least sys-apps/openrc-0.6.8 uses "umount -O" in the /etc/init.d/netmount:stop() script

       if [ "$RC_UNAME" = Linux ]; then
               umount -a -O _netdev
               retval=$?                   
       fi

Busybox doesn't support the -O option, which mildly breaks shutdown on busybox based systems

I dare say this won't get looked at with any high priority, but busybox makes for a very nice small system...

I haven't got a patch, partly because I'm not quite sure what this is supposed to do?  I have a system with various cifs/sshfs filesystems mounted and none seem to be of type "_netdev", so I'm not quite sure what this is hitting?

Any suggestions?
Comment 1 SpanKY gentoo-dev 2011-03-15 19:26:58 UTC
busybox should implement this
Comment 2 Roy Marples 2014-09-11 15:55:19 UTC
My busybox umount has -O .... can this be closed now?
Comment 3 René Rhéaume 2014-11-02 02:31:10 UTC
(In reply to Roy Marples from comment #2)
> My busybox umount has -O .... can this be closed now?

Where did you see that? There is currently no -O option ofr umount in current busybox master

http://git.busybox.net/busybox/tree/util-linux/umount.c