[Pkg-sysvinit-devel] Bug#353585: sysvinit: Code problem at line 720 of last.c file

Laurent Guignard lguignard2000 at yahoo.fr
Sun Feb 19 18:17:59 UTC 2006


Package: sysvinit
Version: 2.86.ds1-11
Severity: normal


I have looking for something in last.c file of sysvinit package 
(sysvinit-2.86) and I found this :

"
else if (strncmp(ut.ut_user, "runlevel", 7) == 0)
ut.ut_type = RUN_LVL;
"

at line 720 of file.

Is the number 7 normal ? 
"runlevel" has a size of 8 isn't it ?

I think the correct value is 8 here...

I have end this to "pkg-sysvinit-devel AT lists.alioth.debian.org" mailing list
 



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-fixe-2
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15) (ignored: LC_ALL set to fr_FR at euro)

Versions of packages sysvinit depends on:
ii  initscripts                  2.86.ds1-11 Scripts for initializing and shutt
ii  libc6                        2.3.5-13    GNU C Library: Shared libraries an
ii  libselinux1                  1.28-3      SELinux shared libraries
ii  libsepol1                    1.10-2      Security Enhanced Linux policy lib
ii  sysv-rc                      2.86.ds1-11 System-V-like runlevel change mech

sysvinit recommends no packages.

-- no debconf information




More information about the Pkg-sysvinit-devel mailing list