[Pkg-sysvinit-devel] Bug#506481: initscripts: Fix to allow falsified cpu information in /proc/cpuinfo

Mark Hobley markhobley at yahoo.co.uk
Fri Nov 21 22:24:45 UTC 2008


Package: initscripts
Version: 2.86.ds1-61
Severity: normal
Tags: patch


This fix allows falsified cpu information in /proc/cpuinfo, by creating 
an override file /etc/cpuinfo:

The following changes apply to the /etc/init.d/mountkernfs.sh script:

        #
        # Mount proc filesystem on /proc
        #
        domount proc "" /proc proc -onodev,noexec,nosuid

        #
        # Override /proc/cpuinfo with falsified information, if required
        #
        if [ -e /etc/cpuinfo] ; then
          mount --bind /etc/cpuinfo /proc/cpuinfo
        fi

        #
        # Mount sysfs on /sys
        #

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-486
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages initscripts depends on:
ii  debianutils                  2.30        Miscellaneous utilities specific t
ii  e2fsprogs                    1.41.2-1    ext2/ext3/ext4 file system utiliti
ii  libc6                        2.7-15      GNU C Library: Shared libraries
ii  lsb-base                     3.2-20      Linux Standard Base 3.2 init scrip
ii  mount                        2.13.1.1-1  Tools for mounting and manipulatin
ii  sysvinit-utils               2.86.ds1-61 System-V-like utilities

Versions of packages initscripts recommends:
ii  psmisc                        22.6-1     Utilities that use the proc filesy

initscripts suggests no packages.

-- no debconf information





More information about the Pkg-sysvinit-devel mailing list