Matthias Hanft wrote: > Hi, > > for weekly updates, I'm using the usual update commands, such as > > emerge -NDuv @world > emerge -c > revdep-rebuild -i > > In order to find out which services are still using old versions > of updated programs/libraries, I add > > lsof | grep -w DEL | grep portage > > and /etc/init.d/XXX restart for those services. > > But now, there's agetty left, and I don't know how to restart this > service (without reboot): > > [...] > agetty 3438 root DEL REG 8,4 > 30199325219 > /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/libnss_files-2.23.so > agetty 3438 root DEL REG 8,4 > 30199325229 > /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/libnss_nis-2.23.so > agetty 3438 root DEL REG 8,4 > 30199325233 /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/libnsl-2.23.so > agetty 3438 root DEL REG 8,4 > 30199325236 > /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/libnss_compat-2.23.so > agetty 3438 root DEL REG 8,4 > 30199325238 /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/libc-2.23.so > agetty 3438 root DEL REG 8,4 > 30199325230 /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/ld-2.23.so > [...] > > There is a /etc/init.d/agetty service, but it's stopped anyway. > I already found some discussions in the net which stated that > "init q" should do the job, but this doesn't work here (just > nothing happens). > > Is there a way to restart agetty and finally drop those old > libraries? > > Thanks, > > -Matt > >
I do it this way. pkill agetty Simple, quick and easy to remember. One could script it I guess??? Dale :-) :-)