Bug 132236 - ntpd -i broken
Summary: ntpd -i broken
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Network (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Hendrik Vogelsang
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-03 21:33 UTC by Andreas Schwab
Modified: 2005-11-28 11:32 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schwab 2005-11-03 21:33:41 UTC
# strace -s100 -f /usr/sbin/ntpd -p /var/lib/ntp/var/run/ntp/ntpd.pid -u ntp -i /var/lib/ntp
[...]
open("/var/lib/ntp", O_RDONLY)          = 8
fstat(8, {st_mode=S_IFDIR|0755, st_size=144, ...}) = 0
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2000000000100000
read(8, 0x2000000000100000, 16384)      = -1 EISDIR (Is a directory)
close(8)                                = 0
munmap(0x2000000000100000, 65536)       = 0
write(2, "usage: /usr/sbin/ntpd [ -abdgmnx ] [ -c config_file ] [ -e e_delay ]\n", 69) = 69
write(2, "\t\t[ -f freq_file ] [ -k key_file ] [ -l log_file ]\n", 51) = 51
write(2, "\t\t[ -p pid_file ] [ -r broad_delay ] [ -s statdir ]\n", 52) = 52
write(2, "\t\t[ -t trust_key ] [ -v sys_var ] [ -V default_sysvar ]\n", 56) = 56
write(2, "\t\t[ -P fixed_process_priority ]\n", 32) = 32
exit_group(2)                           = ?
Comment 1 Hendrik Vogelsang 2005-11-04 10:06:44 UTC
sounds like bug #131755 which is a kernel capability problem.
Comment 2 Andreas Schwab 2005-11-04 10:09:28 UTC
No, the capability module is already loaded.
Comment 3 Hendrik Vogelsang 2005-11-04 10:16:48 UTC
can you try a 10.0 kernel just to be sure?
Comment 4 Andreas Schwab 2005-11-04 10:22:16 UTC
When run without any options it is working fine.
Comment 5 Hendrik Vogelsang 2005-11-14 11:13:59 UTC
so it works with libpcap-devel?
Comment 6 Hendrik Vogelsang 2005-11-28 11:32:19 UTC
it works for me on 10.1 after you readded libpcap-devel