[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#144053: marked as done (rcconf: Rcconf does not clean up after exiting (when running as normal user))

Your message dated Sun, 21 Sep 2003 13:17:06 -0400
with message-id <E1A17pa-0000sP-00@auric.debian.org>
and subject line Accepted rcconf 1.6 (all source)
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; 22 Apr 2002 14:07:25 +0000
>From jfs@dat.etsit.upm.es Mon Apr 22 09:07:25 2002
Return-path: <jfs@dat.etsit.upm.es>
Received: from buzz.etsit.upm.es [] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 16zeTU-0002BE-00; Mon, 22 Apr 2002 09:07:24 -0500
Received: (qmail 15150 invoked from network); 22 Apr 2002 14:07:19 -0000
Received: from localhost (
  by localhost with SMTP; 22 Apr 2002 14:07:19 -0000
Received: (qmail 15147 invoked from network); 22 Apr 2002 14:07:19 -0000
Received: from avalon.dat.etsit.upm.es (
  by buzz.etsit.upm.es with SMTP; 22 Apr 2002 14:07:19 -0000
Received: (qmail 2471 invoked by uid 1013); 22 Apr 2002 14:07:23 -0000
Message-ID: <20020422140723.2470.qmail@avalon.dat.etsit.upm.es>
From: "Javier Fernandez-Sanguino Pena" <jfs@dat.etsit.upm.es>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: rcconf: Rcconf does not clean up after exiting (when running as normal user)
X-Mailer: reportbug 1.44
Date: Mon, 22 Apr 2002 16:07:23 +0200
Delivered-To: submit@bugs.debian.org

Package: rcconf
Version: 1.2
Severity: normal

When a user runs rcconf it will not check that he will not be able to do any
changes (i.e. modify /var/lib/rcconf/services). However it will lock the
program at /var/lock/.

When the user selects "ok" it will bail out with :
Cannot write file /var/lib/rcconf/services: Permission denied at
/usr/bin/rcconf line 762.

$ ls -la /var/lock/
total 8
drwxrwxrwt    2 root     root         4096 abr 22 15:58 .
drwxr-xr-x   19 root     root         4096 abr 19 23:33 ..
-rw-r--r--    1 jfernand jfernand        0 abr 22 15:58 rcconf

And if the superuser tries to execute rcconf:
$ sudo rcconf 
Another rcconf is running, or still remain lock file(/var/lock/rcconf). at
/usr/bin/rcconf line 785.

This could be easily be prevented by checking if the user can make the
changes (for example, he = root) before running rcconf or by cleaning up the
lock files when expected errors occur (user is not root and cannot write a

This is not an important bug, since the user himself can remove the file.


Javier Fernandez-Sanguino

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux avalon 2.4.18 #1 SMP mié abr 3 12:47:49 CEST 2002 i686
Locale: LANG=spanish, LC_CTYPE=spanish

Received: (at 144053-done) by bugs.debian.org; 22 Sep 2003 10:20:20 +0000
>From tbm@cyrius.com Mon Sep 22 05:20:19 2003
Return-path: <tbm@cyrius.com>
Received: from bangpath.uucico.de [] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1A1Nnn-0001Hb-00; Mon, 22 Sep 2003 05:20:19 -0500
Received: by bangpath.uucico.de (Postfix, from userid 10)
	id B266A26BC1; Mon, 22 Sep 2003 12:20:18 +0200 (CEST)
Received: by deprecation.cyrius.com (Postfix, from userid 1000)
	id 7FFD0FEE2; Mon, 22 Sep 2003 20:18:33 +1000 (EST)
Resent-From: tbm@cyrius.com
Resent-Date: Mon, 22 Sep 2003 20:18:33 +1000
Resent-Message-ID: <20030922101833.GF31719@deprecation.cyrius.com>
Resent-To: 144053-done@bugs.debian.org
X-Original-To: tbm@cyrius.com
Received: by deprecation.cyrius.com (Postfix, from userid 10)
	id 682D31018C; Mon, 22 Sep 2003 09:42:50 +1000 (EST)
Received: from murphy.debian.org (murphy.debian.org [])
	by bangpath.uucico.de (Postfix) with ESMTP id 130B326B2E
	for <tbm@cyrius.com>; Sun, 21 Sep 2003 19:59:37 +0200 (CEST)
Received: from localhost (localhost [])
	by murphy.debian.org (Postfix) with QMQP
	id E07A81FC12; Sun, 21 Sep 2003 12:59:31 -0500 (CDT)
Old-Return-Path: <katie@auric.debian.org>
Received: from auric.debian.org (auric.debian.org [])
	by murphy.debian.org (Postfix) with ESMTP id 9C87F20170
	for <debian-devel-changes@lists.debian.org>; Sun, 21 Sep 2003 12:23:22 -0500 (CDT)
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 1A17pa-0000sP-00; Sun, 21 Sep 2003 13:17:06 -0400
From: Atsushi KAMOSHIDA <kamop@debian.org>
To: debian-devel-changes@lists.debian.org
X-Katie: $Revision: 1.35 $
Subject: Accepted rcconf 1.6 (all source)
Message-Id: <E1A17pa-0000sP-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Sun, 21 Sep 2003 13:17:06 -0400
Reply-To: debian-devel@lists.debian.org
Mail-Followup-To: debian-devel@lists.debian.org
X-Spam-Status: No, hits=-2.9 required=4.0
X-Spam-Checker-Version: SpamAssassin 2.55-lists.debian.org_2003_9_21 (
Resent-Message-ID: <kSGtj.A.yoB.Dceb_@murphy>
Resent-From: debian-devel-changes@lists.debian.org
X-Mailing-List: <debian-devel-changes@lists.debian.org> archive/latest/162713
X-Loop: debian-devel-changes@lists.debian.org
List-Id: <debian-devel-changes.lists.debian.org>
List-Post: <mailto:debian-devel-changes@lists.debian.org>
List-Help: <mailto:debian-devel-changes-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-devel-changes-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-devel-changes-request@lists.debian.org?subject=unsubscribe>
List-Archive: <http://lists.debian.org/debian-devel-changes/>
Precedence: list
Resent-Sender: debian-devel-changes-request@lists.debian.org
Resent-Date: Sun, 21 Sep 2003 12:59:31 -0500 (CDT)
Delivered-To: 144053-done@bugs.debian.org

Hash: SHA1

Format: 1.7
Date: Mon, 22 Sep 2003 01:41:31 +0900
Source: rcconf
Binary: rcconf
Architecture: source all
Version: 1.6
Distribution: unstable
Urgency: low
Maintainer: Atsushi KAMOSHIDA <kamop@debian.org>
Changed-By: Atsushi KAMOSHIDA <kamop@debian.org>
 rcconf     - Debian Runlevel configuration tool
 rcconf (1.6) unstable; urgency=low
   * Fixed remaing lock file problem(Close #144053).
   * Fixed description(Close #144560,#166518,#168414).
   * Add whiptail-privider dependancy(Close #141179).
   * Fixed copyright(Close #151968).
   * Close #67852 and #60405.
   * Delete /var/lib/rcconf/services if purged(Close #205468).
 20b991f44710b17e9c9b996eef04f41e 480 admin optional rcconf_1.6.dsc
 070f83c82f739f3f21e8c19506c2021a 6839 admin optional rcconf_1.6.tar.gz
 11ea93381b8eff52be210c67cf86135b 9870 admin optional rcconf_1.6_all.deb

Version: GnuPG v1.2.3 (GNU/Linux)


  to pool/main/r/rcconf/rcconf_1.6.dsc
  to pool/main/r/rcconf/rcconf_1.6.tar.gz
  to pool/main/r/rcconf/rcconf_1.6_all.deb

To UNSUBSCRIBE, email to debian-devel-changes-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: