Package: selinux-basics
Version: 0.3.5
Severity: important

I use 'insserv' for dependency based booting.

In /etc/init.d/selinux-basics:28
        selinuxfs=`LC_ALL=C awk '/ selinuxfs / { print $2 }' /proc/mounts`
awk is called, which is located in /usr/bin/

Since the inid-script does not declare a dependency on $local_fs,
inssserv is free to run the init-script of selinux-basic parallel to
other scipts, namely in my case mountall:
        lrwxrwxrwx 1 root root 23 28. Jul 22:11 /etc/rcS.d/S12etc-setserial -> 
../init.d/etc-setserial
        lrwxrwxrwx 1 root root 21 28. Jul 22:11 /etc/rcS.d/S12mountall.sh -> 
../init.d/mountall.sh
        lrwxrwxrwx 1 root root 24 28. Jul 22:11 /etc/rcS.d/S12selinux-basics -> 
../init.d/selinux-basics
So /usr/bin/awk ist not yet available when called and thus the message
of awk net being found.

selinux-basics thus either must declare
        # Required-Start:    $local_fs
or should not use awk at all.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30.4 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages selinux-basics depends on:
ii  checkpolicy                   2.0.19-1   SELinux policy compiler
ii  policycoreutils               2.0.69-1   SELinux core policy utilities
ii  python                        2.5.4-2    An interactive high-level object-o
ii  selinux-utils                 2.0.85-1   SELinux utility programs

Versions of packages selinux-basics recommends:
ii  selinux-policy-default  2:0.2.20090730-1 Strict and Targeted variants of th
ii  setools                 3.3.6.ds-1       tools for Security Enhanced Linux 

Versions of packages selinux-basics suggests:
pn  logcheck                      <none>     (no description available)
pn  syslog-summary                <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to