maas-dhcp has no sudoers permission to start maas-dhcp-server
Bug #1055951 reported by
Julian Edwards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
sudoers in the packaging currently looks like
maas ALL= NOPASSWD: /usr/sbin/service isc-dhcp-server restart
maas ALL= NOPASSWD: /usr/sbin/
The first line should be:
maas ALL= NOPASSWD: /usr/sbin/service maas-dhcp-server restart
Related branches
lp:~andreserl/maas/packaging_update
- Julian Edwards (community): Approve
-
Diff: 42 lines (+6/-4)3 files modifieddebian/changelog (+3/-1)
debian/extras/99-maas-sudoers (+1/-1)
debian/maas.postinst (+2/-2)
no longer affects: | maas |
Changed in maas (Ubuntu): | |
status: | New → In Progress |
Changed in maas (Ubuntu): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This bug was fixed in the package maas - 0.1+bzr1223+ dfsg-0ubuntu1
--------------- dfsg-0ubuntu1) quantal; urgency=low
maas (0.1+bzr1223+
* New upstream release. (LP: #1062518)
[ Julian Edwards ] cluster} -controller *.{postinst, postrm, preinst} : Move files accordingly. controller autoconfigure itself when upgrading from the controller so that .pyc files
* Split packaging of 'maas' into maas-{region,
- debian/control: Update accordingly.
- debian/*.install: Move files accordingly
- debian/
* Ensure isc-dhcp-server is disabled when installing maas-dhcp.
* Ensure maas-dns creates the maas user before trying to chown files.
* Make maas-cluster-
old maas package. (LP: #1059416)
* Add missing prerm file for maas-cluster-
are cleaned up. (LP: #1059973)
[ Raphaël Badin ] celeryconfig. py in /etc/maas and symlink to share/maas. maas.postinst: Create rabbitmq celery user/vhost. maas.postinst: Update BROKER_URL in maas_local_ celeryconfig. py. celeryconfig_ cluster. py as the local celery maas-region- controller. maas-region- celery. upstart: Add region cluster- controller. maas-clluster- celery. upstart. controller. maas-celery. upstart: use "celeryconfig_ cluster" maas-common. install: Install celeryconfig_ common. py. maas-cluster- controller. install: Install celeryconfig_ cluster. py. maas-region- controller. install: Install celeryconfig.py. CONFIG_ MODULE in cluster- controller. maas-cluster- celery. upstart
* Install maas_local_
/usr/
* debian/
* debian/
* Use maas_local_
configuration file for the cluster worker.
* debian/
worker upstart script.
* Rename cluster worker upstart script into
maas-
* maas-cluster-
as the Celery config module.
* debian/
* debian/
* debian/
* Split celery config into cluster and region configs.
* Add region celeryd upstart config.
* Define CELERY_
maas-
[ Jeroen Vermeulen ] celery_ config. py non-world readable. celeryconfig_ cluster. py non-world readable.
* Make maas_local_
* Make maas_local_
* Set root:maas ownership of local cluster config only *after*
the maas user/group have been created
[ Andres Rodriguez ] maas.postinst: extras/ maas-cli: Add binary. maas-cli. install: Add. Install maascli and apiclient. python- maas-client. install: Add. Install 'apiclient' python module. extras/ 99-maas- sudoers: Add for maas-dhcp-server upstart job maas-region- controller. postinst: Cleanup upgrade rules.
* debian/
- Always restart apache2.
- Handle upgrades for new upstream release.
- Handle upgrades for celery rabbitmq worker.
* Add binary package to install client tool.
- debian/
- debian/
- debian/control: Add binary package.
* debian/control:
- Depends on freeipmi-tools instead of ipmitool.
- Conflicts/Replaces on maas for python-maas-client.
- Depends on python-netifaces, python-lxml.
* Add python-maas-client binary package:
- debian/
- debian/control: Add package. python-django-maas and maas-cli now
Depend on it.
* debian/rules: Install maas-dhcp-server upstart job.
* debian/maas.postrm: Remove celery worker rabbitmq user and host.
* debian/
instead of isc-dhcp-server (LP: #1055951)
* debian/
* debian/maas-cl...