[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re[4]: can not start SVNserve

From: KES <kes-kes_at_yandex.ru>
Date: Thu, 18 Dec 2008 09:52:42 +0200

Здравствуйте, David.

DW> Is user "svn" a member of the group "wheel"? See
DW> http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/063649.html

It is not required to be member of group wheel to low process rights from root.
wheel group is requierd only if I want to rise my rights to root.

Also notice that on both systems 'home' and 'kes' there is svn group
and user. The svn user is not member of wheel group. On both systems
user svn has not home directory and has not valid shell (because of it
is not required to login as svn user, this is just user to start
svnserve process)

On FreeBSD 7.0 svnserve startsup normally, on 7.1 it can not

Error is described earlier.

DW> On Wed, Dec 17, 2008 at 3:02 PM, KES <kes-kes_at_yandex.ru> wrote:
>> Здравствуйте, Mel.
>>
>> Вы писали 17 декабря 2008 г., 9:11:19:
>>
>> M> On Sunday 14 December 2008 16:11:17 KES wrote:
>>>> Здравствуйте, Polytropon.
>>>>
>>>> Вы писали 14 декабря 2008 г., 15:11:35:
>>>>
>>>> P> On Sun, 14 Dec 2008 12:58:55 +0100 (CET), Wojciech Puchar
>>>>
>>>> P> <wojtek_at_wojtek.tensor.gdynia.pl> wrote:
>>>> >> > su: Sorry
>>>> >> >
>>>> >> >
>>>> >> > kes# pw user mod svn -s /bin/bash
>>>> >> > kes# pw user show svn
>>>> >> > svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash
>>>> >> > kes# /usr/local/etc/rc.d/svnserve start
>>>> >> > Starting svnserve.
>>>> >> > su: Sorry
>>>> >>
>>>> >> try to change directory to existent
>>>>
>>>> P> (1) What's /bin/bash? Check existing shell.
>>>>
>>>> P> (2) As you said: Check existing directory.
>>>>
>>>> P> (3) Regarding su, check for wheel group inclusion.
>>>>
>>>> home# uname -a
>>>> FreeBSD home.kes.net.ua 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Aug 12
>>>> 02:11:24 EEST 2008 kes_at_kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7
>>>> i386 home# pw user show svn
>>>> svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin
>>>>
>>>> As you can see on 'home' machine svn user has no valid shell also it
>>>> has not valid home directory and it is not included into wheel group
>>>>
>>>> But svnserve is started and works fine. With same settings svnserve
>>>> does not work on
>>>> kes# uname -a
>>>> FreeBSD kes.net.ua 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #: Sun Nov 23
>>>> 17:19:12 EET 2008 kes_at_home.kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7
>>>> i386
>>
>> M> echo 'rc_debug="YES"'>>/etc/rc.conf
>> M> /usr/local/etc/rc.d/svnserve start
>>
>> M> Show output from /var/log/messages.
>>
>> kes# kes# /usr/local/etc/rc.d/svnserve start
>> /usr/local/etc/rc.d/svnserve: DEBUG: checkyesno: svnserve_enable is set to YES.
>> Starting svnserve.
>> /usr/local/etc/rc.d/svnserve: DEBUG: run_rc_command: doit: su -m svn -c 'sh -c "/usr/local/bin/svnserve -d --listen-port=3690 --foreground -r /var/db/trunk"'
>> su: Sorry
>>
>>
>> --
>> С уважением,
>> KES mailto:kes-kes_at_yandex.ru
>>
>>

-- 
С уважением,
 KES                          mailto:kes-kes_at_yandex.ru
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=986397
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-18 14:32:02 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.