On 2023-03-10 09:58:55 -0500, Greg Wooledge wrote: > On Fri, Mar 10, 2023 at 04:55:03PM +0200, Anssi Saari wrote: > > Nicolas George <geo...@nsup.org> writes: > > > > > Anssi Saari (12023-03-09): > > >> Perhaps a note, since today in Debian by default it's systemd which runs > > >> /etc/rc.local. There's no guarantee it's done last like there was in SysV > > >> init since systemd runs stuff in parallel. Network availability also > > >> isn't guaranteed. See man systemd-rc-local-generator. > > > > > > Maybe check facts before posting: > > > > > > # /lib/systemd/system/rc-local.service > > > … > > > After=network.target > > > > > > # /usr/lib/systemd/system/rc-local.service.d/debian.conf > > > [Unit] > > > # not specified by LSB, but has been behaving that way in Debian under > > > SysV > > > # init and upstart > > > After=network-online.target > > > > True, I only checked the man page which doesn't mention > > network-online.target, only network.target. > > The man pages are most likely from upstream, and don't include the > changes provided by Debian (in debian.conf).
It would be useful to have the man page patched (as sometimes done), otherwise the user could be surprised. Moreover, the above path /usr/lib/systemd/system/rc-local.service.d/debian.conf is incorrect. This should be /lib/systemd/system/rc-local.service.d/debian.conf cventin:~> apt-file search rc-local.service.d systemd: /lib/systemd/system/rc-local.service.d/debian.conf -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)