Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79022 - find /etc -iname '._cfg????_*' returns nothing (from emerge --help config)
Summary: find /etc -iname '._cfg????_*' returns nothing (from emerge --help config)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-21 16:53 UTC by Robin Perkins
Modified: 2006-04-12 10:52 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 Robin Perkins 2005-01-21 16:53:07 UTC
After emerging packages I get the usual message:

 * GNU info directory index is up-to-date.
 * IMPORTANT: 7 config files in /etc need updating.
 * Type emerge --help config to learn how to update config files.

typing emerge --help config in effect tells me that I need to do a :

# find /etc -iname '._cfg????_*'

but this command returns nothing despite the ._cfg????_* files being there.

I asked around and think I established that the problem is that for Mac OS X - the /etc dir is a symlink (to /private/etc/).

So,

# find /private/etc -iname '._cfg????_*' 

works.

As does 

# find -L /etc -iname '._cfg????_*'

(follow symlinks).

Should this be something that can be changed for the whole of portage (im guessing the added -L won't break linux) or is it safer just to make a patch for macos X ?

Reproducible: Always
Steps to Reproduce:
Comment 1 Nick Dimiduk (RETIRED) gentoo-dev 2005-01-21 18:12:08 UTC
I thought this functionality was patched a long time ago.  What version of portage do you have installed?  Actually, the output from `emerge --info` is generally helpful for solving bugs.

Thanks!
Comment 2 Robin Perkins 2005-01-21 21:44:15 UTC
root# emerge --info
Portage 2.0.51-r14 (default-darwin/macos/10.3, gcc-3.3, libsystem-7.1-r0, 7.7.0 Power Macintosh)
=================================================================
System uname: 7.7.0 Power Macintosh powerpc
macos-20041118
Python:               [2.3 (#1, Sep 13 2003, 00:49:11)]
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc ncurses nls png ppc-macos readline"
Unset:  LDFLAGS
Comment 3 Robin Perkins 2005-02-04 07:33:04 UTC
I think this is related to, but not exactly,
href="http://bugs.gentoo.org/show_bug.cgi?id=60721

this is the bug for etc-update that had the same problem 

Should the documentation in 'emerge --help config' perhaps suggest users use 'etc-update' as opposed to    find /etc -iname '._cfg????_*'     ?
Comment 4 Lina Pezzella (RETIRED) gentoo-dev 2005-02-04 19:20:25 UTC
From the bottom of emerge --help config:

etc-update is also available to aid in the merging of these files. It provides
a vimdiff interactive merging setup and can auto-merge trivial changes.

If your version of portage does not display this message, then please update to the latest version.