Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113458 - subversion.eclass: ssl-certificates cannot be saved permanently
Summary: subversion.eclass: ssl-certificates cannot be saved permanently
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Akinori Hattori
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-24 05:28 UTC by Emil Beinroth
Modified: 2005-12-24 06:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Use a safer location for config-dir. (subversion.eclass-config-dir.patch,1.32 KB, patch)
2005-11-24 05:37 UTC, Emil Beinroth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Emil Beinroth 2005-11-24 05:28:12 UTC
subversion.eclass uses the default config-dir (~/.subversion),
which is /var/tmp/portage/homedir/.subversion.
But this directory is removed by portage .. thus any certificates saved are lost.

Reproducible: Always
Steps to Reproduce:
1.emerge a svn ebuild, wait for 'Error validating server certificate for ..' and
accept permanently
2.emerge the package again

Actual Results:  
I'am again asked to choose "(R)eject, accept (t)emporarily or accept (p)ermanently"

Expected Results:  
The certificate should be stored permanently and I should not be asked again.

Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-4.1.0-beta20051112,
glibc-2.3.6-r1, 2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.0_pre11
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/X11/xkb /usr/share/config /var/qmail/control /var/www/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d/ /etc/man.conf /etc/terminfo
/etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/local/portage/distfiles"
FEATURES="autoconfig ccache distlocks parallel-fetch sandbox sfperms strict
titles userpriv"
GENTOO_MIRRORS=" http://linux.rz.ruhr-uni-bochum.de/gentoo-mirror
http://www.ibiblio.org/pub/Linux/distributions/gentoo "
LANG="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/local/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/local /usr/local/portage/eix1
/usr/local/portage/eix2 /usr/local/portage/gentopia"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac abook alsa apm async audiofile avi bash-completion
bitmap-fonts buffysize bzip2 c++ cdb cdr chroot crypt cscope cups curl dba
disablexmb dts dvd dvdr dvdread encode exif expat fbcon ffmpeg font-server
foomaticdb gd gdbm gimpprint glibc-omitfp glut gnutls gpm gtk gtk2 hal id3
imagemagick imap imlib imlib2 jabber java javascript jpeg junit kdeenablefinal
lame libwww lm_sensors lynxkeymap matroska mbox mime mmx mng mozdevelop
moznocompose moznoirc moznomail mp3 mp4live mpeg mpeg2 mpeg4 mplayer ncurses nfs
nptl nptlonly nsplugin offensive ogg oggvorbis opengl openssl pam pcre pdflib
perl png ppds python qt quicktime readline recode reiserfs samba sasl slang
smime sox sqlite sse ssl svga tetex tiff truetype truetype-fonts type1-fonts
udev unicode usb userlocales utf8 vorbis win32codecs xine xml xml2 xosd xprint
xv xvid zlib video_cards_nvidia userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Emil Beinroth 2005-11-24 05:37:30 UTC
Created attachment 73489 [details, diff]
Use a safer location for config-dir.

Use ${ESVN_STORE_DIR}/.subversion or /root/.subversion as config-dir, depending
on $FEATURES (userpriv).
Comment 2 Akinori Hattori gentoo-dev 2005-12-24 06:18:57 UTC
Fixed in CVS. Thank you for reporting!