[Bug 596859] Re: ntp profile denies write access to serial devices

Paul Crawford 596859 at bugs.launchpad.net
Fri Apr 20 11:00:55 UTC 2012


This appears to be broken again, the 10.04 default profile has:

# vim:syntax=apparmor
# Last Modified: Tue Aug 11 16:14:21 CDT 2009
# Updated for Ubuntu by: Jamie Strandboge <jamie at canonical.com>

<snip>

  @{NTPD_DEVICE} r,

So it only allows read-access to the devices. Also broken/reverted is
the tunables which has:

# Last Modified: Thu Aug  2 14:37:03 2007
# $Id: usr.sbin.ntpd 1102 2008-02-19 10:35:19Z jrjohansen $
# ------------------------------------------------------------------
#
#    Copyright (C) 2002-2005 Novell/SUSE
#
#    This program is free software; you can redistribute it and/or
#    modify it under the terms of version 2 of the GNU General Public
#    License published by the Free Software Foundation.
#
# ------------------------------------------------------------------

#Add your ntpd devices here eg. if you have a DCF clock
# @{NTPD_DEVICE}=/dev/ttyS*
@{NTPD_DEVICE}="/dev/tty10"

Again, no default access to serial ports and modification date is before
the message  #4 (above). Can this be fixed again and pushed back to
debian so it stays fixed?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/596859

Title:
  ntp profile denies write access to serial devices

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/596859/+subscriptions



More information about the Ubuntu-server-bugs mailing list