[Pkg-sysvinit-devel] Bug#339992: marked as done (sysvinit: shutdown ignores "-a" option)

Debian Bug Tracking System owner at bugs.debian.org
Sun Nov 20 06:33:07 UTC 2005


Your message dated Sun, 20 Nov 2005 01:29:15 -0500 (EST)
with message-id <15777597.1132468156064.JavaMail.stew at tetra>
and subject line 
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 20 Nov 2005 06:04:05 +0000
>From stew at vireo.org Sat Nov 19 22:04:05 2005
Return-path: <stew at vireo.org>
Received: from dsl254-118-016.nyc1.dsl.speakeasy.net ([216.254.118.16] helo=cuttle)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EdiJ3-0001XQ-Kj
	for submit at bugs.debian.org; Sat, 19 Nov 2005 22:04:05 -0800
Received: from stew by cuttle with local (Exim 4.54)
	id 1EdiIY-0001pw-3v; Sun, 20 Nov 2005 01:03:34 -0500
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Mike O'Connor <stew at vireo.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: sysvinit: shutdown ignores "-a" option
X-Mailer: reportbug 3.17
Date: Sun, 20 Nov 2005 01:03:34 -0500
Message-Id: <E1EdiIY-0001pw-3v at cuttle>
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

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

The shutdown manpage states that passing "-a" to shutdown should check
/etc/shutdown.allow.  This doesn't seem to be happening.  Here is an
strace of a user who is in /etc/shutdown.allow executing "/sbin/shutdown
-a".  as can be seen front this log, /etc/shutdown.allow is never
consulted.
----------------------
execve("/sbin/shutdown", ["/sbin/shutdown", "-a"], [/* 26 vars */]) = 0
uname({sys="Linux", node="cuttle", ...}) = 0
brk(0)                                  = 0x804d000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fa2000
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=36076, ...}) = 0
old_mmap(NULL, 36076, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f99000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libc.so.6", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300O\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1266800, ...}) = 0
old_mmap(NULL, 1276860, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e61000
old_mmap(0xb7f93000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x131000) = 0xb7f93000
old_mmap(0xb7f97000, 7100, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f97000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e60000
mprotect(0xb7f93000, 4096, PROT_READ)   = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e606c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb7f99000, 36076)               = 0
getuid32()                              = 104
geteuid32()                             = 104
setuid32(104)                           = 0
getuid32()                              = 104
write(2, "shutdown: you must be root to do"..., 39) = 39
exit_group(1)                           = ?


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages sysvinit depends on:
ii  coreutils                     5.2.1-2.1  The GNU core utilities
ii  initscripts                   2.86.ds1-4 Standard scripts needed for bootin
ii  libc6                         2.3.5-7    GNU C Library: Shared libraries an
ii  libselinux1                   1.26-1     SELinux shared libraries
ii  libsepol1                     1.8-1      Security Enhanced Linux policy lib
ii  sysv-rc                       2.86.ds1-4 Standard boot mechanism using syml

sysvinit recommends no packages.

-- no debconf information

---------------------------------------
Received: (at 339992-done) by bugs.debian.org; 20 Nov 2005 06:29:16 +0000
>From stew at vireo.org Sat Nov 19 22:29:15 2005
Return-path: <stew at vireo.org>
Received: from mail.vireo.net ([69.93.169.2])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EdihP-0001Or-TW
	for 339992-done at bugs.debian.org; Sat, 19 Nov 2005 22:29:15 -0800
Received: from tetra (dsl254-118-016.nyc1.dsl.speakeasy.net [216.254.118.16])
	by mail.vireo.net (Postfix) with ESMTP id 6BC58EC810C
	for <339992-done at bugs.debian.org>; Sun, 20 Nov 2005 00:35:40 -0600 (CST)
Message-ID: <15777597.1132468156064.JavaMail.stew at tetra>
Date: Sun, 20 Nov 2005 01:29:15 -0500 (EST)
From: Mike O'Connor <stew at vireo.org>
To: 339992-done at bugs.debian.org
Subject: 
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Komera-Attach-Status: false
X-Komera-Sending-User: stew at vireo.org
X-Mailer: KomeraMail
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: *
X-Spam-Status: No, hits=1.4 required=4.0 tests=BAYES_44,NOSUBJECT 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Upon rereading the manpage for shutdown, I realized that I had completely
misread it.  This is not a bug.  Sorry.




More information about the Pkg-sysvinit-devel mailing list