Re: Telinit?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi Guus,

> That said, it's still a good idea to restart the running services (or
> the whole server when the kernel is updated), but in principle you can
> just continue working while updating and reboot sometime later.

IIRC, some other distros re-start a server as part of the
package-upgrade process, including if a configuration file or a
dynamically-loaded library used by the server from another package has
been re-written.  It was a surprise to me on moving to Arch that it
didn't.

I've a little ~/bin/oldpkg which I run after an Arch upgrade to help
eyeball those servers which are using now-deleted files which I think
have been replaced during the upgrade.

    sudo lsof -n +c0 |
    sed -n '1{p;d}; /DEL/{p;d}; / (deleted)$/{p;d}' |
    egrep -v ' /(run/systemd/(inhibit|sessions)/[0-9]+\.ref|SYSV00000000|dev/shm/org\.(chromium\.......|mozilla\.ipc\.[0-9]+\.[0-9]+)|memfd:pulseaudio|tmp/#[0-9]{5,7})\>' |
    sed '1{h; d}; 2{x; G}'

-- 
Cheers, Ralph.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux