1 |
Running kill on the current pids? |
2 |
|
3 |
On Sat, Aug 12, 2017, 12:36 AM Matthias Hanft <mh@×××××.de> wrote: |
4 |
|
5 |
> Hi, |
6 |
> |
7 |
> for weekly updates, I'm using the usual update commands, such as |
8 |
> |
9 |
> emerge -NDuv @world |
10 |
> emerge -c |
11 |
> revdep-rebuild -i |
12 |
> |
13 |
> In order to find out which services are still using old versions |
14 |
> of updated programs/libraries, I add |
15 |
> |
16 |
> lsof | grep -w DEL | grep portage |
17 |
> |
18 |
> and /etc/init.d/XXX restart for those services. |
19 |
> |
20 |
> But now, there's agetty left, and I don't know how to restart this |
21 |
> service (without reboot): |
22 |
> |
23 |
> [...] |
24 |
> agetty 3438 root DEL REG 8,4 |
25 |
> 30199325219 /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/ |
26 |
> libnss_files-2.23.so |
27 |
> agetty 3438 root DEL REG 8,4 |
28 |
> 30199325229 /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/ |
29 |
> libnss_nis-2.23.so |
30 |
> agetty 3438 root DEL REG 8,4 |
31 |
> 30199325233 /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/ |
32 |
> libnsl-2.23.so |
33 |
> agetty 3438 root DEL REG 8,4 |
34 |
> 30199325236 /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/ |
35 |
> libnss_compat-2.23.so |
36 |
> agetty 3438 root DEL REG 8,4 |
37 |
> 30199325238 /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/ |
38 |
> libc-2.23.so |
39 |
> agetty 3438 root DEL REG 8,4 |
40 |
> 30199325230 /var/tmp/portage/sys-libs/glibc-2.23-r4/image/lib64/ |
41 |
> ld-2.23.so |
42 |
> [...] |
43 |
> |
44 |
> There is a /etc/init.d/agetty service, but it's stopped anyway. |
45 |
> I already found some discussions in the net which stated that |
46 |
> "init q" should do the job, but this doesn't work here (just |
47 |
> nothing happens). |
48 |
> |
49 |
> Is there a way to restart agetty and finally drop those old |
50 |
> libraries? |
51 |
> |
52 |
> Thanks, |
53 |
> |
54 |
> -Matt |
55 |
> |
56 |
> |