wake on lan task fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas-provision (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
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\
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(133586723
44 profile=
0
Please add the required permission
i.e. /usr/bin/powerwake rix,
to:
/etc/apparmor.
Changed in maas-provision (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
If i manually add the mac addreses on the MAAS dashboard the installation works ok