From: Lars Braeuer (lbraeuer_at_mpex.net)
Date: Sat 07 Dec 2002 - 16:38:28 GMT
Herbert Poetzl wrote:
> I did not check the suse base packages, they seem to
> include several files (which will be necessary), but
> maybe there is another package representing the mentioned
> pre-installed files, but I can give you an example for
> mandrake ...
>
> # rpm -ql basesystem-8.2-1mdk
> (contains no files)
>
> # rpm -q --provides basesystem-8.2-1mdk
> basesystem = 8.2-1mdk
see the output of rpm -ql aaa_base (from my hostsystem) on bottom.
> >So do you mean that it's the right approach to copy a set of base files
> >(passwd/group/shadow) from the installation cd before running the base
> >installation, so that everyhting is there for a "base" installation? and
> >afterwards just install the aaa_base package?
>
>
> yes, I think so, but maybe you should take a look
> at the installation scripts, on the SuSE CD ...
I can't find any. there are a few lists of the different installation
methods (minimal, full, etc.) but they also start with the aaa_base packet.
I think the rest of the installation process is not transparent. maybe
I'm getting something wrong here.
> >On a redhat vserver installation, which rpm is responsible for the
> >passwd and group files?
>
>
> if you have all RPMs of any rpm based distribution, you
> can easily create a list of files/provides included.
>
> # rpm -ql -p
>
> will list all files in a package (or in the given packages)
>
> # rpm -q --provides -p
>
> will list the provided symbols/versions ...
>
> so if you make a loop over all packages, writing
> the package name and then listing the files/provides
> you'll be able to locate packages for files easily.
I know the commands you posted above, I just don't have a redhat system
installed to check this. ah, well rpmfind shows a rpm called "setup".
setup-2.5.20-1.noarch.rpm
A set of system configuration and setup files. RedHat-8.0 for i386
---------------
don't wonder that /etc/passwd is not included here. it's created by the
preinstall script, in case it is not already present in the system.
# rpm -ql aaa_base
/bin/fillup
/etc/DIR_COLORS
/etc/SuSE-release
/etc/conf.modules
/etc/cron.daily/aaa_base
/etc/cron.daily/aaa_base_backup_rpmdb
/etc/cron.daily/aaa_base_clean_catman
/etc/cron.daily/aaa_base_clean_core
/etc/cron.daily/aaa_base_clean_instlog
/etc/cron.daily/aaa_base_clean_tmp
/etc/cron.daily/aaa_base_do_mandb
/etc/cron.daily/aaa_base_rotate_logs
/etc/cron.daily/aaa_base_updatedb
/etc/csh.cshrc
/etc/csh.login
/etc/default/useradd
/etc/hushlogins
/etc/inittab
/etc/inputrc
/etc/issue
/etc/issue.net
/etc/ld.so.conf
/etc/logfiles
/etc/mailcap
/etc/mime.types
/etc/modules.conf
/etc/motd
/etc/netgroup
/etc/nsswitch.conf
/etc/permissions
/etc/permissions.easy
/etc/permissions.paranoid
/etc/permissions.secure
/etc/ppp/ip-down
/etc/ppp/ip-up
/etc/ppp/poll.tcpip
/etc/profile
/etc/profile.dos
/etc/rc.d.README
/etc/rc.status
/etc/runlevel.fallback
/etc/shells
/etc/ttytype
/etc/zshrc
/lib/YaST/SuSEconfig.functions
/lib/YaST/bootsetup
/lib/YaST/bootsetup.conf
/root/.exrc
/root/.xinitrc
/sbin/SuSEconfig
/sbin/bootp
/sbin/get_kernel_version
/sbin/init.d/README
/sbin/init.d/boot
/sbin/init.d/boot.d/S10serial
/sbin/init.d/boot.d/S20boot.setup
/sbin/init.d/boot.setup
/sbin/init.d/cron
/sbin/init.d/dummy
/sbin/init.d/halt
/sbin/init.d/kerneld
/sbin/init.d/network
/sbin/init.d/nfs
/sbin/init.d/nscd
/sbin/init.d/pcnfsd
/sbin/init.d/powerfail
/sbin/init.d/random
/sbin/init.d/rc
/sbin/init.d/rc0.d/S20halt
/sbin/init.d/rc1.d/K30random
/sbin/init.d/rc1.d/K45dummy
/sbin/init.d/rc1.d/K99kerneld
/sbin/init.d/rc1.d/S01kerneld
/sbin/init.d/rc1.d/S04dummy
/sbin/init.d/rc1.d/S13random
/sbin/init.d/rc2.d/K19cron
/sbin/init.d/rc2.d/K19nscd
/sbin/init.d/rc2.d/K23pcnfsd
/sbin/init.d/rc2.d/K30random
/sbin/init.d/rc2.d/K35routed
/sbin/init.d/rc2.d/K36nfs
/sbin/init.d/rc2.d/K38route
/sbin/init.d/rc2.d/K40network
/sbin/init.d/rc2.d/K45dummy
/sbin/init.d/rc2.d/K99kerneld
/sbin/init.d/rc2.d/S01kerneld
/sbin/init.d/rc2.d/S04dummy
/sbin/init.d/rc2.d/S05network
/sbin/init.d/rc2.d/S07route
/sbin/init.d/rc2.d/S09nfs
/sbin/init.d/rc2.d/S10routed
/sbin/init.d/rc2.d/S13random
/sbin/init.d/rc2.d/S17pcnfsd
/sbin/init.d/rc2.d/S21cron
/sbin/init.d/rc2.d/S21nscd
/sbin/init.d/rc3.d/K10xdm
/sbin/init.d/rc3.d/K19cron
/sbin/init.d/rc3.d/K19nscd
/sbin/init.d/rc3.d/K23pcnfsd
/sbin/init.d/rc3.d/K30random
/sbin/init.d/rc3.d/K35routed
/sbin/init.d/rc3.d/K36nfs
/sbin/init.d/rc3.d/K38route
/sbin/init.d/rc3.d/K40network
/sbin/init.d/rc3.d/K45dummy
/sbin/init.d/rc3.d/K99kerneld
/sbin/init.d/rc3.d/S01kerneld
/sbin/init.d/rc3.d/S04dummy
/sbin/init.d/rc3.d/S05network
/sbin/init.d/rc3.d/S07route
/sbin/init.d/rc3.d/S09nfs
/sbin/init.d/rc3.d/S10routed
/sbin/init.d/rc3.d/S13random
/sbin/init.d/rc3.d/S17pcnfsd
/sbin/init.d/rc3.d/S21cron
/sbin/init.d/rc3.d/S21nscd
/sbin/init.d/rc3.d/S30xdm
/sbin/init.d/rc6.d/S20reboot
/sbin/init.d/rcS.d/K20single
/sbin/init.d/rcS.d/S20single
/sbin/init.d/reboot
/sbin/init.d/route
/sbin/init.d/routed
/sbin/init.d/serial
/sbin/init.d/single
/sbin/init.d/skeleton
/sbin/init.d/xdm
/sbin/mk_initrd
/sbin/rctab
/usr/bin/ChangeSymlinks
/usr/bin/chkstat
/usr/bin/filesize
/usr/bin/mkinfodir
/usr/bin/old
/usr/bin/pkgmake
/usr/bin/pkgpack
/usr/bin/rpmlocate
/usr/bin/safe-rm
/usr/etc/mailcap
/usr/etc/mime.types
/usr/sbin/Check
/usr/sbin/rcboot.setup
/usr/sbin/rccron
/usr/sbin/rcdummy
/usr/sbin/rckerneld
/usr/sbin/rcnetwork
/usr/sbin/rcnfs
/usr/sbin/rcnscd
/usr/sbin/rcpcnfsd
/usr/sbin/rcpowerfail
/usr/sbin/rcrandom
/usr/sbin/rcroute
/usr/sbin/rcrouted
/usr/sbin/rcserial
/usr/sbin/rcsingle
/usr/sbin/rcxdm
/usr/share/doc/packages/aaa_base/fillup.txt
/usr/share/doc/support/suppengl.txt
/usr/share/doc/support/suppform.txt
/usr/share/info/fillup.info.gz
/usr/share/man/man5/nsswitch.conf.5.gz
/usr/share/man/man5/route.conf.5.gz
/usr/share/man/man7/init.d.7.gz
/usr/share/man/man8/fillup.8.gz
/usr/share/man/man8/rctab.8.gz
/usr/share/man/man8/resolv+.8.gz
/var/adm/fillup-templates/gshadow.aaa_base
/var/adm/fillup-templates/rc.config.aaa_base
/var/adm/fillup-templates/rc.config.aaa_base.oldstat
/var/adm/fillup-templates/shadow.aaa_base