Debian Bug report logs - #679653
libnotify-bin: exit status is always zero (even in presence of errors)

version graph

Package: libnotify-bin; Maintainer for libnotify-bin is Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>; Source for libnotify-bin is src:libnotify (PTS, buildd, popcon).

Reported by: "Mario B." <mario.gnudeb@gmail.com>

Date: Sat, 30 Jun 2012 14:12:02 UTC

Severity: minor

Found in version libnotify/0.5.0-2

Fixed in version libnotify/0.7.11-1

Done: Marco Trevisan (Treviño) <marco@ubuntu.com>

Bug is archived. No further changes may be made.

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


Report forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#679653; Package libnotify-bin. (Sat, 30 Jun 2012 14:12:05 GMT) (full text, mbox, link).


Acknowledgement sent to "Mario B." <mario.gnudeb@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Sat, 30 Jun 2012 14:12:05 GMT) (full text, mbox, link).


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

From: "Mario B." <mario.gnudeb@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libnotify-bin: exit status is always zero (even in presence of errors)
Date: Sat, 30 Jun 2012 16:10:08 +0200
Package: libnotify-bin
Version: 0.5.0-2
Severity: minor


Hi,

notify-send returns zero even in presence of errors. I don't know if it is really a bug or only a missing feature, but a different exit status would be appreciated. :)


For example without a running X the command

$ notify-send something

obviously fails, but its exit status is zero:

$ echo $?
0


Thanks


-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable'), (550, 'testing'), (500, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-for-dummynet (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libnotify-bin depends on:
ii  libc6                         2.11.3-3   Embedded GNU C Library: Shared lib
ii  libglib2.0-0                  2.32.3-1   GLib library of C routines
ii  libnotify1 [libnotify1-gtk2.1 0.5.0-2    sends desktop notifications to a n

libnotify-bin recommends no packages.

libnotify-bin suggests no packages.

-- no debconf information




Reply sent to Marco Trevisan (Treviño) <marco@ubuntu.com>:
You have taken responsibility. (Wed, 27 Apr 2022 20:39:10 GMT) (full text, mbox, link).


Notification sent to "Mario B." <mario.gnudeb@gmail.com>:
Bug acknowledged by developer. (Wed, 27 Apr 2022 20:39:10 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 679653-close@bugs.debian.org
Subject: Bug#679653: fixed in libnotify 0.7.11-1
Date: Wed, 27 Apr 2022 20:34:20 +0000
Source: libnotify
Source-Version: 0.7.11-1
Done: Marco Trevisan (Treviño) <marco@ubuntu.com>

We believe that the bug you reported is fixed in the latest version of
libnotify, which is due to be installed in the Debian FTP archive.

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 679653@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marco Trevisan (Treviño) <marco@ubuntu.com> (supplier of updated libnotify 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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 27 Apr 2022 21:47:25 +0200
Source: libnotify
Built-For-Profiles: noudeb
Architecture: source
Version: 0.7.11-1
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Changed-By: Marco Trevisan (Treviño) <marco@ubuntu.com>
Closes: 559544 571181 609556 636343 679653 756151
Launchpad-Bugs-Fixed: 257135 674642 1970647
Changes:
 libnotify (0.7.11-1) unstable; urgency=medium
 .
   * New upstream release:
     - notify-send: Support for replacing an existing notification (LP: #257135,
       Closes: #559544)
     - notify-send: Support commas in icon filenames (LP: #674642)
     - notify-send: Give failing exit code if showing notification fails
       (LP: #1970647, Closes: #609556, Closes: #679653)
     - notify-send: Add support for notification actions and responses
       (Closes: #571181)
     - notify-send: Add option to wait until notification has been closed
     - notify-send: Add support for boolean hints (Closes: #636343)
     - docs/notify-send: Add missing --app-name to manpage (Closes: #756151)
   * debian/rules: Use DPKG_GENSYMBOLS_CHECK_LEVEL instead of override
   * debian: Use debhelper 13, and remove explicit --fail-missing
   * debian/control: Update Standards-Version, no change needed
   * debian/libnotify4.symbols: Add new symbols
   * debian/patches: Add transient option to man
Checksums-Sha1:
 b48bb996b770f758dc1149035c818e8aa8817094 2541 libnotify_0.7.11-1.dsc
 63716a27bea21e9d0e322eca67e2c9f45ca85fba 101616 libnotify_0.7.11.orig.tar.xz
 7ae61a68e57a7110a30ccf793448f59d3657d2d6 9588 libnotify_0.7.11-1.debian.tar.xz
 fb33360a4d1cc9708ed1a47660c161047b67226b 18470 libnotify_0.7.11-1_source.buildinfo
Checksums-Sha256:
 28a3845167908e1ad2289a8dbc7badda7834057a71df23ebe5f76feb6f388d1d 2541 libnotify_0.7.11-1.dsc
 dd5682ec68220339e11c5159b7e012204a318dd1b3683a09c482ca421ab07375 101616 libnotify_0.7.11.orig.tar.xz
 257e4b2658050dd44d9df56f75b1eed9c69db0bf55f42d5518b2d731c2f2e8eb 9588 libnotify_0.7.11-1.debian.tar.xz
 5e8c37fe94629988197edd3b0b9832bf6b41d16afc3dca35ed28688a75174d67 18470 libnotify_0.7.11-1_source.buildinfo
Files:
 40b18745a38da25e06c4af52f5337c0d 2541 libs optional libnotify_0.7.11-1.dsc
 0f987fbdcbc4f0c73937c52becd7e0ec 101616 libs optional libnotify_0.7.11.orig.tar.xz
 6cbc61cf9127a540a30623b96f7c276c 9588 libs optional libnotify_0.7.11-1.debian.tar.xz
 39c17ffd7d4be9b136148d9e86a5e2cc 18470 libs optional libnotify_0.7.11-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE1MUB2kjreXoIF1CTlEnC9QmWY18FAmJpnhgACgkQlEnC9QmW
Y18hJg/9Gd+9whcjh28FkRTeBOGHvcwQh+bUYO0899YDLHbJGNrfI3ZHvzeOXfeL
VTq5a4kNd9+Uj5CW13+gyOUlLPnogt2qjtNvg3IGA5TdfGesOKFOjHGgDRLeW0Zh
kt7zZWubvVIplrmYbG2lyT0i+vpXztawa0punSe4f8QmJLw4vMhcBOw11J0Ju9wm
ZlkpOvBI4FPyKVyoRdBAeD85H/dHrqektg1Tuki+XafNWrrO9S6Ij1JfwbRWCgYZ
k4jITRocGX9SRcmBkyJ+h9ATdtUcC3bOGKinX30sMZIqjNKeNjT56D/UfRfIU+a+
uCKRAUO49Dxo8vrz2LW3jC8hUxpGorBwbarc3I054R8055/inRKpCICZmJ61XfTA
GJ3hrjNdM1klW3L4313HEbPFmCMyvx1qC4j5cL8ZwoZdCsg58r9cJmSV7DQG4BHs
fCAPu/vFYBS3ImTb46W4Ep+OFUG1ibceTgE+wQao2cTtVaX+aifREdeLxI7Kra5v
IBXn/iEOKgkey+1/FsZYaxw0dluHUzU2Shy8sAy7SttEZ9Jr1tWvHypRkH5UNHkH
F9U0+d+LBkxMhow0g7vXeWMhz1rLFRoOzvmpE2UQsIRhUMNgrz4WWuUnukDzV0Gc
DeGlcbM5vPtfPCNevk3qI6JhQygvvW6RO+dqP8M3p4tfn5em5Oc=
=uHEo
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 26 May 2022 07:26:37 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 23 19:51:55 2026; Machine Name: berlioz

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.