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