Debian Bug report logs - #385245
renice succeeds on garbage input

version graph

Package: bsdutils; Maintainer for bsdutils is LaMont Jones <lamont@debian.org>; Source for bsdutils is src:util-linux (PTS, buildd, popcon).

Reported by: frederik@ofb.net

Date: Wed, 30 Aug 2006 02:03:38 UTC

Severity: normal

Found in version util-linux/2.12r-10

Fixed in version util-linux/2.13.1~rc2-1

Done: LaMont Jones <lamont@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, LaMont Jones <lamont@debian.org>:
Bug#385245; Package bsdutils. (full text, mbox, link).


Acknowledgement sent to frederik@ofb.net:
New Bug report received and forwarded. Copy sent to LaMont Jones <lamont@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Frederik Eaton <frederik@ofb.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: renice succeeds on garbage input
Date: Wed, 30 Aug 2006 03:02:58 +0100
Package: bsdutils
Version: 1:2.12r-10
Severity: normal

$ renice +20 blahblahblah
0: old priority 19, new priority 19
$ echo $?
0

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

Versions of packages bsdutils depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries

Versions of packages bsdutils recommends:
ii  bsdmainutils                  6.1.3      collection of more utilities from 

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#385245; Package bsdutils. (full text, mbox, link).


Acknowledgement sent to LaMont Jones <lamont@debian.org>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #10 received at 385245@bugs.debian.org (full text, mbox, reply):

From: LaMont Jones <lamont@debian.org>
To: frederik@ofb.net, 385245@bugs.debian.org
Subject: Re: Bug#385245: renice succeeds on garbage input
Date: Sun, 6 Jan 2008 19:07:55 -0700
On Wed, Aug 30, 2006 at 03:02:58AM +0100, Frederik Eaton wrote:
> $ renice +20 blahblahblah
> 0: old priority 19, new priority 19
> $ echo $?
> 0

This is because renice uses atoi, so your command is equivalent to
"renice +20 -p 0", and that succeeded just fine.

I'll be sending a patch upstream
lamont




Reply sent to LaMont Jones <lamont@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to frederik@ofb.net:
Bug acknowledged by developer. (full text, mbox, link).


Message #15 received at 385245-close@bugs.debian.org (full text, mbox, reply):

From: LaMont Jones <lamont@debian.org>
To: 385245-close@bugs.debian.org
Subject: Bug#385245: fixed in util-linux 2.13.1~rc2-1
Date: Mon, 07 Jan 2008 03:47:03 +0000
Source: util-linux
Source-Version: 2.13.1~rc2-1

We believe that the bug you reported is fixed in the latest version of
util-linux, which is due to be installed in the Debian FTP archive:

bsdutils_2.13.1~rc2-1_i386.deb
  to pool/main/u/util-linux/bsdutils_2.13.1~rc2-1_i386.deb
cfdisk-udeb_2.13.1~rc2-1_i386.udeb
  to pool/main/u/util-linux/cfdisk-udeb_2.13.1~rc2-1_i386.udeb
fdisk-udeb_2.13.1~rc2-1_i386.udeb
  to pool/main/u/util-linux/fdisk-udeb_2.13.1~rc2-1_i386.udeb
mount_2.13.1~rc2-1_i386.deb
  to pool/main/u/util-linux/mount_2.13.1~rc2-1_i386.deb
util-linux-locales_2.13.1~rc2-1_all.deb
  to pool/main/u/util-linux/util-linux-locales_2.13.1~rc2-1_all.deb
util-linux_2.13.1~rc2-1.diff.gz
  to pool/main/u/util-linux/util-linux_2.13.1~rc2-1.diff.gz
util-linux_2.13.1~rc2-1.dsc
  to pool/main/u/util-linux/util-linux_2.13.1~rc2-1.dsc
util-linux_2.13.1~rc2-1_i386.deb
  to pool/main/u/util-linux/util-linux_2.13.1~rc2-1_i386.deb
util-linux_2.13.1~rc2.orig.tar.gz
  to pool/main/u/util-linux/util-linux_2.13.1~rc2.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 385245@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
LaMont Jones <lamont@debian.org> (supplier of updated util-linux package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 06 Jan 2008 20:20:48 -0700
Source: util-linux
Binary: util-linux cfdisk-udeb fdisk-udeb util-linux-locales bsdutils mount
Architecture: all i386 source 
Version: 2.13.1~rc2-1
Distribution: unstable
Urgency: low
Maintainer: LaMont Jones <lamont@debian.org>
Changed-By: LaMont Jones <lamont@debian.org>
Description: 
 bsdutils   - Basic utilities from 4.4BSD-Lite
 cfdisk-udeb - Partition a hard drive (cfdisk)
 fdisk-udeb - Partition a hard drive (manual)
 mount      - Tools for mounting and manipulating filesystems
 util-linux - Miscellaneous system utilities
 util-linux-locales - Locales files for util-linux
Closes: 385245 418107
Changes: 
 util-linux (2.13.1~rc2-1) unstable; urgency=low
 .
   [LaMont Jones]
 .
   * meta: mount should pre-depend on its libs
   * hwclock.sh: add full path to comment.  Closes: #418107
   * renice: correctly detect errors in arguments.  Closes: #385245
 .
   [Karel Zak]
 .
   * docs: update AUTHORS file, add all translators
   * docs: update ReleaseNotes
   * po: update po files
     - po: update uk.po [Maxim V. Dziumanenko]
     - po: update id.po [Arif E. Nugroho]
     - po: update es.po [Santiago Vila Doncel]
     - po: update hu.po [Gabor Kelemen]
     - po: update it.po [Marco Colombo]
     - po: update sl.po [Simon Mihevc]
     - po: update ru.po [Pavel Maryanov]
     - po: update cs.po [Petr Pisar]
     - po: update pt_BR.po [Rodrigo Stulzer Lopes]
     - po: add eu.po [Mikel Olasagasti]
     - po: update ca.po [Josep Puigdemont]
     - po: update sv.po [Daniel Nylander]
     - po: update fr.po [Michel Robitaille]
     - po: update tr.po [Nilgün Belma Bugüner]
     - po: update ja.po [Daisuke Yamashita]
     - po: update nl.po [Benno Schulenberg]
     - po: add pl.po [Andrzej Krzysztofowicz]
     - po: update da.po [Claus Hindsgaul]
     - po: update vi.po [Clytie Siddall]
     - po: update et.po [Meelis Roos]
     - po: update de.po [Michael Piefel]
     - po: update fi.po [Lauri Nurmi]
   * build-sys: release++ (-rc2)
Files: 
 13183be5bbc1396775f7be73e101860b 4013265 base required util-linux_2.13.1~rc2.orig.tar.gz
 2308e32bbd4c23c36717e270bebb115a 1336902 utils optional util-linux-locales_2.13.1~rc2-1_all.deb
 37737fb937ccddd84318afc659488f01 58663 base required util-linux_2.13.1~rc2-1.diff.gz
 41c3180c245cdfe7eeee5a1ca30c0376 136932 admin required mount_2.13.1~rc2-1_i386.deb
 4b582f27c7a20be43afb08e11af50a24 517810 utils required util-linux_2.13.1~rc2-1_i386.deb
 5284b510eb86f2ec5f9fa9d7768bcfe6 66056 debian-installer extra fdisk-udeb_2.13.1~rc2-1_i386.udeb
 d179868d1325f2fdad4815b3877d2077 955 base required util-linux_2.13.1~rc2-1.dsc
 bb90e17e96bd2027736471951496fb5a 1328662 debian-installer extra cfdisk-udeb_2.13.1~rc2-1_i386.udeb
 f107a8445803dd62d4e36faca13f21d4 60992 utils required bsdutils_2.13.1~rc2-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHgZ1QzN/kmwoKyScRAn42AKCQNw5iEH2qVg76Q0PZ4HCgY+UQfACdGcOE
qP3iRpCSPZ9tv/uGqcxw/Wo=
=dSKc
-----END PGP SIGNATURE-----





Information forwarded to debian-bugs-dist@lists.debian.org, LaMont Jones <lamont@debian.org>:
Bug#385245; Package bsdutils. (full text, mbox, link).


Acknowledgement sent to frederik@ofb.net:
Extra info received and forwarded to list. Copy sent to LaMont Jones <lamont@debian.org>. (full text, mbox, link).


Message #20 received at 385245@bugs.debian.org (full text, mbox, reply):

From: Frederik Eaton <frederik@ofb.net>
To: LaMont Jones <lamont@debian.org>
Cc: 385245@bugs.debian.org
Subject: Re: Bug#385245: renice succeeds on garbage input
Date: Mon, 7 Jan 2008 06:47:59 +0000
Excellent, thank you

On Sun, Jan 06, 2008 at 07:07:55PM -0700, LaMont Jones wrote:
> On Wed, Aug 30, 2006 at 03:02:58AM +0100, Frederik Eaton wrote:
> > $ renice +20 blahblahblah
> > 0: old priority 19, new priority 19
> > $ echo $?
> > 0
> 
> This is because renice uses atoi, so your command is equivalent to
> "renice +20 -p 0", and that succeeded just fine.
> 
> I'll be sending a patch upstream
> lamont
> 




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 06 Feb 2008 07:30:32 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 5 16:34:18 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.