Re: [gentoo-user] Is there a way to list orphaned services?

2019-12-13 Thread Mick
On Friday, 13 December 2019 15:55:19 GMT Daniel Frey wrote: > On 2019-12-13 03:17, Mick wrote: > > I seem to also have a few dangling on an old PC here! > > > > $ find -L /etc/runlevels -type l > > /etc/runlevels/boot/tmpfiles.setup > > /etc/runlevels/boot/alsasound > >

Re: [gentoo-user] Is there a way to list orphaned services?

2019-12-13 Thread Daniel Frey
On 2019-12-13 02:44, Stefan Schmiedl wrote: Hi Daniel, if you have color on your terminal, try ls -l $(sudo find -L /etc -type l) The combination of -L (follow symbolic links) and -type l (entries must be links) produces all broken links below the given search root. Now, I could

Re: [gentoo-user] Is there a way to list orphaned services?

2019-12-13 Thread Daniel Frey
On 2019-12-13 03:17, Mick wrote: I seem to also have a few dangling on an old PC here! $ find -L /etc/runlevels -type l /etc/runlevels/boot/tmpfiles.setup /etc/runlevels/boot/alsasound /etc/runlevels/boot/swapfiles /etc/runlevels/default/modules-load /etc/runlevels/default/vixie-cron Is it a

Re: [gentoo-user] Is there a way to list orphaned services?

2019-12-13 Thread Peter Humphrey
On Friday, 13 December 2019 11:17:26 GMT Mick wrote: > On Friday, 13 December 2019 07:47:43 GMT Neil Bothwick wrote: > > On Thu, 12 Dec 2019 16:52:21 -0800, Daniel Frey wrote: > > > I've been merging/unmerging packages for testing and some have to be > > > started via a daemon, so I've had to add

Re: [gentoo-user] Is there a way to list orphaned services?

2019-12-13 Thread Mick
On Friday, 13 December 2019 07:47:43 GMT Neil Bothwick wrote: > On Thu, 12 Dec 2019 16:52:21 -0800, Daniel Frey wrote: > > I've been merging/unmerging packages for testing and some have to be > > started via a daemon, so I've had to add them to /etc/runlevels/* via > > rc-update. > > > > The

Re: [gentoo-user] Is there a way to list orphaned services?

2019-12-13 Thread Stefan Schmiedl
"Daniel Frey" , 13.12.2019, 01:52: > The problem is I was removing packages without doing `rc-update del > `, leaving them added in the runlevel with no valid > script/symlink. Hi Daniel, if you have color on your terminal, try ls -l $(sudo find -L /etc -type l) The combination of

Re: [gentoo-user] Is there a way to list orphaned services?

2019-12-12 Thread Neil Bothwick
On Thu, 12 Dec 2019 16:52:21 -0800, Daniel Frey wrote: > I've been merging/unmerging packages for testing and some have to be > started via a daemon, so I've had to add them to /etc/runlevels/* via > rc-update. > > The problem is I was removing packages without doing `rc-update del > `,

[gentoo-user] Is there a way to list orphaned services?

2019-12-12 Thread Daniel Frey
Subject kind of says it all... I was reading manpages and I don't think there's a way, so I thought I'd ask. I've been merging/unmerging packages for testing and some have to be started via a daemon, so I've had to add them to /etc/runlevels/* via rc-update. The problem is I was removing