main/openrc: make netmount init.d work with Busybox umount
Busybox's umount does not support the "-O" option so only run "umount -a -O _netdev" if util-linux's umount is installed, otherwise loop through /proc/self/mountinfo instead and for each entry that contains "_netdev" in its option list then use Busybox's umount on it.
Fixes #9923 (closed) and #13789 (closed).
Merge request reports
Activity
assigned to @ncopa
http://lists.busybox.net/pipermail/busybox/2022-June/089769.html
I haven't tested this with the
netmount
services specifically, so feel free to provide feedback in this regard.See also: !35484 (merged)
mentioned in merge request !35484 (merged)
added status:mr-stale label
Sorry to bother you @dbradley,
but we've detected that this merge request hasn't seen any recent activity. If you need help or want to discuss your approach with developers you can ping
@ncopa
. You can also ask on IRC on#alpine-devel
on irc.oftc.net. If no further activity occurs in this MR, Alpine developers may close it in the future.Thanks for your contribution.
closing this in favor of !35484 (merged)