My take on Dales question - how do we tell the hooks are in use? -
config file somewhere, utility we can run? - or should they be marked
executable?

It looks to me like various apps are installing to that directory as
well and are in use ... maybe?  I presume its only those 3 scripts that
are affected but it would be nice to have enough to detail to know there
is a problem or not that needs investigating.


rattus ~ # ls -al /lib/dhcpcd/dhcpcd-hooks
total 44
drwxr-xr-x 1 root root  224 Aug 30 16:25 .
drwxr-xr-x 1 root root   62 Aug 30 16:25 ..
-r--r--r-- 1 root root  276 Aug 30 16:25 01-test
-r--r--r-- 1 root root  120 Aug 30 16:25 02-dump
-r--r--r-- 1 root root  957 Aug 30 16:25 10-mtu
-r--r--r-- 1 root root 2866 Aug 30 16:25 10-wpa_supplicant
-r--r--r-- 1 root root  885 Aug 30 16:25 15-timezone
-r--r--r-- 1 root root 5450 Aug 30 16:25 20-resolv.conf
-r--r--r-- 1 root root  811 Aug 30 16:25 29-lookup-hostname
-r--r--r-- 1 root root 3450 Aug 30 16:25 30-hostname
-r--r--r-- 1 root root 2848 Aug 30 16:25 50-ntp.conf
-r--r--r-- 1 root root 1155 Aug 30 16:25 50-yp.conf
rattus ~ #

A bit of experimentation will find out - but it will have to wait for now.

BillK

On 12/01/16 05:24, Dale wrote:
> Howdy,
> 
> I read this news item and while I have not changed anything myself that
> I know of, I do recognize a tool listed in the news and wonder about
> another one.  For those who have not seen it yet, here is the news item.
> 
> 
> 
> root@fireball / # eselect news
> read                                                                          
>                                                                               
>   
> 
> 2016-01-08-some-dhcpcd-hooks-are-now-examples                                 
>                                                                               
>                                  
> 
>   Title                     Some dhcpcd hooks are now
> examples                                                                      
>                                                          
> 
>   Author                    William Hubbs
> <[email protected]>                                                         
>                                                                      
> 
>   Posted                   
> 2016-01-08                                                                    
>                                                                               
>      
> 
>   Revision                  2
> 
> In dhcpcd-6.10.0, the following hooks are no longer installed in
> /lib/dhcpcd/dhcpcd-hooks by default:
> 
> 10-wpa_supplicant
> 15-timezone
> 29-lookup-hostname
> 
> These are now installed in /usr/share/dhcpcd/hooks, which is an example
> directory.
> 
> If you were using these hooks before you upgrade to 6.10.0, you will
> need to copy them back to the /lib/dhcpcd/dhcpcd-hooks directory after the
> upgrade.
> 
> 
> 
> I don't use the top one listed because I don't use wireless, although
> I'm sure a LOT of others on this list do.  I suspect everyone uses a
> timezone setting as do I.  I have my puter named in the hostname file
> but not sure if that is what the news item refers too. I'm not sure
> about the lookupp part. 
> 
> My question is, does this affect me or does the packages installed that
> use/set this stuff still do what needs doing as it has in the past? 
> Basically, does this require me to copy or link some files for things to
> keep working as it has been? 
> 
> 
> After syncing, this is what wants to be changed:
> 
> 
> 
> Calculating dependencies... done!
> [ebuild     U  ] net-misc/dhcpcd-6.10.0::gentoo [6.9.0::gentoo]
> USE="embedded ipv6 udev" 176 KiB
> [ebuild     U  ] media-libs/gst-plugins-bad-0.10.23-r3:0.10::gentoo
> [0.10.23-r2:0.10::gentoo] USE="nls orc" ABI_X86="(64) -32 (-x32)" 0 KiB
> 
> Total: 2 packages (2 upgrades), Size of downloads: 176 KiB
> 
> 
> 
> Since I don't recall doing any of this in the past, I suspect I don't
> have to do anything BUT I'd like to be sure. 
> 
> Thanks.
> 
> Dale
> 
> :-)  :-) 
> 
> 


Reply via email to