Your message dated Sat, 02 Jul 2016 17:25:34 +0000
with message-id <[email protected]>
and subject line Bug#823084: fixed in udftools 1.2-1
has caused the Debian Bug report #823084,
regarding udftools: Fix LSB init output
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
823084: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823084
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: udftools
Source-Version: 1.0.0b3-14.4
Severity: wishlist
Tags: patch
Hi!
The attached patch fixes the LSB init script to have more consistent
output.
Thanks,
Guillem
From 360fb8aed7dea9daec7fb901348212b1b5eb0e6a Mon Sep 17 00:00:00 2001
From: Guillem Jover <[email protected]>
Date: Sat, 30 Apr 2016 16:38:16 +0200
Subject: [PATCH] udftools: Fix LSB init output
---
debian/udftools.init | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
diff --git a/debian/udftools.init b/debian/udftools.init
index 9a1a1f4..54b8ab1 100644
--- a/debian/udftools.init
+++ b/debian/udftools.init
@@ -24,6 +24,8 @@
# writing device /dev/pktcdvd/0.
### END INIT INFO
+. /lib/lsb/init-functions
+
set -e
PATH=/sbin:/bin:/usr/sbin:/usr/bin
@@ -70,13 +72,13 @@ fi
dostart() {
if test -z "$DEVICES"; then
- echo "Not starting $DESC: No devices listed in $DEFAULTFILE"
+ log_action_msg "Not starting $DESC, no devices listed in $DEFAULTFILE"
else
- echo "Starting $DESC:"
+ log_action_begin_msg "Starting $DESC"
if $NEWINT; then
set $NEWINTNAMES
for DEVICE in $DEVICES; do
- echo -n "/dev/pktcdvd/$1=$DEVICE " || true
+ log_action_cont_msg "/dev/pktcdvd/$1=$DEVICE"
$PKTSETUP "$1" "$DEVICE"
shift
done
@@ -87,24 +89,24 @@ dostart() {
set $OLDINTNAMES
fi
for DEVICE in $DEVICES; do
- echo -n "$1=$DEVICE " || true
+ log_action_cont_msg "$1=$DEVICE"
$PKTSETUP "$1" "$DEVICE"
shift
done
fi
- echo ""
+ log_action_end_msg 0
fi
}
dostop() {
if test -z "$DEVICES"; then
- echo "Not stopping $DESC: No devices listed in $DEFAULTFILE"
+ log_action_msg "Not stopping $DESC, no devices listed in $DEFAULTFILE"
else
- echo "Stopping $DESC:"
+ log_action_begin_msg "Stopping $DESC"
if $NEWINT; then
set $NEWINTNAMES
for DEVICE in $DEVICES; do
- echo -n "/dev/pktcdvd/$1=$DEVICE " || true
+ log_action_cont_msg "/dev/pktcdvd/$1=$DEVICE"
$PKTSETUP -d "$1" || true
shift
done
@@ -115,22 +117,24 @@ dostop() {
set $OLDINTNAMES
fi
for DEVICE in $DEVICES; do
- echo -n "$1=$DEVICE " || true
+ log_action_cont_msg "$1=$DEVICE"
$PKTSETUP -d "$1" || true
shift
done
fi
- echo ""
+ log_action_end_msg 0
fi
}
+set +e
+
case "$1" in
start) dostart;;
stop) dostop;;
restart|force-reload) dostop; dostart;;
status)
nmappings=`$PKTSETUP -s | wc -l`
- echo "Status of $DESC: $nmappings device mappings"
+ log_action_msg "Status of $DESC" "$nmappings device mappings"
if test $nmappings -eq 0; then exit 1; fi
;;
*)
--
2.8.1
--- End Message ---
--- Begin Message ---
Source: udftools
Source-Version: 1.2-1
We believe that the bug you reported is fixed in the latest version of
udftools, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Pali Rohár <[email protected]> (supplier of updated udftools 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 02 Jul 2016 12:56:41 +0200
Source: udftools
Binary: udftools
Architecture: source
Version: 1.2-1
Distribution: unstable
Urgency: low
Maintainer: Pali Rohár <[email protected]>
Changed-By: Pali Rohár <[email protected]>
Description:
udftools - tools for UDF filesystems and DVD/CD-R(W) drives
Closes: 272648 539530 583382 606664 622208 672839 680272 715720 716102 716287
727634 727636 775273 791952 817705 823084 829016
Changes:
udftools (1.2-1) unstable; urgency=low
.
* New maintainer (Closes: #829016).
* New project upstream (Closes: #791952).
* New upstream release which fixes these bugs:
Closes: #672839, #272648, #606664, #715720, #716102, #716287, #727634
Closes: #727636, #775273, #539530, #680272
* Update debian files:
- Checks for /run/udev in init script (Closes: #622208).
- Fix LSB output in init script (Closes: #823084, #583382).
- Use debhelper 9 (Closes: #817705).
- Remove old and unused po.bak files.
- Remove old README.Debian.
- Add ${misc:Depends}.
- Update description of package.
- Update copyright to deb5 format.
- Drop all patches because there were included into new release.
Checksums-Sha1:
2143a3233a6a859ff36eb04332339f02249f0b9f 1723 udftools_1.2-1.dsc
d7837e537cb965eac29c9ecb022367291adefb5c 657310 udftools_1.2.orig.tar.gz
433715059a826374554030ae1c03f3dd7cac69fa 8904 udftools_1.2-1.debian.tar.xz
Checksums-Sha256:
87f526b7198b48c5658b7332705f28d8fa6a4c863f658f8d74c9abb7b72de9dd 1723
udftools_1.2-1.dsc
444c646cc4e3db93a4abffbfc9d5e3da8da3e891012cb8bc2ce53c3d33596851 657310
udftools_1.2.orig.tar.gz
11003cdffc2f17988ab82d9b56690e9557d913549a5bea7ff338b4b51f667e3c 8904
udftools_1.2-1.debian.tar.xz
Files:
02891f710adac6d1aeffbf64f0417146 1723 otherosfs extra udftools_1.2-1.dsc
3b538c0ee1e77abae665fdd6f68f37bb 657310 otherosfs extra
udftools_1.2.orig.tar.gz
c2ca3c8ab33f595b00f7b99355b66222 8904 otherosfs extra
udftools_1.2-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJXd+pqAAoJEPNPCXROn13Zk2IQAMHY3crm04+RlQWzfYCgVqFS
IJhBc61YERX5s1WjZIl0RoLDdLl3bEU35fbuTiGwjDRQ34Vc7BljQFXdTorohHFv
SCzWtuDHRxQtUWRVS2Jjn6EXFXuwXm5ewP0YTTDY+35xJWJcZycv4Nm2xlujSaYT
+i8XDJSxDBCLmkwOxcCN9evt9xkFV+bDuw7Db+1XufUnZ7V6GDVkvI/scGDHeIbg
oz5p7NfaOjx3RJUDXMHe2xGqwPRjPC040De88aVnar6ouenBdUwIrXcBQTMHD8Ly
1ng9MkttT4bOXVkRySJvg24udEqkjf7t1NEAUUNJlpch0XD+E305x832sAB6a3Z/
bqDHmiYBRt7cbYKO0YGWd2L+hZuqr6UeXK1oYBxFd1zJlvDlVmfT7PUyjz/9QkLr
OmigcjB72W+HsBjqTz4kqfn/gGphJ9CQTzimzS8mhakwlya5qeVgBepPvTD6/4ee
Qi3J+ftBBQye6zWf/KvHvgu7sL+6ylYl9+7ER2I9yZpycMIciPlJRblALTFRV0vI
AC33vNCfw/CBk6D65DS4tQAabW6PhJ6QwhFhzqS+dlWVmjkpm5ccwbCbmgPPPvkX
pom3s6VxR/9daKZMW72siVuWJB0uQK7Y4m5B4H3ftswa8QAKxcmaJsWrk/Z4xJwd
7ut8nNxHAuVerC7D9Lva
=mRwv
-----END PGP SIGNATURE-----
--- End Message ---