Package: totd
Version: 1.4-3
Severity: normal

When dhcp3-client is used for acquiring network configuration, 
postinstall script doesn't find its configuration patches and doesn't
write dhclient-enter-hooks

dhcp3-client keeps its configuration in /etc/dhcp3/dhclient.conf
instead of /etc/dhclient.conf and uses directory of hook files
/etc/dhcp3/dhclient-enter-hooks.d

So, it should be quite easy to modify install scripts so that they would
check for such setup and write neccessary hook into 
/etc/dhcp3/dhclient-enter-hooks.d/totd instead of
/etc/dhclient-enter-hooks

There is a workaround:

One can create symlink to /etc/dhcp3/dhclient.conf in /etc before
installation/reconfiguration of totd and then move created
dhclient-enter-hooks file into /etc/dhcpl3/dhclient-enter-hooks.d/totd

Probably, simular problem occurs with other DHCP clients included in
Debian distribution such as pump, dhcpcd, udhcpc

I can imagine that some of these dhcp clients are not flexible enough to
allow totd function as automatically reconfigurable proxy DNS server.
I think that in should be somehow mentioned in the totd package
documentation, for instance in README.Debian, that totd interoperable
only with such and such dhcp clients. But dhcp3-client should be
supported, because it is easier to support it than to explain why it is
not supported.



ii  dhcp3-client   3.0.1-2        DHCP Client

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11-tp600
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages totd depends on:
ii  debconf [debconf-2.0]       1.4.30.13    Debian configuration management sy
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  perl                        5.8.4-8      Larry Wall's Practical Extraction 

-- debconf information:
* totd/rewrite_dhcp_script:
  totd/support_ipv6_prefix: false
* totd/use_ipv6: false
* totd/manage_with_debconf: true
  totd/ipv6_prefix:
* totd/dns_server: 192.168.217.1
* totd/rewrite_resolv_conf: true
  totd/bad_dns_server:
* totd/move_existing_nondebconf_config: false


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to