Re: Debian modules
Paul Cupis wrote:
Jim Popovitch wrote:
I've installed Debian Sarge on a few *servers*, and I see that the
default kernel loads many more modules than I need (snd_*, floppy,
vesafb, etc.)  Is there a way to prevent Sarge from loading a bunch of
crap automatically?
Can you provide the output of 'dpkg -l' and/or a listing of the contents
of /etc/init.d, please?
Here's ls -1 /etc/init.d:
README
bind9
bootclean.sh
bootlogd
bootmisc.sh
checkfs.sh
checkroot.sh
console-screen.sh
cron
halt
hostname.sh
hwclock.sh
hwclockfirst.sh
ifupdown
ifupdown-clean
inetd
initrd-tools.sh
iptables
keymap.sh
klogd
makedev
module-init-tools
modutils
monit
mountall.sh
mountnfs.sh
mountvirtfs
networking
ntp-server
nullmailer
openvpn
procps.sh
rc
rcS
reboot
rmnologin
rsync
screen-cleanup
sendsigs
single
skeleton
smartmontools
ssh
stop-bootlogd
stunnel4
sysklogd
umountfs
umountnfs.sh
urandom
Here's dpkg -l:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  adduser        3.63           Add and remove users and groups
ii  apt            0.5.28.6       Advanced front-end for dpkg
ii  apt-utils      0.5.28.6       APT utility programs
ii  base-files     3.1.2          Debian base system miscellaneous files
ii  base-passwd    3.5.9          Debian base system master password and 
group
ii  bash           2.05b-26       The GNU Bourne Again SHell
ii  bc             1.06-15        The GNU bc arbitrary precision 
calculator la
ii  bind9          9.2.4-1        Internet Domain Name Server
ii  bind9-host     9.2.4-1        Version of 'host' bundled with BIND 9.X
ii  binutils       2.15-6         The GNU assembler, linker and binary 
utiliti
ii  bsdmainutils   6.0.17         collection of more utilities from FreeBSD
ii  bsdutils       2.12p-4sarge1  Basic utilities from 4.4BSD-Lite
ii  bzip2          1.0.2-7        high-quality block-sorting file 
compressor -
ii  console-common 0.7.49         Basic infrastructure for text console 
config
ii  console-data   2002.12.04dbs- Keymaps, fonts, charset maps, fallback 
table
ii  console-tools  0.2.3dbs-56    Linux console and font utilities
ii  coreutils      5.2.1-2        The GNU core utilities
ii  cpio           2.5-1.3        GNU cpio -- a program to manage 
archives of
ii  cpp            3.3.5-3        The GNU C preprocessor (cpp)
ii  cpp-3.3        3.3.5-13       The GNU C preprocessor
ii  cramfsprogs    1.1-6          Tools for CramFs (Compressed ROM File 
System
ii  cron           3.0pl1-86      management of regular background 
processing
ii  daemon         0.6.3-1        turns other processes into daemons
ii  dash           0.5.2-5        The Debian Almquist Shell
ii  dc             1.06-15        The GNU dc arbitrary precision 
reverse-polis
ii  debconf        1.4.30.13      Debian configuration management system
ii  debconf-i18n   1.4.30.13      full internationalization support for 
debcon
ii  debconf-utils  1.4.30.13      debconf utilities
ii  debianutils    2.8.4          Miscellaneous utilities specific to Debian
ii  diff           2.8.1-11       File comparison utilities
ii  dnsutils       9.2.4-1        Clients provided with BIND
ii  dpkg           1.10.28        Package maintenance system for Debian
ii  dselect        1.10.28        a user tool to manage Debian packages
ii  e2fslibs       1.37-2sarge1   ext2 filesystem libraries
ii  e2fsprogs      1.37-2sarge1   ext2 file system utilities and libraries
ii  ed             0.2-20         The classic unix line editor
ii  eject          2.0.13deb-8sar ejects CDs and operates CD-Changers 
under Li
ii  exuberant-ctag 5.5.4-1        build tag file indexes of source code 
defini
ii  file           4.12-1         Determines file type using "magic" numbers
ii  findutils      4.1.20-6       utilities for finding files--find, 
xargs, an
ii  ftp            0.17-12        The FTP client.
ii  gawk           3.1.4-2        GNU awk, a pattern scanning and 
processing l
ii  gcc            3.3.5-3        The GNU C compiler
ii  gcc-3.3        3.3.5-13       The GNU C compiler
ii  gcc-3.3-base   3.3.5-13       The GNU Compiler Collection (base package)
ii  gettext-base   0.14.4-2       GNU Internationalization utilities for 
the b
ii  gnupg          1.4.1-1.sarge3 GNU privacy guard - a free PGP replacement
ii  grep           2.5.1.ds1-4    GNU grep, egrep and fgrep
ii  groff-base     1.18.1.1-7     GNU troff text-formatting system (base 
syste
ii  grub           0.95+cvs200406 GRand Unified Bootloader
ii  gzip           1.3.5-10sarge1 The GNU compression utility
ii  hostname       2.13           A utility to set/show the host name or 
domai
ii  ifupdown       0.6.7          high level tools to configure network 
interf
ii  info           4.7-2.2        Standalone GNU Info documentation browser
ii  initrd-tools   0.1.81.1       tools to create initrd image for 
prepackaged
ii  initscripts    2.86.ds1-1     Standard scripts needed for booting 
and shut
ii  iptables       1.2.11-10      Linux kernel 2.4+ iptables 
administration to
ii  iptraf         2.7.0-7        Interactive Colorful IP LAN Monitor
ii  iputils-ping   20020927-2     Tools to test the reachability of 
network ho
ii  kernel-headers 2.6.8-16sarge2 Header files related to Linux kernel 
version
ii  kernel-headers 2.6.8-16sarge2 Linux kernel headers 2.6.8 on 
PPro/Celeron/P
ii  kernel-image-2 101sarge1      Linux kernel image for version 2.6 on 
PPro/C
ii  kernel-image-2 2.6.8-16sarge2 Linux kernel image for version 2.6.8 
on PPro
ii  kernel-kbuild- 2.6.8-2        Linux kernel 2.6 kbuild tools
ii  klogd          1.4.1-17       Kernel Logging Daemon
ii  less           382-1          Pager program similar to more
ii  libacl1        2.2.23-1       Access control list shared library
ii  libattr1       2.4.16-1       Extended attribute shared library
ii  libblkid1      1.37-2sarge1   block device id library
ii  libbz2-1.0     1.0.2-7        high-quality block-sorting file 
compressor l
ii  libc6          2.3.2.ds1-22sa GNU C Library: Shared libraries and 
Timezone
ii  libc6-dev      2.3.2.ds1-22sa GNU C Library: Development Libraries 
and Hea
ii  libcap1        1.10-14        support for getting/setting POSIX.1e 
capabil
ii  libcomerr2     1.37-2sarge1   common error description library
ii  libconsole     0.2.3dbs-56    Shared libraries for Linux console and 
font
ii  libdb1-compat  2.1.3-7        The Berkeley database routines [glibc 
2.0/2.
ii  libdb3         3.2.9-22       Berkeley v3 Database Libraries [runtime]
ii  libdb4.2       4.2.52-18      Berkeley v4.2 Database Libraries [runtime]
ii  libdb4.3       4.3.27-2       Berkeley v4.3 Database Libraries [runtime]
ii  libdns16       9.2.4-1        DNS Shared Library used by BIND
ii  libevent1      1.0b-1.1       An asynchronous event notification library
ii  libexpat1      1.95.8-3       XML parsing C library - runtime library
ii  libfreetype6   2.1.7-2.5      FreeType 2 font engine, shared library 
files
ii  libgc1         6.4-1          conservative garbage collector for C 
and C++
ii  libgcc1        3.4.3-13       GCC support library
ii  libgcrypt11    1.2.0-11.1     LGPL Crypto library - runtime library
ii  libgdbm3       1.8.3-2        GNU dbm database routines (runtime 
version)
ii  libglib2.0-0   2.6.4-1        The GLib library of C routines
ii  libgmp3        4.1.4-6        Multiprecision arithmetic library
ii  libgnutls11    1.0.16-13.2    GNU TLS library - runtime library
ii  libgpg-error0  1.0-1          library for common error values and 
messages
ii  libgpmg1       1.19.6-19sarge General Purpose Mouse - shared library
ii  libice6        4.3.0.dfsg.1-1 Inter-Client Exchange library
ii  libident       0.22-3         simple RFC1413 client library - runtime
ii  libidn11       0.5.13-1.0     GNU libidn library, implementation of 
IETF I
ii  libisc7        9.2.4-1        ISC Shared Library used by BIND
ii  libisccc0      9.2.4-1        Command Channel Library used by BIND
ii  libisccfg0     9.2.4-1        Config File Handling Library used by BIND
ii  libjpeg62      6b-10          The Independent JPEG Group's JPEG 
runtime li
ii  libldap2       2.1.30-8       OpenLDAP libraries
ii  liblocale-gett 1.01-17        Using libc functions for 
internationalizatio
ii  liblockfile1   1.06           NFS-safe locking library, includes 
dotlockfi
ii  liblwres1      9.2.4-1        Lightweight Resolver Library used by BIND
ii  liblzo1        1.08-1.2       A real-time data compression library
ii  libmagic1      4.12-1         File type determination library using 
"magic
ii  libncurses5    5.4-4          Shared libraries for terminal handling
ii  libncursesw5   5.4-4          Shared libraries for terminal handling 
(wide
ii  libnewt0.51    0.51.6-20      Not Erik's Windowing Toolkit - text 
mode win
ii  libopencdk8    0.5.5-10       Open Crypto Development Kit (OpenCDK) 
(runti
ii  libpam-modules 0.76-22        Pluggable Authentication Modules for PAM
ii  libpam-runtime 0.76-22        Runtime support for the PAM library
ii  libpam-unix2   1.25-1         Blowfish-capable PAM module
ii  libpam0g       0.76-22        Pluggable Authentication Modules library
ii  libpcap0.8     0.8.3-5        System interface for user-level packet 
captu
ii  libpcre3       4.5-1.2sarge1  Perl 5 Compatible Regular Expression 
Library
ii  libpopt0       1.7-5          lib for parsing cmdline parameters
ii  libreadline4   4.3-11         GNU readline and history libraries, 
run-time
ii  libreadline5   5.0-10         GNU readline and history libraries, 
run-time
ii  libsasl2       2.1.19-1.5sarg Authentication abstraction library
ii  libsigc++-1.2- 1.2.5-4        type-safe Signal Framework for C++ - 
runtime
ii  libss2         1.37-2sarge1   command-line interface parsing library
ii  libssl0.9.7    0.9.7e-3sarge1 SSL shared libraries
ii  libstdc++5     3.3.5-13       The GNU Standard C++ Library v3
ii  libtasn1-2     0.2.10-3sarge1 Manage ASN.1 structures (runtime)
ii  libtext-charwi 0.04-1         get display widths of characters on 
the term
ii  libtext-iconv- 1.2-3          Convert between character sets in Perl
ii  libtext-wrapi1 0.06-1         internationalized substitute of Text::Wrap
ii  libtextwrap1   0.1-1          text-wrapping library with i18n - runtime
ii  libusb-0.1-4   0.1.10a-9.sarg userspace USB programming library
ii  libuuid1       1.37-2sarge1   universally unique id library
ii  libwrap0       7.6.dbs-8      Wietse Venema's TCP wrappers library
ii  libxcrypt1     2.2-1          Crypt library for DES, MD5, and blowfish
ii  linux-kernel-h 2.5.999-test7- Linux Kernel Headers for development
ii  locales        2.3.2.ds1-22sa GNU C Library: National Language 
(locale) da
ii  lockfile-progs 0.1.10         Programs for locking and unlocking 
files and
ii  logcheck       1.2.39         Mails anomalies in the system logfiles 
to th
ii  logcheck-datab 1.2.39         A database of system log rules for the 
use o
ii  login          4.0.3-31sarge5 system login tools
ii  logrotate      3.7-5          Log rotation utility
ii  logtail        1.2.39         Print log file lines that have not 
been read
ii  lsof           4.74.dfsg.3-2  List open files.
ii  mailx          8.1.2-0.200405 A simple mail user agent
ii  make           3.80-9         The GNU version of the "make" utility.
ii  makedev        2.3.1-77       creates device files in /dev
ii  man-db         2.4.2-21       The on-line manual pager
ii  manpages       1.70-1         Manual pages about using a GNU/Linux 
system
ii  mawk           1.3.3-11       a pattern scanning and text processing 
langu
ii  mc             4.6.0-4.6.1-pr midnight commander - a powerful file 
manager
ii  module-init-to 3.2-pre1-2     tools for managing Linux kernel modules
ii  modutils       2.4.26-1.2     Linux module utilities
ii  monit          4.5-1          A utility for monitoring and managing 
daemon
ii  mount          2.12p-4sarge1  Tools for mounting and manipulating 
filesyst
ii  mtr-tiny       0.67-1         Full screen ncurses traceroute tool
ii  ncurses-base   5.4-4          Descriptions of common terminal types
ii  ncurses-bin    5.4-4          Terminal-related programs and man pages
ii  ncurses-term   5.4-4          Additional terminal type definitions
ii  net-tools      1.60-10        The NET-3 networking toolkit
ii  netbase        4.21           Basic TCP/IP networking system
ii  netkit-inetd   0.10-10        The Internet Superserver
ii  nmap           3.81-1         The Network Mapper
ii  ntp            4.2.0a+stable- Network Time Protocol: network utilities
ii  ntp-server     4.2.0a+stable- Network Time Protocol: common server tools
ii  ntp-simple     4.2.0a+stable- Network Time Protocol: daemon for 
simple sys
ii  nullmailer     1.00RC7-22     simple relay-only mail transport agent
ii  openssl        0.9.7e-3sarge1 Secure Socket Layer (SSL) binary and 
related
ii  openvpn        2.0-1sarge3    Virtual Private Network daemon
ii  passwd         4.0.3-31sarge5 change and administer password and 
group dat
ii  patch          2.5.9-2        Apply a diff file to an original
ii  pciutils       2.1.11-15      Linux PCI Utilities
ii  perl           5.8.4-8sarge4  Larry Wall's Practical Extraction and 
Report
ii  perl-base      5.8.4-8sarge4  The Pathologically Eclectic Rubbish Lister
ii  perl-modules   5.8.4-8sarge4  Core Perl modules
ii  procps         3.2.1-2        The /proc file system utilities
ii  psmisc         21.5-1         Utilities that use the proc filesystem
ii  rdate          1.4-6          sets the system's date from a remote host
ii  rsnapshot      1.2.1-1        local and remote filesystem snapshot 
utility
ii  rsync          2.6.4-6        fast remote file copy program (like rcp)
ii  screen         4.0.2-4.1      a terminal multiplexor with VT100/ANSI 
termi
ii  sed            4.1.2-8        The GNU sed stream editor
ii  slang1         1.4.9dbs-8     The S-Lang programming library - 
runtime ver
ii  slang1a-utf8   1.4.9dbs-8     The S-Lang programming library with 
utf8 sup
ii  smartmontools  5.32-3         control and monitor storage systems 
using S.
ii  ssh            3.8.1p1-8.sarg Secure rlogin/rsh/rcp replacement 
(OpenSSH)
ii  ssl-cert       1.0-11         Simple debconf wrapper for openssl
ii  strace         4.5.8-1.2      A system call tracer
ii  stunnel4       4.090-1        Universal SSL tunnel for network daemons
ii  sysklogd       1.4.1-17       System Logging Daemon
ii  sysv-rc        2.86.ds1-1     Standard boot mechanism using symlinks 
in /e
ii  sysvinit       2.86.ds1-1     System-V like init
ii  tar            1.14-2.2       GNU tar
ii  tcpd           7.6.dbs-8      Wietse Venema's TCP wrapper utilities
ii  tcpdump        3.8.3-5sarge1  A powerful tool for network monitoring 
and d
ii  telnet         0.17-29        The telnet client
ii  texinfo        4.7-2.2        Documentation system for on-line 
information
ii  time           1.7-21         The GNU time program for measuring cpu 
resou
ii  traceroute     1.4a12-18      traces the route taken by packets over 
a TCP
ii  tripwire       2.3.1.2.0-4    file and directory integrity checker
ii  ucf            1.17           Update Configuration File: preserves 
user ch
ii  unzip          5.52-1sarge4   De-archiver for .zip files
ii  util-linux     2.12p-4sarge1  Miscellaneous system utilities
ii  vim            6.3-071+1sarge Vi IMproved - enhanced vi editor
ii  vim-common     6.3-071+1sarge Vi IMproved - Common files
ii  vim-scripts    6-1            plugins for vim, adding bells and whistles
ii  wget           1.9.1-12       retrieves files from the web
ii  whiptail       0.51.6-20      Displays user-friendly dialog boxes 
from she
ii  whois          4.7.5          the GNU whois client
ii  zip            2.31-1         Archiver for .zip files
ii  zlib1g         1.2.2-4.sarge. compression library - runtime
Reply to: