I have my / partition mounted read-only. It works fine, /var is in a
different partition, as well as /usr/portage. Of course, I have to
remount / rw when emerging packages.
The problem is that, more often than not, I cannot remount ro after
emerging ("/ is busy").
I tried "lsof / | awk '$4 ~ /[0-9
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 -
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 deleted
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 ...
> ap
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
>> * Search
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 ago
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 take a look at checkr
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 file that it needs
> to r
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, thanks for the hints. I
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 ro? foo.so (new) is a
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 pointing to it are
> closed. Thus, using your examp
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 not be
>> useful for m
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 intellig
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
>
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 until all file handles pointing to it are
>> clo
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 r
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? ;-)
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 writte
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 of checkrestart. But
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,
>>
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
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 images...
Failed to r
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
> Scanning processes...
>
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 what mine says:
>
> Runni
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
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 binarie
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.
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 alr
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 / # eque
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. [R
30 matches
Mail list logo