[DSE-Dev] Bug#789218: Did not check for the existence of a mount point /sys/fs/selinux

Bjarni Ingi Gislason bjarniig at rhi.hi.is
Thu Jun 18 23:57:33 UTC 2015


Package: libselinux1
Version: 2.4-1 and 2.3-2
Severity: normal
Tags: upstream

Dear Maintainer,

   * What led up to the situation?

  1) A panic in the kernel >=4.0 in the booting process

  2) An line on the screen that was neither in the "kern.log" nor
"boot".

#

  This error could be a cause for a panic in kernel-4.0, as it is caused
near this "place"

  Some lines from the the screen (normal booting)

Freeing unused kernel memory: ...K (c...-c...)
Mount failed for selinuxfs on /sys/fs/selinux:  No such file or directory
INIT: version 2.88. booting

  Using kernel 4.0: (lines copied from the screen)

Freeing unused kernel memory: ...
general protection fault 0000 [#1]
Modules link in:
CPU=0 PID=1 comm=swapper Not tainted 4.0.4-2 #4
Hardware name ...
...
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

  See a fix in the article "www.spinics.net/lists/selinux/msg16439.html"
with the subject "Mount procfs before checking /proc/filesystems"

  The error is thus a logical one, caused by the usual non-thinking.

#

Why was that done?

  How will the cause of the error be communicated to other, so they
could learn from it?

  The general production of bugs (errors, especially logical ones) has
not decreased during the years.  Why is that?

###

#
  "Since breaking out of bad habits, rather than acquiring new
ones, is the toughest part of learning we must expect from that
system permanent mental damage for most students exposed to
it."

P. xxxvii in:

On the Cruelty of Really Teaching Computing Science

Edsger W. Dykstra (Dijkstra)

SIGCSE Bulletin 1989, 21(1), bls. xxv-xxxix.
Also "www.cs.utexas.edu/users/EWD/"
#
  "The problems of the real world are primarily those you are
left with when you refuse to apply their effective solutions."

P. xxxviii in:

On the Cruelty of Really Teaching Computing Science

Edsger W. Dykstra (Dijkstra)

SIGCSE Bulletin 1989, 21(1), bls. xxv-xxxix.
Also "www.cs.utexas.edu/users/EWD/"

#
	It is necessary to consider all consequences of
	the proposed action in all states of nature.

There are lots of consequences of any given action.  Many of the
problems of society today are at least partly due to the failure
to realize that the "obvious" action taken had so many bad side
effects.

Herman Rubin in the Usenet group "misc.education.science".

#
There is a saying,

	Any fool can learn from his own experience,
	The wise man learns from the experience of others.

Too many students show that the first line is not correct.
But the second is very important, and is the basis of
the setting up of an educational program.

Herman Rubin in the Usenet group "misc.education".


-- System Information:
Debian Release: stretch/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing-proposed-updates'), (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i586)

Kernel: Linux 3.16.7-ckt9-2
Locale: LANG=is_IS, LC_CTYPE=is_IS (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages libselinux1 depends on:
ii  libc6     2.19-18
ii  libpcre3  2:8.35-6

libselinux1 recommends no packages.

libselinux1 suggests no packages.

-- no debconf information

-- 
Bjarni I. Gislason



More information about the SELinux-devel mailing list