yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58428
[Bug 1635350] Re: unit tests fail as non-root on maas deployed system
** Also affects: cloud-init (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1635350
Title:
unit tests fail as non-root on maas deployed system
Status in cloud-init:
Fix Committed
Status in cloud-init package in Ubuntu:
New
Bug description:
Observed Behavior:
On a system deployed by MAAS I checked out master and then tried to immediately build it:
> git clone https://git.launchpad.net/cloud-init
> cd cloud-init
> ./packages/bddeb
I get a number of errors around permission issues around this file:
PermissionError: [Errno 13] Permission denied: \'/etc/cloud/cloud.cfg.d/90_dpkg_maas.cfg\'
See: https://paste.ubuntu.com/23354559/
or formatted better: http://paste.ubuntu.com/23374383/
If I run as root however, it build as expected.
Expected Behavior:
Running bddeb works as a non-root user.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1635350/+subscriptions
References