ntpd incorrectly uses 32-bit capabilities

Bug #328376 reported by nullack
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ntp (Debian)
Fix Released
Unknown
ntp (Ubuntu)
Fix Released
Low
Steve Langasek
Jaunty
Fix Released
Low
Steve Langasek

Bug Description

Binary package hint: ntp

The network time protocol daemon incorrectly uses the 32bit legacy mode on a jaunty 64 bit install. Each kernel boot results in the following message being displayed to the kernel log:

Feb 12 03:05:03 PPP kernel: [ 19.470679] warning: `ntpd' uses 32-bit capabilities (legacy support in use)

nullack@PPP:~$ sudo apt-cache policy ntp
ntp:
  Installed: 1:4.2.4p4+dfsg-7ubuntu3
  Candidate: 1:4.2.4p4+dfsg-7ubuntu3
  Version table:
 *** 1:4.2.4p4+dfsg-7ubuntu3 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

Related branches

Revision history for this message
Steve Beattie (sbeattie) wrote :

This isn't an i386/amd64 issue; it's that the linux kernel capabilities(7) data structure size was increased in 2.6.25 to 64 bits, but uses a versioned interface so that applications that haven't been updated to use the newer-sized structure will still operate correctly. (see the capset(2) and capabilities(7) manpages for details.)

Changed in ntp:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Steve Langasek (vorlon) wrote :

AIUI, the way to fix this is by changing the build-dependency to libcap2-dev. But I don't know if that has potential side-effects that would make it unsuitable for upload this close to release.

Revision history for this message
Steve Langasek (vorlon) wrote :

It appears Debian has already made this change a month ago, and there have been no complaints of regressions in unstable or testing. That's a new upstream version though, so I'll cherry-pick this change for jaunty rather than proposing a merge.

Changed in ntp:
assignee: nobody → vorlon
status: Triaged → In Progress
Changed in ntp:
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ntp - 1:4.2.4p4+dfsg-7ubuntu5

---------------
ntp (1:4.2.4p4+dfsg-7ubuntu5) jaunty; urgency=low

  * Build against libcap2 instead of libcap1, fixing a kernel warning
    about using an old interface. LP: #328376.

 -- Steve Langasek <email address hidden> Fri, 20 Mar 2009 19:53:25 +0000

Changed in ntp:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.