Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Joanne Hugé
slapos
Commits
2e2a9405
Commit
2e2a9405
authored
May 27, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(deactivated) setcap commands to allow for chroot
echo zmsetup.pl command instead of calling it from buildout
parent
98c461c8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
8 deletions
+18
-8
software/zimbra/buildout.cfg
software/zimbra/buildout.cfg
+18
-8
No files found.
software/zimbra/buildout.cfg
View file @
2e2a9405
...
@@ -307,8 +307,8 @@ install_cmd =
...
@@ -307,8 +307,8 @@ install_cmd =
chmod 1777 data/tmp
chmod 1777 data/tmp
mkdir backup ssl .ssh zmstat
mkdir backup ssl .ssh zmstat
. ${:ZIMBRA_HOME}/.bashrc
echo
. ${:ZIMBRA_HOME}/.bashrc
ZIMBRA_INSTALLED_PKGS="${:PACKAGE_LIST}
" ${:ZIMBRA_HOME}/libexec/zmsetup.pl
echo ZIMBRA_INSTALLED_PKGS=\"${:PACKAGE_LIST}\
" ${:ZIMBRA_HOME}/libexec/zmsetup.pl
...
@@ -354,8 +354,8 @@ install_cmd =
...
@@ -354,8 +354,8 @@ install_cmd =
# clear credential cache to spot commands in zmsetup.pl that would require sudo
# clear credential cache to spot commands in zmsetup.pl that would require sudo
sudo -k
sudo -k
. ${:ZIMBRA_HOME}/.bashrc
echo
. ${:ZIMBRA_HOME}/.bashrc
ZIMBRA_INSTALLED_PKGS="${:PACKAGE_LIST}
" ${:ZIMBRA_HOME}/libexec/zmsetup.pl
echo ZIMBRA_INSTALLED_PKGS=\"${:PACKAGE_LIST}\
" ${:ZIMBRA_HOME}/libexec/zmsetup.pl
...
@@ -412,12 +412,17 @@ install_cmd =
...
@@ -412,12 +412,17 @@ install_cmd =
chmod 1777 data/tmp
chmod 1777 data/tmp
touch ${:ZIMBRA_HOME}/postfix/conf/main.cf
touch ${:ZIMBRA_HOME}/postfix/conf/main.cf
# allow executables to bind low ports
sudo setcap 'cap_net_bind_service=+ep' ${:ZIMBRA_HOME}/postfix/libexec/master
sudo setcap 'cap_net_bind_service=+ep' ${:ZIMBRA_HOME}/postfix/libexec/master
# allow executables to call chroot - appearently not needed
## sudo setcap 'cap_sys_chroot+ep' ${:ZIMBRA_HOME}/postfix/libexec/qmgr
## sudo setcap 'cap_sys_chroot+ep' ${:ZIMBRA_HOME}/postfix/libexec/pickup
## sudo setcap 'cap_sys_chroot+ep' ${:ZIMBRA_HOME}/postfix/libexec/showq
# clear credential cache to spot commands in zmsetup.pl that would require sudo
# clear credential cache to spot commands in zmsetup.pl that would require sudo
sudo -k
sudo -k
. ${:ZIMBRA_HOME}/.bashrc
echo
. ${:ZIMBRA_HOME}/.bashrc
ZIMBRA_INSTALLED_PKGS="${:PACKAGE_LIST}
" ${:ZIMBRA_HOME}/libexec/zmsetup.pl
echo ZIMBRA_INSTALLED_PKGS=\"${:PACKAGE_LIST}\
" ${:ZIMBRA_HOME}/libexec/zmsetup.pl
...
@@ -489,11 +494,16 @@ install_cmd =
...
@@ -489,11 +494,16 @@ install_cmd =
touch ${:ZIMBRA_HOME}/postfix/conf/main.cf
touch ${:ZIMBRA_HOME}/postfix/conf/main.cf
mkdir backup ssl .ssh zmstat
mkdir backup ssl .ssh zmstat
# allow executables to bind low ports
sudo setcap 'cap_net_bind_service=+ep' ${:ZIMBRA_HOME}/openldap/sbin/slapd
sudo setcap 'cap_net_bind_service=+ep' ${:ZIMBRA_HOME}/openldap/sbin/slapd
sudo setcap 'cap_net_bind_service=+ep' ${:ZIMBRA_HOME}/postfix/libexec/master
sudo setcap 'cap_net_bind_service=+ep' ${:ZIMBRA_HOME}/postfix/libexec/master
# allow executables to call chroot - appearently not needed
## sudo setcap 'cap_sys_chroot+ep' ${:ZIMBRA_HOME}/postfix/libexec/qmgr
## sudo setcap 'cap_sys_chroot+ep' ${:ZIMBRA_HOME}/postfix/libexec/pickup
## sudo setcap 'cap_sys_chroot+ep' ${:ZIMBRA_HOME}/postfix/libexec/showq
# clear credential cache to spot commands in zmsetup.pl that would require sudo
# clear credential cache to spot commands in zmsetup.pl that would require sudo
sudo -k
sudo -k
. ${:ZIMBRA_HOME}/.bashrc
echo
. ${:ZIMBRA_HOME}/.bashrc
ZIMBRA_INSTALLED_PKGS="${:PACKAGE_LIST}
" ${:ZIMBRA_HOME}/libexec/zmsetup.pl
echo ZIMBRA_INSTALLED_PKGS=\"${:PACKAGE_LIST}\
" ${:ZIMBRA_HOME}/libexec/zmsetup.pl
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment