[Git][java-team/apache-directory-server][master] 4 commits: Make /etc/apacheds writable by app user in postinst
Tony Mancill
gitlab at salsa.debian.org
Tue Feb 19 01:33:58 GMT 2019
Tony Mancill pushed to branch master at Debian Java Maintainers / apache-directory-server
Commits:
3d9809d3 by tony mancill at 2019-02-18T22:36:04Z
Make /etc/apacheds writable by app user in postinst
- - - - -
e2f53d10 by tony mancill at 2019-02-18T22:50:45Z
Modify conditions in systemd unit file for service start
- - - - -
ef2f0dda by tony mancill at 2019-02-18T22:50:45Z
interm changelog
- - - - -
620c31b1 by tony mancill at 2019-02-19T01:11:08Z
Update postinst as per Debian policy section 10.9
- - - - -
3 changed files:
- debian/apacheds.postinst
- debian/apacheds.service
- debian/changelog
Changes:
=====================================
debian/apacheds.postinst
=====================================
@@ -32,7 +32,9 @@ case "$1" in
# Fix directory permissions
chown -Rh $APACHEDS_USER:$APACHEDS_GROUP /var/log/apacheds || true
chown -Rh $APACHEDS_USER:$APACHEDS_GROUP /var/lib/apacheds || true
+ chown root:$APACHEDS_GROUP /etc/apacheds
chown $APACHEDS_USER:$APACHEDS_GROUP /etc/apacheds/*
+ chmod 2770 /etc/apacheds
chmod 640 /etc/apacheds/*
;;
=====================================
debian/apacheds.service
=====================================
@@ -1,7 +1,8 @@
[Unit]
Description=Apache Directory Server
After=network.target
-ConditionPathExists=/etc/apacheds/config.ldif
+ConditionPathExists=|/etc/apacheds/config.ldif
+ConditionPathIsDirectory=|/etc/apacheds/ou=config
[Service]
Type=simple
=====================================
debian/changelog
=====================================
@@ -1,3 +1,17 @@
+apache-directory-server (2.0.0~M24-3) UNRELEASED; urgency=medium
+
+ * Team upload.
+
+ [ Dominik George ]
+ * Fix mistake in dependency.
+
+ [ tony mancill ]
+ * Make /etc/apacheds writable by app user in postinst and modify
+ conditions in systemd unit file for service start. (Closes: #921953)
+ Thank you to Johan Grip for the bug report and patch.
+
+ -- tony mancill <tmancill at debian.org> Mon, 18 Feb 2019 14:37:08 -0800
+
apache-directory-server (2.0.0~M24-2) unstable; urgency=medium
* Team upload.
View it on GitLab: https://salsa.debian.org/java-team/apache-directory-server/compare/d8f6ae4c94ac0267f1396609f2c4d1c157f1a740...620c31b1811dc2bf88ab8d44b0ff046e29e0f6e3
--
View it on GitLab: https://salsa.debian.org/java-team/apache-directory-server/compare/d8f6ae4c94ac0267f1396609f2c4d1c157f1a740...620c31b1811dc2bf88ab8d44b0ff046e29e0f6e3
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20190219/c78078b5/attachment.html>
More information about the pkg-java-commits
mailing list