1 |
My take on Dales question - how do we tell the hooks are in use? - |
2 |
config file somewhere, utility we can run? - or should they be marked |
3 |
executable? |
4 |
|
5 |
It looks to me like various apps are installing to that directory as |
6 |
well and are in use ... maybe? I presume its only those 3 scripts that |
7 |
are affected but it would be nice to have enough to detail to know there |
8 |
is a problem or not that needs investigating. |
9 |
|
10 |
|
11 |
rattus ~ # ls -al /lib/dhcpcd/dhcpcd-hooks |
12 |
total 44 |
13 |
drwxr-xr-x 1 root root 224 Aug 30 16:25 . |
14 |
drwxr-xr-x 1 root root 62 Aug 30 16:25 .. |
15 |
-r--r--r-- 1 root root 276 Aug 30 16:25 01-test |
16 |
-r--r--r-- 1 root root 120 Aug 30 16:25 02-dump |
17 |
-r--r--r-- 1 root root 957 Aug 30 16:25 10-mtu |
18 |
-r--r--r-- 1 root root 2866 Aug 30 16:25 10-wpa_supplicant |
19 |
-r--r--r-- 1 root root 885 Aug 30 16:25 15-timezone |
20 |
-r--r--r-- 1 root root 5450 Aug 30 16:25 20-resolv.conf |
21 |
-r--r--r-- 1 root root 811 Aug 30 16:25 29-lookup-hostname |
22 |
-r--r--r-- 1 root root 3450 Aug 30 16:25 30-hostname |
23 |
-r--r--r-- 1 root root 2848 Aug 30 16:25 50-ntp.conf |
24 |
-r--r--r-- 1 root root 1155 Aug 30 16:25 50-yp.conf |
25 |
rattus ~ # |
26 |
|
27 |
A bit of experimentation will find out - but it will have to wait for now. |
28 |
|
29 |
BillK |
30 |
|
31 |
On 12/01/16 05:24, Dale wrote: |
32 |
> Howdy, |
33 |
> |
34 |
> I read this news item and while I have not changed anything myself that |
35 |
> I know of, I do recognize a tool listed in the news and wonder about |
36 |
> another one. For those who have not seen it yet, here is the news item. |
37 |
> |
38 |
> |
39 |
> |
40 |
> root@fireball / # eselect news |
41 |
> read |
42 |
> |
43 |
> 2016-01-08-some-dhcpcd-hooks-are-now-examples |
44 |
> |
45 |
> Title Some dhcpcd hooks are now |
46 |
> examples |
47 |
> |
48 |
> Author William Hubbs |
49 |
> <williamh@g.o> |
50 |
> |
51 |
> Posted |
52 |
> 2016-01-08 |
53 |
> |
54 |
> Revision 2 |
55 |
> |
56 |
> In dhcpcd-6.10.0, the following hooks are no longer installed in |
57 |
> /lib/dhcpcd/dhcpcd-hooks by default: |
58 |
> |
59 |
> 10-wpa_supplicant |
60 |
> 15-timezone |
61 |
> 29-lookup-hostname |
62 |
> |
63 |
> These are now installed in /usr/share/dhcpcd/hooks, which is an example |
64 |
> directory. |
65 |
> |
66 |
> If you were using these hooks before you upgrade to 6.10.0, you will |
67 |
> need to copy them back to the /lib/dhcpcd/dhcpcd-hooks directory after the |
68 |
> upgrade. |
69 |
> |
70 |
> |
71 |
> |
72 |
> I don't use the top one listed because I don't use wireless, although |
73 |
> I'm sure a LOT of others on this list do. I suspect everyone uses a |
74 |
> timezone setting as do I. I have my puter named in the hostname file |
75 |
> but not sure if that is what the news item refers too. I'm not sure |
76 |
> about the lookupp part. |
77 |
> |
78 |
> My question is, does this affect me or does the packages installed that |
79 |
> use/set this stuff still do what needs doing as it has in the past? |
80 |
> Basically, does this require me to copy or link some files for things to |
81 |
> keep working as it has been? |
82 |
> |
83 |
> |
84 |
> After syncing, this is what wants to be changed: |
85 |
> |
86 |
> |
87 |
> |
88 |
> Calculating dependencies... done! |
89 |
> [ebuild U ] net-misc/dhcpcd-6.10.0::gentoo [6.9.0::gentoo] |
90 |
> USE="embedded ipv6 udev" 176 KiB |
91 |
> [ebuild U ] media-libs/gst-plugins-bad-0.10.23-r3:0.10::gentoo |
92 |
> [0.10.23-r2:0.10::gentoo] USE="nls orc" ABI_X86="(64) -32 (-x32)" 0 KiB |
93 |
> |
94 |
> Total: 2 packages (2 upgrades), Size of downloads: 176 KiB |
95 |
> |
96 |
> |
97 |
> |
98 |
> Since I don't recall doing any of this in the past, I suspect I don't |
99 |
> have to do anything BUT I'd like to be sure. |
100 |
> |
101 |
> Thanks. |
102 |
> |
103 |
> Dale |
104 |
> |
105 |
> :-) :-) |
106 |
> |
107 |
> |