Re: [gentoo-user] ro /

2017-01-18 Thread Neil Bothwick
On Tue, 17 Jan 2017 22:49:37 +, Neil Bothwick wrote: > > Diagnostics: > > The currently running kernel version is not the expected kernel > > version 4.5.2-1.img. > > > > Restarting the system to load the new kernel will not be handled > > automatically, so you should consider rebooting.

Re: [gentoo-user] ro /

2017-01-18 Thread Tuomo Hartikainen
On 2017-01-12 11:39, Neil Bothwick wrote: > On Thu, 12 Jan 2017 05:35:09 -0600, Dale wrote: > > > When I do a upgrade and need to know what processes or services need to > > be restarted, I use this command that someone posted about on here a > > long time ago. > > > > > > root@fireball / #

Re: [gentoo-user] ro /

2017-01-18 Thread Neil Bothwick
On Tue, 17 Jan 2017 01:57:11 -0800, Jorge Almeida wrote: > > restart them automatically if you like to live dangerously ;-) > > > Underdocumented python scripts running as root and messing with > services? What could possibly go wrong? ;-) There is a genuine case for doing that. If you have

Re: [gentoo-user] ro /

2017-01-17 Thread Dale
Neil Bothwick wrote: > On Tue, 17 Jan 2017 10:02:45 -0600, Dale wrote: > >> I get something about my kernel here. This is what mine says: >> >> Running kernel version: >> 4.5.2-gentoo >> >> Diagnostics: >> The currently running kernel version is not the expected kernel >> version 4.5.2-1.img.

Re: [gentoo-user] ro /

2017-01-17 Thread Neil Bothwick
On Tue, 17 Jan 2017 07:27:40 -0800, Jorge Almeida wrote: > $ needrestart -r l > Scanning processes... > Scanning linux images... > Failed to retrieve available kernel versions. > No services need to be restarted. > No containers need to be restarted. > No user sessions are running outdated

Re: [gentoo-user] ro /

2017-01-17 Thread Neil Bothwick
On Tue, 17 Jan 2017 10:02:45 -0600, Dale wrote: > I get something about my kernel here. This is what mine says: > > Running kernel version: > 4.5.2-gentoo > > Diagnostics: > The currently running kernel version is not the expected kernel > version 4.5.2-1.img. > > Restarting the system to

Re: [gentoo-user] ro /

2017-01-17 Thread Jorge Almeida
On Tue, Jan 17, 2017 at 8:02 AM, Dale wrote: > Jorge Almeida wrote: >> Failed to retrieve available kernel versions. >> >> I use a custom kernel, off-portage. What would the output line about >> kernel mean? >> >> >> > > > I get something about my kernel here. This is

Re: [gentoo-user] ro /

2017-01-17 Thread Dale
Jorge Almeida wrote: > On Tue, Jan 17, 2017 at 7:01 AM, Neil Bothwick wrote: > >> Run it with '-r l' and you will find out, harmlessly. >> >> > OK, done that. I can't really check it until next time an update makes > remounting ro to fail. For now, > > $ needrestart -r l >

Re: [gentoo-user] ro /

2017-01-17 Thread Jorge Almeida
On Tue, Jan 17, 2017 at 7:01 AM, Neil Bothwick wrote: > > Run it with '-r l' and you will find out, harmlessly. > > OK, done that. I can't really check it until next time an update makes remounting ro to fail. For now, $ needrestart -r l Scanning processes... Scanning linux

Re: [gentoo-user] ro /

2017-01-17 Thread Neil Bothwick
On Tue, 17 Jan 2017 05:13:39 -0800, Jorge Almeida wrote: > OOPS, my bad. I was really thinking of checkrestart. But I just > downloaded the source for version 2.10. The documentation I found is a > man page with a one-line description. The rest of the man page is a > USAGE section, which is a man

Re: [gentoo-user] ro /

2017-01-17 Thread Dale
Neil Bothwick wrote: > On Mon, 16 Jan 2017 20:43:05 -0600, Dale wrote: > operation and output a list for you. The needrestart script can also try to automatically restart them for you. >>> I wouldn't want that. >> To be more clear, it ASKS if you want to restart them. If you don't, >>

Re: [gentoo-user] ro /

2017-01-17 Thread Jorge Almeida
On Tue, Jan 17, 2017 at 4:05 AM, Neil Bothwick wrote: > On Tue, 17 Jan 2017 01:57:11 -0800, Jorge Almeida wrote: > Aside from the minor details that needrestart is written on Perl and well > documented, I couldn't agree with you more ;-) > OOPS, my bad. I was really thinking

Re: [gentoo-user] ro /

2017-01-17 Thread Neil Bothwick
On Tue, 17 Jan 2017 01:57:11 -0800, Jorge Almeida wrote: > > restart them automatically if you like to live dangerously ;-) > > > Underdocumented python scripts running as root and messing with > services? What could possibly go wrong? ;-) Aside from the minor details that needrestart is

Re: [gentoo-user] ro /

2017-01-17 Thread Jorge Almeida
On Tue, Jan 17, 2017 at 12:32 AM, Neil Bothwick wrote: > restart them automatically if you like to live dangerously ;-) > Underdocumented python scripts running as root and messing with services? What could possibly go wrong? ;-)

Re: [gentoo-user] ro /

2017-01-17 Thread Neil Bothwick
On Mon, 16 Jan 2017 20:43:05 -0600, Dale wrote: > >> operation and output a list for you. The needrestart script can also > >> try to automatically restart them for you. > > I wouldn't want that. > To be more clear, it ASKS if you want to restart them. If you don't, > you can hit "n" to skip

Re: [gentoo-user] ro /

2017-01-16 Thread Dale
Jorge Almeida wrote: > On Fri, Jan 13, 2017 at 3:50 PM, Michael Morak > wrote: >> On 13 January 2017 at 23:04, Jorge Almeida wrote: >> Almost, but not quite. The problem is that the POSIX standard requires that >> any file *must* continue to exist

Re: [gentoo-user] ro /

2017-01-16 Thread Dale
Neil Bothwick wrote: > On Fri, 13 Jan 2017 17:26:37 -0600, Dale wrote: > >> I did use needrestart after a recent update. One thing I like, it asks >> if you want to restart some of the services and gives you the option of >> restarting them, skipping etc. You don't have to go do it by hand that

Re: [gentoo-user] ro /

2017-01-13 Thread Neil Bothwick
On Fri, 13 Jan 2017 17:26:37 -0600, Dale wrote: > I did use needrestart after a recent update. One thing I like, it asks > if you want to restart some of the services and gives you the option of > restarting them, skipping etc. You don't have to go do it by hand that > way. It also has

Re: [gentoo-user] ro /

2017-01-13 Thread Jorge Almeida
On Fri, Jan 13, 2017 at 3:26 PM, Dale wrote: > Jorge Almeida wrote: >> >> It would be great a program that goes through all processes and >> checks for old libraries in use. If the program assumes a particular >> setup ( sysv/ systemd or even supporting both) then it will

Re: [gentoo-user] ro /

2017-01-13 Thread Jorge Almeida
On Fri, Jan 13, 2017 at 3:50 PM, Michael Morak wrote: > On 13 January 2017 at 23:04, Jorge Almeida wrote: > > Almost, but not quite. The problem is that the POSIX standard requires that > any file *must* continue to exist until all file handles

Re: [gentoo-user] ro /

2017-01-13 Thread Michael Morak
On 13 January 2017 at 23:04, Jorge Almeida wrote: > > process foobard requires a library foo.so. foobard was started when / > was ro. Then / is mounted rw and a new version of foo.so is installed. > Of course, foobard still uses foo.so (old). What prevents / to be > remounted

Re: [gentoo-user] ro /

2017-01-13 Thread Dale
Jorge Almeida wrote: > On Thu, Jan 12, 2017 at 3:39 AM, Neil Bothwick wrote: >> On Thu, 12 Jan 2017 05:35:09 -0600, Dale wrote: >> >>> app-admin/checkrestart-0.47-r3 (/usr/sbin/checkrestart) >> There's also needrestart that is a little more intelligent, can > Dale and Neil,

Re: [gentoo-user] ro /

2017-01-13 Thread Jorge Almeida
On Thu, Jan 12, 2017 at 1:06 AM, Michael Morak wrote: > Hi, > > I have a similar setup. The problem is that some of your services may still > have open handles on files that no longer exist after updating (i.e. the > service, when originally started, opened an .so library

Re: [gentoo-user] ro /

2017-01-13 Thread Jorge Almeida
On Thu, Jan 12, 2017 at 3:39 AM, Neil Bothwick wrote: > On Thu, 12 Jan 2017 05:35:09 -0600, Dale wrote: > >> app-admin/checkrestart-0.47-r3 (/usr/sbin/checkrestart) > > There's also needrestart that is a little more intelligent, can Dale and Neil, thanks for the hints. I'll

Re: [gentoo-user] ro /

2017-01-13 Thread Peter Humphrey
On Thursday, 12 January 2017 06:15:55 GMT Dale wrote: > Neil Bothwick wrote: > > On Thu, 12 Jan 2017 05:35:09 -0600, Dale wrote: > >> When I do a upgrade and need to know what processes or services need to > >> be restarted, I use this command that someone posted about on here a > >> long time

Re: [gentoo-user] ro /

2017-01-12 Thread Dale
Neil Bothwick wrote: > On Thu, 12 Jan 2017 05:35:09 -0600, Dale wrote: > >> When I do a upgrade and need to know what processes or services need to >> be restarted, I use this command that someone posted about on here a >> long time ago. >> >> >> root@fireball / # equery b checkrestart >> *

Re: [gentoo-user] ro /

2017-01-12 Thread Neil Bothwick
On Thu, 12 Jan 2017 05:35:09 -0600, Dale wrote: > When I do a upgrade and need to know what processes or services need to > be restarted, I use this command that someone posted about on here a > long time ago. > > > root@fireball / # equery b checkrestart > * Searching for checkrestart ... >

Re: [gentoo-user] ro /

2017-01-12 Thread Dale
Michael Morak wrote: > Hi, > > I have a similar setup. The problem is that some of your services may > still have open handles on files that no longer exist after updating > (i.e. the service, when originally started, opened an .so library file > that it needs to run, but the file then gets

Re: [gentoo-user] ro /

2017-01-12 Thread Michael Morak
Hi, I have a similar setup. The problem is that some of your services may still have open handles on files that no longer exist after updating (i.e. the service, when originally started, opened an .so library file that it needs to run, but the file then gets deleted or replaced during the emerge