Bug 109546 - [PATCH] devel/cvsd: fix startup error when chroot jail is not in use
Summary: [PATCH] devel/cvsd: fix startup error when chroot jail is not in use
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-26 05:30 UTC by Alexander Logvinov
Modified: 2007-02-26 22:50 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (1.15 KB, patch)
2007-02-26 05:30 UTC, Alexander Logvinov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Logvinov 2007-02-26 05:30:06 UTC
 We can find folowing instructions in cvsd.conf.sample:
 
# RootJail <path>
#  This is the location of the chroot jail
#  cvs should be run in.
#  Specify 'none' (without quotes) to not use
#  a chroot jail.

 But when RootJail is set to 'none' there is some errors on starting
 rc_subr script and cvsd doesn't start.

How-To-Repeat: 
 Set RootJail to 'none' in the cvsd.conf.
 Start cvsd without cvsd-buildroot execution.
 
# /usr/local/etc/rc.d/cvsd start
mount: /none: No such file or directory
devfs: open: none/dev: No such file or directory
devfs: open: none/dev: No such file or directory
devfs: open: none/dev: No such file or directory

# /usr/local/etc/rc.d/cvsd stop
cvsd not running?
Comment 1 Edwin Groothuis freebsd_committer 2007-02-26 05:30:24 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Andrey V. Elsukov 2007-02-26 06:08:41 UTC
Edwin Groothuis wrote:
> The full text of the PR can be found at:
>     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/109546
> 

I'm not against. Thanks.

-- 
WBR, Andrey V. Elsukov
Comment 3 dfilter service freebsd_committer 2007-02-26 22:49:40 UTC
miwi        2007-02-26 22:49:34 UTC

  FreeBSD ports repository

  Modified files:
    devel/cvsd           Makefile 
    devel/cvsd/files     cvsd.in 
  Log:
  - Bump PORTREVISION
  - When RootJail is set to 'none' there is some errors on starting
    rc_subr script and cvsd doesn't start. This patch solved
    the Problem.
  
  PR:             109546
  Submitted by:   Alexander Logvinov <ports@logvinov.com>
  Approved by:    maintainer
  
  Revision  Changes    Path
  1.43      +1 -0      ports/devel/cvsd/Makefile
  1.2       +3 -3      ports/devel/cvsd/files/cvsd.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Martin Wilke freebsd_committer 2007-02-26 22:49:48 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!