package provision for Debian
anarcat - June 12, 2009 - 17:21
| Project: | Provision |
| Version: | 6.x-0.3 |
| Component: | Miscellaneous |
| Category: | task |
| Priority: | normal |
| Assigned: | anarcat |
| Status: | closed |
Jump to:
Description
After #461488: Packaging Drush for Debian, I'll be working on a provision package, to make sure we have the backend in order and can easily setup new servers.
the frontend will be much more tricky, so I will probably refrain from working on it for now... especially since we don't have much need for it (aegir is already installed) unless it performs upgrades magically (which would be hard anyways).

#1
I've got a basic package up that properly installs the command files so that drush can see it, but it doesn't do any of the magic from INSTALL.txt that it should do.
I'm also waiting for my ITP number so I can upload this for review...
#2
I uploaded a package that does everything but the setup of the initial root user. It's also available on Koumbit's repo:
deb http://debian.koumbit.net/debian sid mainAgain, it's uploaded to sid, but it was built on lenny and should work almost anywhere.
Now I need my sponsor to get that in too.
#3
So while talking with my sponsor about the most recent package, it became obvious that the package violates section 10.7.4 of the debian policy described here: http://www.debian.org/doc/debian-policy/ch-files.html
Basically, a Debian package is not allowed to modify another package's configuration files while installing. There are two particular violations in my package, the one that modifies /etc/sudoers and the one that edits /etc/drush/drushrc.php. The latter could easily be fixed by making drush read all files in /etc/drush/ instead of just the drushrc.php. The former is harder, as we're supposed to either make the admin modify the sudoers file or make sudo package a script that will allow other packages to modify the sudoers file.
I'm not sure it's that big of a deal and I will try to get other advice from the debian-devel list. In the meantime, the package is basically blocked from Debian while we figure this out.
#4
This will be fixed by the latest sudo upload, which supports .d directories... I just need to push it to NEW... Anyways, the most recent package code from git doesn't have the sudo hacking code anymore, so it should land in Debian as soon as my sponsor can look into it.
#5
tracking
#6
Aegir-provision (0.3!) has been uploaded and will enter the NEW queue process soon. Watch for it on http://ftp-master.debian.org/new.html
It still doesn't feature sudo support because while a newer sudo version was uploaded to debian with the capability of including directories, it doesn't actually create a config file that does, see:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539994
#7
Provision is now in Debian unstable. I'm working on sudo autoconfiguration.
#8
alright, this package is now fully in debian, and is up to my expectations. all further requests regarding debian packaging should be addressed through the Debian BTS (bug tracking system), see http://bugs.debian.org/aegir-provision.
#9
Automatically closed -- issue fixed for 2 weeks with no activity.