Your message dated Sun, 13 Feb 2011 10:49:20 +0100
with message-id <20110213104920.11e56d0d@local>
and subject line Re: Bug#601944: wicd: ntpdate is not executed?
has caused the Debian Bug report #601944,
regarding wicd: ntpdate is not executed?
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
601944: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601944
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: wicd
Version: 1.7.0+ds1-5
Severity: normal
Hi!
I have ntpdate installed, and configured it to be executed automatically each
time
a network connection is activated. This is done in the file
/etc/default/ntpdate
ntpdate includes the file
/etc/dhcp/dhclient-exit-hooks.d/ntpdate
that is used by the dhcp client to adjust the time after a network connection
has
been successfully configured.
It works fine when using network-manager, but not when using wicd. This is
strange,
because I only have one dhcp client installed, and as far as I understand, the
ntpdate
script is run by the dhcp-client...
I noticed this because the clock was supposed to have been adjusted an hour
back when
connecting this morning, and it didn't happen. I deactivated wicd-daemon,
activated
network-manager, connected, and voila: the time was immediately adjusted an
hour back.
When wicd-daemon has successfully connected, and it executes the dhcp client,
does it do
so in a way that causes the script dhclient-exit-hooks.d/ntpdate to not be
executed?
In my wicd-gtk preferences, I have "DHCP client: automatic", not "dhclient".
All the other
choices are greyed out.
Since my ntpdate configuration works perfectly when using network-manager,
there should
be nothing wrong with /etc/default/ntpdate. But just to be more complete, here
is its
contents:
NTPDATE_USE_NTP_CONF=no
NTPSERVERS="ntp.uio.no 0.debian.pool.ntp.org 1.debian.pool.ntp.org
2.debian.pool.ntp.org 3.debian.pool.ntp.org"
NTPOPTIONS="-u"
Best regards
Torquil Sørensen
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.35.7 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages wicd depends on:
ii wicd-daemon 1.7.0+ds1-5 wired and wireless network manager
ii wicd-gtk [wicd-client] 1.7.0+ds1-5 wired and wireless network manager
wicd recommends no packages.
wicd suggests no packages.
Versions of packages wicd-gtk depends on:
ii python 2.6.6-3+squeeze1 interactive high-level object-orie
ii python-glade2 2.17.0-4 GTK+ bindings: Glade support
ii python-gtk2 2.17.0-4 Python bindings for the GTK+ widge
ii wicd-daemon 1.7.0+ds1-5 wired and wireless network manager
Versions of packages wicd-daemon depends on:
ii adduser 3.112+nmu1 add and remove users and groups
ii dbus 1.2.24-3 simple interprocess messaging syst
ii debconf [debconf-2.0] 1.5.36 Debian configuration management sy
ii iproute 20100519-3 networking and traffic control too
ii iputils-ping 3:20100418-3 Tools to test the reachability of
ii isc-dhcp-client [dhcp 4.1.1-P1-11 ISC DHCP client
ii lsb-base 3.2-26 Linux Standard Base 3.2 init scrip
ii net-tools 1.60-23 The NET-3 networking toolkit
ii psmisc 22.13-1 utilities that use the proc file s
ii python 2.6.6-3+squeeze1 interactive high-level object-orie
ii python-dbus 0.83.1-1 simple interprocess messaging syst
ii python-gobject 2.21.4+is.2.21.3-1 Python bindings for the GObject li
ii python-iniparse 0.3.2-1 Module to access and modify config
ii python-wicd 1.7.0+ds1-5 wired and wireless network manager
ii wireless-tools 30~pre9-5 Tools for manipulating Linux Wirel
ii wpasupplicant 0.6.10-2 client support for WPA and WPA2 (I
Versions of packages python-wicd depends on:
ii python 2.6.6-3+squeeze1 interactive high-level object-orie
ii python-support 1.0.11 automated rebuilding support for P
-- debconf information:
* wicd/users: atle
--- End Message ---
--- Begin Message ---
Version: 1.7.0+ds1-6
Hello,
On Sun, 31 Oct 2010 10:38:55 +0100, Torquil Macdonald Sørensen wrote:
> Hi!
>
> I have ntpdate installed, and configured it to be executed automatically each
> time a network connection is activated. This is done in the file
>
> /etc/default/ntpdate
>
> ntpdate includes the file
>
> /etc/dhcp/dhclient-exit-hooks.d/ntpdate
>
> that is used by the dhcp client to adjust the time after a network connection
> has been successfully configured.
That's not the file used.
/etc/network/if-up.d/ntpdate is, instead. And, with the added support
to /etc/network/*/ scripts, this bug is fixed with 1.7.0+ds1-6.
Kindly,
David
--
. ''`. Debian developer | http://wiki.debian.org/DavidPaleino
: :' : Linuxer #334216 --|-- http://www.hanskalabs.net/
`. `'` GPG: 1392B174 ----|---- http://deb.li/dapal
`- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
signature.asc
Description: PGP signature
--- End Message ---