[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question about rc.local



On 2023-03-11 10:22:15 +0900, John Crawley wrote:
> On 11/03/2023 00:29, Vincent Lefevre wrote:
> > 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
> 
> On recent Debian systems (certainly from Bookworm) /lib is a symlink to /usr/lib so the canonical path is /usr/lib/systemd/system/rc-local.service.d/debian.conf
> https://wiki.debian.org/UsrMerge

The canonical path is the one stored in the package, and this is
"/lib/systemd/system/rc-local.service.d/debian.conf".

Anyway, the initial mail message was also giving
"/lib/systemd/system/rc-local.service" (without /usr).
For consistency, it is best to consider only /lib or only /usr/lib.
There is no reason to mix both (even if only in comments).

-- 
Vincent Lefèvre <vincent@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)


Reply to: