Public bug reported:

Wake on LAN Tasks fail due to missing cobblerd apparmor rule for
powerwake:

lsb_release -rd
Description:    Ubuntu 12.04 LTS
Release:        12.04


Tue May  1 12:13:49 2012 - INFO | running: ['/bin/sh', '-c', u'if [ -x 
/sbin/ether-wake ]; then\n\t/sbin/ether-wake -i eth0 "08:00:27:79:15:b1"\nelif 
[ -x /usr/bin/powerwake ]; then\n\t/usr/bin/powerwake "08:00:27:79:15:b1"\nelif 
[ -x /usr/bin/wakeonlan ]; then\n\t/usr/bin/wakeonlan "08:00:27:79:15:b1"\nelif 
[ -x /usr/sbin/etherwake ]; then\n\t/usr/sbin/etherwake 
"08:00:27:79:15:b1"\nfi']
Tue May  1 12:13:49 2012 - INFO | received on stdout: 
Tue May  1 12:13:49 2012 - DEBUG | received on stderr: /bin/sh: 4: 
/usr/bin/powerwake: Permission denied

Error reported in syslog:
May  1 12:13:57 maas kernel: [ 5692.851952] type=1400 audit(1335867237.867:35): 
apparmor="DENIED" operation="exec" parent=63
44 profile="/usr/bin/cobblerd" name="/usr/bin/powerwake" pid=6345 comm="sh" 
requested_mask="x" denied_mask="x" fsuid=0 ouid=
0


Please add the required permission 
i.e.   /usr/bin/powerwake rix,

to:

/etc/apparmor.d/usr.bin.cobblerd

** Affects: maas-provision (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: cobbler maas powerwake wakeonlan

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/992522

Title:
  wake on lan task fail

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas-provision/+bug/992522/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to