<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/openrc.git/init.d/netmount.in, branch origin/tests</title>
<subtitle>[no description]</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/openrc.git/atom?h=origin%2Ftests</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/openrc.git/atom?h=origin%2Ftests'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/openrc.git/'/>
<updated>2025-11-12T19:27:33Z</updated>
<entry>
<title>do_unmount: add parallel unmounting</title>
<updated>2025-11-12T19:27:33Z</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2025-03-18T04:31:35Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/openrc.git/commit/?id=303bc524e8da4df9337a76120d4a62774ff7adaa'/>
<id>urn:sha1:303bc524e8da4df9337a76120d4a62774ff7adaa</id>
<content type='text'>
this turns mouninfo into a multicall binary which can also do
parallel unmounting. most mountinfo code is unchanged; only
notable change is find_mounts() now returns the number of mounts
found and also takes the "process" function as an argument; so
that is_mounted() can be implemented on top of it.

do_unmount mostly follows the logic of previous code. some
notable changes:

- do_unmount is now "lazy" when it comes to retrying failed
  unmounts. it will greedily keep running unmount as long as it
  can before it looks at the "waiting" queue.
- it will check if the mountpoint is still mounted or not when
  umount returns non-zero exit code. this is due to the fact that
  multiple umount calls might race to unmount a shared mount. so
  if umount fails _but_ the mountpoint is no longer mounted, we
  assume success.
- do_unmount used to fail if fuser did not find any pids using
  the mount. the new code tries one more time; the rationale being
  that there's a gap between the umount call and the fuser call,
  and so whatever was using the mount before might have stopped
  using it now and so it's worth another attempt.

Fixes: https://github.com/OpenRC/openrc/issues/662
Closes: https://github.com/OpenRC/openrc/pull/698
</content>
</entry>
<entry>
<title>init.d/*: add -wsl depend keywords</title>
<updated>2025-08-23T01:24:58Z</updated>
<author>
<name>Anna (navi) Figueiredo Gomes</name>
<email>navi@vlhl.dev</email>
</author>
<published>2025-08-22T01:22:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/openrc.git/commit/?id=8c6d0e06c270af35711df1d3a265735cab47fd80'/>
<id>urn:sha1:8c6d0e06c270af35711df1d3a265735cab47fd80</id>
<content type='text'>
by the list in !871 it mostly seemed to match docker and similar, so for
now let's add -wsl to all services that have -docker

Closes: https://github.com/OpenRC/openrc/issues/871
</content>
</entry>
<entry>
<title>Podman detection</title>
<updated>2024-07-25T12:09:10Z</updated>
<author>
<name>Kanako the Gay</name>
<email>kanako@gayest.dev</email>
</author>
<published>2024-05-22T01:04:53Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/openrc.git/commit/?id=b94dc7d8ab946d9f664768d65dc4797de2e69c0d'/>
<id>urn:sha1:b94dc7d8ab946d9f664768d65dc4797de2e69c0d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use HEAD in git URIs to point to the default branch</title>
<updated>2021-12-21T01:07:00Z</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2021-12-21T01:07:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/openrc.git/commit/?id=301161a7a4bda27c7ebd54c537dfec0cbc926365'/>
<id>urn:sha1:301161a7a4bda27c7ebd54c537dfec0cbc926365</id>
<content type='text'>
This makes the URIs shorter and dynamic: whatever the default branch
the repo uses will be used.
</content>
</entry>
<entry>
<title>make sure netmount and localmount start after root</title>
<updated>2017-02-28T23:44:06Z</updated>
<author>
<name>William Hubbs</name>
<email>w.d.hubbs@gmail.com</email>
</author>
<published>2017-02-28T23:44:06Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/openrc.git/commit/?id=4a269674b765e5267f024fa55c8644480a7304ea'/>
<id>urn:sha1:4a269674b765e5267f024fa55c8644480a7304ea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>init.d: initial service adjustments for docker support</title>
<updated>2016-07-31T18:01:17Z</updated>
<author>
<name>William Hubbs</name>
<email>w.d.hubbs@gmail.com</email>
</author>
<published>2016-07-31T18:01:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/openrc.git/commit/?id=da28a3d367b6078deda6bc205806b43b971e67a9'/>
<id>urn:sha1:da28a3d367b6078deda6bc205806b43b971e67a9</id>
<content type='text'>
Add -docker keyword to the same scripts that have -lxc keyword.
</content>
</entry>
<entry>
<title>localmount/netmount: clean up critical mount processing</title>
<updated>2016-04-26T17:43:50Z</updated>
<author>
<name>William Hubbs</name>
<email>w.d.hubbs@gmail.com</email>
</author>
<published>2016-04-26T17:43:50Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/openrc.git/commit/?id=fd80b6fc67ec6a0fe4853167fb67ee40bb51b742'/>
<id>urn:sha1:fd80b6fc67ec6a0fe4853167fb67ee40bb51b742</id>
<content type='text'>
Fix a typo and do not fail if a path in critical_mounts is not listed as
a critical mount does not get mounted.
</content>
</entry>
<entry>
<title>localmount/netmount: allow mount points to be marked critical</title>
<updated>2016-04-25T17:04:34Z</updated>
<author>
<name>William Hubbs</name>
<email>w.d.hubbs@gmail.com</email>
</author>
<published>2016-04-25T17:04:34Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/openrc.git/commit/?id=5d130cc45cd334fd38b0c6874bcc81ac74636217'/>
<id>urn:sha1:5d130cc45cd334fd38b0c6874bcc81ac74636217</id>
<content type='text'>
In previous releases, we either treated no mount points as critical or
all of them.

Now both localmount and netmount support a critical_mounts setting. If
mount points listed in this setting fail to mount, localmount and
netmount will fail.
</content>
</entry>
<entry>
<title>netmount: fix mounting on Linux</title>
<updated>2016-04-15T16:30:44Z</updated>
<author>
<name>William Hubbs</name>
<email>w.d.hubbs@gmail.com</email>
</author>
<published>2016-04-15T16:30:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/openrc.git/commit/?id=1c3c2cf6d8cb060d03919297f5fe706f6027a4c6'/>
<id>urn:sha1:1c3c2cf6d8cb060d03919297f5fe706f6027a4c6</id>
<content type='text'>
Before this commit, on Linux, we were always trying to mount file
systems marked with _netdev, even when the previous mount command
failed. Now, we do not run the second mount if the first fails.

X-Gentoo-Bug: 579876
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=579876
</content>
</entry>
<entry>
<title>fix tests</title>
<updated>2016-01-22T18:07:13Z</updated>
<author>
<name>William Hubbs</name>
<email>w.d.hubbs@gmail.com</email>
</author>
<published>2016-01-22T17:54:16Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/openrc.git/commit/?id=e277ae57efaba3be3eb619fd00084b116c370231'/>
<id>urn:sha1:e277ae57efaba3be3eb619fd00084b116c370231</id>
<content type='text'>
X-Gentoo-Bug: 572602
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=572602
</content>
</entry>
</feed>
