Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341463 - =sys-apps/portage-2.1.9.19 dispatch-conf error when i migrate to baselayout2
Summary: =sys-apps/portage-2.1.9.19 dispatch-conf error when i migrate to baselayout2
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 335925
  Show dependency tree
 
Reported: 2010-10-17 14:39 UTC by Agostino Sarubbo
Modified: 2010-10-21 17:18 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2010-10-17 14:39:21 UTC
I see this error when i launch dispatch-conf, after baselayout upgrade.


devil ago # dispatch-conf 
dispatch-conf: Error copying /etc/conf.d/clock to /etc/config-archive/etc/conf.d/clock: [Errno 2] No such file or directory: '/etc/conf.d/clock'; fatal

(dispatch-conf works anyway)

Reproducible: Always

Steps to Reproduce:
1.echo "sys-apps/openrc" >> /etc/portage/package.keywords
2.echo "sys-apps/baselayout" >> /etc/portage/package.keywords
3.emerge openrc
4.dispatch-conf
Comment 1 Agostino Sarubbo gentoo-dev 2010-10-17 14:39:46 UTC
Portage 2.1.9.19 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.35-gentoo-r10 x86_64)
=================================================================
System uname: Linux-2.6.35-gentoo-r10-x86_64-Intel-R-_Pentium-R-_Dual_CPU_E2160_@_1.80GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 16 Oct 2010 14:30:01 +0000                                                                                                           
app-shells/bash:     4.1_p7                                                                                                                                  
dev-java/java-config: 2.1.11                                                                                                                                 
dev-lang/python:     2.6.5-r3, 3.1.2-r4                                                                                                                      
dev-util/cmake:      2.8.1-r2                                                                                                                                
sys-apps/baselayout: 2.0.1                                                                                                                                   
sys-apps/openrc:     0.6.3                                                                                                                                   
sys-apps/sandbox:    2.3-r1                                                                                                                                  
sys-devel/autoconf:  2.13, 2.65-r1                                                                                                                           
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1                                                                                                                
sys-devel/binutils:  2.20.1-r1                                                                                                                               
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=core2 -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms split-log splitdebug strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="it"
MAKEOPTS="-j4"
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://134.68.240.40/gentoo-portage"
USE="X acl acpi alsa amd64 bash-completion berkdb bzip2 cli cracklib crypt custom-cflags custom-optimization cxx dbus dri extras fortran gdbm gpm gtk hal iconv java jpeg jpeg2k kde mmx modules mp3 mudflap multilib ncurses networkmanager nls nptl nptlonly nsplugin nsplugindbus opengl openmp pam pcre perl pm-utils png pppd python qt3support qt4 readline reflection session sse sse2 ssl svg symlink sysfs tcpd test tiff unicode xorg zlib" ALSA_CARDS="hda-intel" 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="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" PHP_TARGETS="php-5.2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Zac Medico gentoo-dev 2010-10-21 12:38:38 UTC
I tried to reproduce this by extracting a stage3 tarball and performing the upgrade, but I didn't see this error on my first try.

Anyway, I suspect that you had an old /etc/conf.d/._cfg0000_clock file from a previous update that you had not applied. Then the openrc pkg_preinst phase came along and moved /etc/conf.d/clock to /etc/conf.d/hwclock. Finally, you ran dispatch-conf, and when it tried to process /etc/conf.d/._cfg0000_clock it produced that error message since it couldn't find /etc/conf.d/clock when it tried to make a backup copy.
Comment 3 Agostino Sarubbo gentoo-dev 2010-10-21 14:19:27 UTC
seeing the error I pointed out, if you can not reproduce it, may be that it is as you say ...
Comment 5 Zac Medico gentoo-dev 2010-10-21 17:18:15 UTC
This is fixed in 2.1.9.21 and 2.2_rc99.