[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.25.4-2-24-gaa55184
Micah Anderson
micah at riseup.net
Tue Apr 20 20:47:20 UTC 2010
The following commit has been merged in the master branch:
commit 955f806007299b8898bc848461aa9a13426be43c
Author: Micah Anderson <micah at riseup.net>
Date: Tue Apr 20 16:11:13 2010 -0400
install the config.ru as the puppet user to close #577366
diff --git a/debian/changelog b/debian/changelog
index 7844766..011bd21 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+puppet (0.25.4-6) unstable; urgency=low
+
+ * debian/rules: actually install config.ru owned by the puppet user,
+ this is necessary for proper suid of passenger (closes: #577366)
+
+ -- Micah Anderson <micah at debian.org> Tue, 20 Apr 2010 16:06:38 -0400
+
puppet (0.25.4-5) unstable; urgency=low
* debian/puppetmaster.init: fix invocation of start-stop-daemon (closes:
diff --git a/debian/puppetmaster.postinst b/debian/puppetmaster.postinst
new file mode 100644
index 0000000..ef6356d
--- /dev/null
+++ b/debian/puppetmaster.postinst
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+
+ # Change the owner of the rack config.ru to be the puppet user
+ # because passenger will suid to that user, see #577366
+ chown puppet:puppet /usr/share/puppet/rack/puppetmasterd/config.ru
+fi
+
+#DEBHELPER#
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list