Mailinglist Archive: opensuse-bugs (4775 mails)
< Previous | Next > |
[Bug 1049448] New: subversion: cannot easily configure svnserve as a user/group other than svn/svn
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Wed, 19 Jul 2017 13:33:19 +0000
- Message-id: <bug-1049448-21960@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1049448
Bug ID: 1049448
Summary: subversion: cannot easily configure svnserve as a
user/group other than svn/svn
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: Other
OS: Other
Status: NEW
Severity: Minor
Priority: P5 - None
Component: Development
Assignee: astieger@xxxxxxxx
Reporter: astieger@xxxxxxxx
QA Contact: qa-bugs@xxxxxxx
CC: astieger@xxxxxxxx, dmueller@xxxxxxxx, stsp@xxxxxxxx,
tchvatal@xxxxxxxx
Found By: ---
Blocker: ---
SVNSERVE_OPTIONS="-d -R -r /srv/svn/repos"
SVNSERVE_USERID="svn"
SVNSERVE_GROUPID="svn"
[Service]
Type=forking
EnvironmentFile=/etc/sysconfig/svnserve
User=svn
Group=svn
PIDFile=/var/run/svnserve/svnserve.pid
ExecStart=/usr/bin/svnserve --daemon --pid-file=/var/run/svnserve/svnserve.pid
$SVNSERVE_OPTIONS
User would like to read the svnserve user and group from
/etc/sysconfig/svnserve, and have it passed to system for running the daemon.
User=$SVNSERVE_USERID
Group=$SVNSERVE_GROUPID
However values from EnvironmentFile cannot be used for this expansion. So the
/etc/sysconfig/svnserve has some leftover from the pre-systemd times, or that
specifying user/group to something other than svn does not work.
--
You are receiving this mail because:
You are on the CC list for the bug.
Bug ID: 1049448
Summary: subversion: cannot easily configure svnserve as a
user/group other than svn/svn
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: Other
OS: Other
Status: NEW
Severity: Minor
Priority: P5 - None
Component: Development
Assignee: astieger@xxxxxxxx
Reporter: astieger@xxxxxxxx
QA Contact: qa-bugs@xxxxxxx
CC: astieger@xxxxxxxx, dmueller@xxxxxxxx, stsp@xxxxxxxx,
tchvatal@xxxxxxxx
Found By: ---
Blocker: ---
From /etc/sysconfig/svnserve
SVNSERVE_OPTIONS="-d -R -r /srv/svn/repos"
SVNSERVE_USERID="svn"
SVNSERVE_GROUPID="svn"
From /usr/lib/systemd/system/svnserve.service, the svn user/group is hardcoded.
[Service]
Type=forking
EnvironmentFile=/etc/sysconfig/svnserve
User=svn
Group=svn
PIDFile=/var/run/svnserve/svnserve.pid
ExecStart=/usr/bin/svnserve --daemon --pid-file=/var/run/svnserve/svnserve.pid
$SVNSERVE_OPTIONS
User would like to read the svnserve user and group from
/etc/sysconfig/svnserve, and have it passed to system for running the daemon.
User=$SVNSERVE_USERID
Group=$SVNSERVE_GROUPID
However values from EnvironmentFile cannot be used for this expansion. So the
/etc/sysconfig/svnserve has some leftover from the pre-systemd times, or that
specifying user/group to something other than svn does not work.
--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous | Next > |