On 2021-08-31 02:30:00 +0200, Vincent Lefevre wrote:
> On 2021-08-30 20:59:21 +0200, Michael Biebl wrote:
> > Am 30.08.21 um 18:31 schrieb Vincent Lefevre:
> > > $ ls -l /lib/systemd/system/portmap.service
> > > lrwxrwxrwx 1 root root 15 2021-08-17 17:31:36 
> > > /lib/systemd/system/portmap.service -> rpcbind.service
> > > $ ls -L /lib/systemd/system/portmap.service
> > > ls: cannot access '/lib/systemd/system/portmap.service': No such file or 
> > > directory
> > > 
> > > This breaks checkrestart:
> > 
> > This sounds like a bug in checkrestart, fwiw. Does it really have the path
> > /lib/systemd/system/portmap.service hard-coded?
> 
> No, it seems to read all .service files under /lib/systemd/system,
> and failures seem to make the program abort. Perhaps it should
> detect dangling symlinks (though I suppose that they are unexpected).

I also note that /lib/systemd/system/portmap.service is not the only
issue. One has:

/etc/systemd/system/multi-user.target.wants/rpcbind.service -> 
/lib/systemd/system/rpcbind.service

though /lib/systemd/system/rpcbind.service doesn't exist.

rpcbind.service is only available as:
/usr/lib/systemd/system/rpcbind.service

-- 
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)

Reply via email to