Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136174 - modules-update breaks on /etc/devfs.d/amanda (was: amanda ebuild creates /etc/devfs.d/amanda)
Summary: modules-update breaks on /etc/devfs.d/amanda (was: amanda ebuild creates /etc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 140306 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-09 05:02 UTC by Martin Stockinger
Modified: 2006-07-14 02:59 UTC (History)
2 users (show)

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 Martin Stockinger 2006-06-09 05:02:38 UTC
app-backup/amanda-2.4.5 and app-backup/amanda-2.4.5_p1 create
"/etc/devfs.d/amanda". This should not be done at a kernel 2.6 system with udev.
This confuses /sbin/modules-update.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-06-11 02:47:57 UTC
Removing the devfs.d files would break installs that still use devfs (2.4 kernels, and some 2.6 users as well).

I'd call modules-update broken instead. Please include here your output that shows how modules-update is breaking for you.
Comment 2 Martin Stockinger 2006-06-11 22:47:33 UTC
(In reply to comment #1)
> I'd call modules-update broken instead. Please include here your output that
> shows how modules-update is breaking for you.

Steps to get the modules-update problem:
root# mkdir /etc/devfs.d
root# touch /etc/devfs.d/amanda
root# modules-update 
 * Warning: the current /etc/modules.devfs has not been automatically generated
 * Use "modules-update force" to force (re)generation

root> root# modules-update force
 * Warning: the current /etc/modules.devfs has not been automatically generated
 * --force specified, (re)generating file anyway
 * Updating /etc/modules.conf ...                                                                                                    [ ok ] * Updating /etc/modprobe.conf ...                                                                                                   [ ok ] * Updating modules.dep ...                                                                                                          [ ok ]33 pc20170:/usr/portage/app-backup/amanda


But if I make another modules-update I always get the same warning/error. The error message also apears at boot.

root# modules-update 
 * Warning: the current /etc/modules.devfs has not been automatically generated
 * Use "modules-update force" to force (re)generation
Comment 3 SpanKY gentoo-dev 2006-06-24 23:36:06 UTC
this has been fixed in latest baselayout

i can only assume you're running an outdated one seeing as how you didnt post `emerge info`
Comment 4 Martin Stockinger 2006-06-26 23:20:59 UTC
Portage 2.1-r1 (!/usr/portage/profiles/default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.60GHz
Gentoo Base System version 1.12.0
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/lib/fax /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/mount/portage_distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="C"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/mount/portage_packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mount/portage"
PORTDIR_OVERLAY="/usr/local/overlays/local /global/common/gentoo_overlay"
SYNC="rsync://rsync-gentoo/gentoo-portage"
USE="x86 X Xaw3d acpi alsa apache2 apm asf athena automount avi berkdb bitmap-fonts buffysize cdparanoia chroot cli crypt cups divx4linux dri dvd dvdr emboss encode erandom esd fbcon firefox flac font-server foomaticdb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hbci i8x0 iconv idea imap imlib informix isdnlog javascript jpeg kerberos ldap libg++ libwww logrotate lzw mad maildir mbox mikmod mime mmx motif moznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mpeg mplayer ncurses nfs nis nls no-old-linux nosendmail nptl nsplugin ogg opengl oracle overlays pam pcre pda pdflib perl png ppds pppd procmail python qt quicktime quotas readline real reflection samba sasl sdl sensord session spell spl sse sse2 ssl syslog tcpd tools transcode truetype truetype-fonts type1-fonts udev unicode urandom userlocales vorbis win32codecs xine xml xmms xorg xprint xv zlib elibc_glibc kernel_linux linguas_de userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Martin Stockinger 2006-06-26 23:23:26 UTC
(In reply to comment #3)
> this has been fixed in latest baselayout
> 
> i can only assume you're running an outdated one seeing as how you didnt post
> `emerge info`
> 

Sorry that I didn't post 'emerge info', but I use the latest stable
baselayout (sys-apps/baselayout-1.12.0-r1).

And the problem is not solved yet:

27 pc20170:root# mkdir /etc/devfs.d
28 pc20170:root# touch /etc/devfs.d/amanda
29 pc20170:root# modules-update
 * Warning: the current /etc/modules.devfs has not been automatically
 * generated
 * Use "modules-update force" to force (re)generation
30 pc20170:root# modules-update force
 * Warning: the current /etc/modules.devfs has not been automatically
 * generated
 * --force specified, (re)generating file anyway
 * Updating /etc/modules.conf ...
 * [ ok ] * Updating /etc/modprobe.conf ...
 * [ ok ] * Updating modules.dep ...
 * [ ok ]
31 pc20170:root# modules-update
 * Warning: the current /etc/modules.devfs has not been automatically
 * generated
 * Use "modules-update force" to force (re)generation

Comment 6 SpanKY gentoo-dev 2006-06-26 23:41:44 UTC
ok, ive fixed this up in svn ... it'll be in the next release of baselayout
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-07-14 02:59:09 UTC
*** Bug 140306 has been marked as a duplicate of this bug. ***