<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>177298</bug_id>
          
          <creation_ts>2007-05-06 10:15 0000</creation_ts>
          <short_desc>app-misc/ca-certificates-20070303 removes /etc/ca-certificates.conf</short_desc>
          <delta_ts>2007-05-06 11:33:15 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>remy.blank@pobox.com</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          <cc>jakub@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>remy.blank@pobox.com</who>
            <bug_when>2007-05-06 10:15:20 0000</bug_when>
            <thetext>I updated to app-misc/ca-certificates-20070303 and found that /etc/ca-certificates.conf had disappeared. As a result, update-ca-certificates doesn&apos;t work anymore, with the following message:

# update-ca-certificates
Updating certificates in /etc/ssl/certs....sed: can&apos;t read /etc/ca-certificates.conf: No such file or directory
sed: can&apos;t read /etc/ca-certificates.conf: No such file or directory
done.

This can be fixed with the following patch to the ebuild:

--- ca-certificates-20070303.ebuild.orig        2007-05-06 12:12:37.000000000 +0200
+++ ca-certificates-20070303.ebuild     2007-05-06 12:12:59.000000000 +0200
@@ -30,7 +30,7 @@
        (
        cd &quot;${D}&quot;/usr/share/ca-certificates
        find . -name &apos;*.crt&apos; | sort | cut -b3-
-       ) &gt; etc/ca-certificates.conf
+       ) &gt; &quot;${D}&quot;/etc/ca-certificates.conf

        mv &quot;${D}&quot;/usr/share/doc/{ca-certificates,${PF}} || die
        prepalldocs</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>remy.blank@pobox.com</who>
            <bug_when>2007-05-06 10:26:01 0000</bug_when>
            <thetext>Strangely enough, the redirection has been like that since 20050804. I wonder why it doesn&apos;t work anymore. And it&apos;s even stranger that /etc/ca-certificates.conf was removed when that file is not in CONFIG_PROTECT_MASK:

&lt;&lt;&lt;        obj /usr/share/ca-certificates/cacert.org/cacert.org.crt
--- !mtime obj /usr/share/ca-certificates/brasil.gov.br/brasil.gov.br.crt
--- !mtime obj /usr/sbin/update-ca-certificates
&lt;&lt;&lt;        obj /etc/ca-certificates.conf
--- !empty dir /usr/share/man/man8
--- !empty dir /usr/share/man

Here&apos;s my emerge --info, just in case.

# emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19-rbl-r5 i686)
=================================================================
System uname: 2.6.19-rbl-r5 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 06 May 2007 01:00:09 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-Os -mtune=pentium-m -fomit-frame-pointer -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c&quot;
CXXFLAGS=&quot;-Os -mtune=pentium-m -fomit-frame-pointer -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;ccache collision-protect distcc distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;http://morpheus.sathome/gentoo/ http://mirror.switch.ch/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/&quot;
LANG=&quot;en_US.utf8&quot;
MAKEOPTS=&quot;-j4&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/portage/local/layman/sunrise /usr/local/portage&quot;
SYNC=&quot;rsync://morpheus.sathome/gentoo-portage&quot;
USE=&quot;X aac acl acpi akode alsa arts audiofile avahi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdb cddb cdparanoia cdr cli cracklib crypt cups curl dbus dga divx4linux dri dv dvd dvdread eds emboss encode exif expat fam ffmpeg firefox flac foomaticdb ftp gd gdbm gif gimp glut gmp gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn ieee1394 imagemagick imap imlib isdnlog java jbig jikes jpeg jpeg2k junit kde kdehiddenvisibility lame lcms libg++ libwww logrotate lzo mad maildir mbox midi mikmod mmap mmx mmx2 mng motif mp3 mpeg mplayer ncurses nfs nls nntp nptl nptlonly nsplugin ogg openexr opengl oss pam pcmcia pcre pda pdf perl plotutils png pppd pthreads python qt qt3 qt4 quicktime readline real reflection rle rtc samba sasl scanner sdl session slang snmp speex spell spl sqlite sse sse2 ssl subversion svg svga tcl tcltk tcpd tetex theora threads tiff tk truetype truetype-fonts type1-fonts unicode usb utempter v4l v4l2 vorbis wifi win32codecs wmf wxwindows x264 x86 xattr xine xml xml2 xorg xosd xprint xscreensaver xv xvid zeroconf zlib&quot; ALSA_CARDS=&quot;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&quot; ALSA_PCM_PLUGINS=&quot;adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;keyboard mouse&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;fbdev fglrx radeon vesa&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>remy.blank@pobox.com</who>
            <bug_when>2007-05-06 10:32:45 0000</bug_when>
            <thetext>Some more info: same problem on another machine. I installed manually using:

  ebuild /usr/portage/app-misc/ca-certificates/ca-certificates-20070303.ebuild install

and ca-certificates.conf is created in:

  /var/tmp/portage/app-misc/ca-certificates-20070303/work/etc

instead of:

  /var/tmp/portage/app-misc/ca-certificates-20070303/image/etc</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-05-06 11:33:15 0000</bug_when>
            <thetext>fixed in ca-certificates-20070303-r1</thetext>
          </long_desc>
      
    </bug>

</bugzilla>