Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 387279

Summary: dev-vcs/subversion-1.6.17-r6 and later init scripts fail with baselayout-1
Product: Gentoo Linux Reporter: ian <gentoo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WONTFIX    
Severity: normal CC: mjo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description ian 2011-10-16 08:43:16 UTC
I am still running baselayout-1 (specificaly 1.12.14-r1)
Updating subversion (from 1.6.17 to 1.7) result in the init script failing to start the server.
This appears to be due to a change in the init script (from 1.6.17-r6) to use the 'user' option of start-stop-daemon rather than the 'chuid' option.
However, the baselayout-1 version of start-stop-daemon doesn't appear to understand this.
Editing the initscript to use 'chuid' instead of 'user' fixes it.

Should these later versions of subversion not have a dependency on baselayout-2 ?



Reproducible: Always

Steps to Reproduce:
1. be using baselayout-1.12.14-r1
2. emerge subversion
3. /etc/init.d/svnserve start

Actual Results:  
 * Starting svnserve ...
/sbin/start-stop-daemon: user `svn:svn' not found


Portage 2.1.10.3 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.12.2-r0, 2.6.35-gentoo-r15 i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r15-i686-VIA_Nehemiah-with-gentoo-1.12.14
Timestamp of tree: Sun, 16 Oct 2011 03:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:          4.1_p9
dev-lang/python:          2.5.4-r4, 2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/ccache:          2.4-r9
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.25-r2
sys-apps/baselayout:      1.12.14-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.68
sys-devel/automake:       1.9.6-r2::<unknown repository>, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.1.2, 4.3.4, 4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-Os -march=i686 -msse -mmmx -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/squeezecenter/prefs"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-Os -march=i686 -msse -mmmx -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-Os -march=i686 -msse -mmmx -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="ftp://ftp.cc.uoc.gr/mirrors/linux/gentoo/ http://212.219.56.133/sites/www.ibiblio.org/gentoo/ http://212.219.56.134/sites/www.ibiblio.org/gentoo/ http://91.121.124.139/gentoo-distfiles/ ftp://mirror.bytemark.co.uk/gentoo/"
LC_ALL="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="aac berkdb blas bzip2 cli cracklib crypt cxx dbus dri dvb dvdread encode exif extras faac ffmpeg flac fortran gdbm gpm hal iconv idn imap jpeg lame lapack lm_sensors logmail maildir mmx modules mp3 mudflap mysql ncurses nls nptl nptlonly openmp pam pcre png pppd qt3support readline server session sse ssl svnserve sysfs tcpd thumbnail unicode usb win32codecs wma x264 x86 xattr xinetd xml xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="dir mime authz_host dav" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="usb-wt220u" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev vesa via" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michael Orlitzky gentoo-dev 2011-10-16 18:19:47 UTC
baselayout-1 isn't in the tree any more, so sys-apps/baselayout (which is in the system set) is equivalent to >=sys-apps/baselayout-2.

In other words, everything already implicitly depends on baselayout-2.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-10-18 18:30:38 UTC
  04 Sep 2011; William Hubbs <williamh@gentoo.org>
  -baselayout-1.12.14-r1.ebuild, -files/baselayout-1.12.14-iproute.patch:
  Remove baselayout-1 from the tree