Gentoo Archives: gentoo-user

From: Matthias Hanft <mh@×××××.de>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] Restart agetty after update @world?
Date: Sat, 12 Aug 2017 07:35:35
Message-Id: 0b161a59-ae6a-cd32-2c12-320e332009a4@hanft.de
1 Hi,
2
3 for weekly updates, I'm using the usual update commands, such as
4
5 emerge -NDuv @world
6 emerge -c
7 revdep-rebuild -i
8
9 In order to find out which services are still using old versions
10 of updated programs/libraries, I add
11
12 lsof | grep -w DEL | grep portage
13
14 and /etc/init.d/XXX restart for those services.
15
16 But now, there's agetty left, and I don't know how to restart this
17 service (without reboot):
18
19 [...]
20 agetty 3438 root DEL REG 8,4 30199325219 /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/libnss_files-2.23.so
21 agetty 3438 root DEL REG 8,4 30199325229 /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/libnss_nis-2.23.so
22 agetty 3438 root DEL REG 8,4 30199325233 /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/libnsl-2.23.so
23 agetty 3438 root DEL REG 8,4 30199325236 /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/libnss_compat-2.23.so
24 agetty 3438 root DEL REG 8,4 30199325238 /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/libc-2.23.so
25 agetty 3438 root DEL REG 8,4 30199325230 /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/ld-2.23.so
26 [...]
27
28 There is a /etc/init.d/agetty service, but it's stopped anyway.
29 I already found some discussions in the net which stated that
30 "init q" should do the job, but this doesn't work here (just
31 nothing happens).
32
33 Is there a way to restart agetty and finally drop those old
34 libraries?
35
36 Thanks,
37
38 -Matt

Replies

Subject Author
Re: [gentoo-user] Restart agetty after update @world? Ian Bloss <ianlinkcd@×××××.com>
Re: [gentoo-user] Restart agetty after update @world? Dale <rdalek1967@×××××.com>
Re: [gentoo-user] Restart agetty after update @world? Rich Freeman <rich0@g.o>
[gentoo-user] Re: Restart agetty after update @world? Nikos Chantziaras <realnc@×××××.com>