jaunty: /sbin/lsmod moved to /bin/lsmod
Bug #340666 reported by
Konstantin Khlebnikov
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
module-init-tools (Ubuntu) |
Fix Released
|
Medium
|
Scott James Remnant (Canonical) |
Bug Description
Binary package hint: module-init-tools
lsmod shuld be in /sbin, many scripts call it by full path.
To post a comment you must log in.
From the FHS:
"/bin contains commands that may be used by both the system administrator and by users, but which are
required when no other filesystems are mounted (e.g. in single user mode). It may also contain commands which are used indirectly by scripts"
"Utilities used for system administration (and other root-only commands) are stored in /sbin, /usr/sbin, and
/usr/local/sbin. /sbin contains binaries essential for booting, restoring, recovering, and/or repairing the
system in addition to the binaries in /bin."
So isn't lsmod in the correct directory now? I think the scripts you refer to should probably be fixed.