[Bug 722133] Re: ntpdate script doesn't load configuration file

2011-02-21 Thread Tomas Bosak
The real problem may be in script /usr/sbin/ntpdate-debian: this line NTPSERVERS=$(sed -rne 's/^(servers?|peer) ([-_.:[:alnum:]]+).*$/\2/p' "$file" ... could not correctly parsed file below: /etc/ntp.conf: restrict -6 default ignore restrict -4 default ignore restrict -6 ::1 nomodify notrap nop

[Bug 722133] Re: ntpdate script doesn't load configuration file

2011-02-21 Thread Tomas Bosak
In my case the configuration file wasn't loaded until I changed the script file. Therefore time in my system wasn't correctly set according to configuration. I forgot to mention that the OS is Ubuntu Server edition. By "necessary configuration" you mean the /etc/default/ntpdate file? -- You recei

[Bug 722133] [NEW] ntpdate script doesn't load configuration file

2011-02-20 Thread Tomas Bosak
Public bug reported: Binary package hint: ntpdate ntpdate script (located in /etc/network/if-up.d/ntpdate) doesn't load configuration from file (located in /etc/default/ntpdate). 1) OS: Ubuntu 11.04 (natty) 2) Package version: 1:4.2.6.p2+dfsg-1ubuntu4 and previous versions 3) Load configuration