Bug#950991: init-system-helpers should have grep as dependency

2020-02-09 Thread Alessandro Valente

Package: init-system-helpers
Version: 1.56+nmu1

When I invoke the command service --status all , I get

$ service --status all
/usr/sbin/service: 86: /usr/sbin/service: egrep: not found
 [ - ]  dbus
/usr/sbin/service: 86: /usr/sbin/service: egrep: not found
 [ - ]  hwclock.sh
/usr/sbin/service: 86: /usr/sbin/service: egrep: not found
 [ - ]  procps
/usr/sbin/service: 86: /usr/sbin/service: egrep: not found
 [ - ]  ssh

I strongly advise to insert in the dependencies grep, since by installing grep 
(or whatever does provide the grep executable) this problem resolves by itself.
Here is the output result

$ service --status all
 [ - ]  dbus
 [ - ]  hwclock.sh
 [ - ]  procps
 [ - ]  ssh


My OS is Debian GNU/Linux 10 (buster)


Thanks in advance for solving this bug for me and for our community.

Yours faithfully
Alessandro Valente



Bug#389716: bluez-utils: sdptool fail silently on boot

2006-09-27 Thread Alessandro Valente
Package: bluez-utils
Version: 3.5-1
Severity: normal

I have SDPTOOL_OPTIONS=add --channel=3 SP in my /etc/default/bluetooth.
The command fails because kernel modules need time to load. 
I need to insert a sleep 1 to make things work.

Also sdptool outputs and errors are redirected to /dev/null
and no check is done for errors.

I solved my problem this way:
***
--- bluetooth-3.5-1 2006-09-21 09:37:00.0 +0200
+++ bluetooth   2006-09-22 13:26:29.0 +0200
@@ -90,12 +90,13 @@
test -x $SDPTOOL || return 1 
 
if ! test -z $SDPTOOL_OPTIONS ; then
+   sleep 1
oldifs=$IFS
IFS=;
for o in $SDPTOOL_OPTIONS ; do
#echo execing $SDPTOOL $o
IFS= 
-   $SDPTOOL $o /dev/null
+   $SDPTOOL $o /dev/null || echo -e \nFAILED: $SDPTOOL 
$o
done
IFS=$oldifs
fi
***

Hope someone find a better solution...


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (95, 'stable'), (70, 'unstable'), (65, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages bluez-utils depends on:
ii  dbus 0.92-2  simple interprocess messaging syst
ii  libbluetooth23.5-1   Library to use the BlueZ Linux Blu
ii  libc62.3.6.ds1-4 GNU C Library: Shared libraries
ii  libdbus-1-3  0.92-2  simple interprocess messaging syst
ii  libusb-0.1-4 2:0.1.12-2  userspace USB programming library
ii  lsb-base 3.1-15  Linux Standard Base 3.1 init scrip
ii  makedev  2.3.1-83creates device files in /dev
ii  module-init-tools3.2.2-3 tools for managing Linux kernel mo
ii  modutils 2.4.27.0-6  Linux module utilities
ii  sysvinit 2.86.ds1-20 System-V-like init utilities
ii  udev 0.100-1 /dev/ and hotplug management daemo

bluez-utils recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#388514: bluez-utils: dund cannot start if SDPTOOL_OPTIONS is not null in init script

2006-09-20 Thread Alessandro Valente
Package: bluez-utils
Version: 3.1-4+b1
Severity: normal
Tags: patch



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (95, 'stable'), (70, 'unstable'), (65, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages bluez-utils depends on:
ii  dbus 0.62-4  simple interprocess messaging syst
ii  libbluetooth23.1-1   Library to use the BlueZ Linux Blu
ii  libc62.3.6.ds1-4 GNU C Library: Shared libraries
ii  libdbus-1-3  0.92-2  simple interprocess messaging syst
ii  libdbus-glib-1-2 0.71-2  simple interprocess messaging syst
ii  libglib2.0-0 2.10.3-3The GLib library of C routines
ii  libusb-0.1-4 2:0.1.12-2  userspace USB programming library
ii  lsb-base 3.1-15  Linux Standard Base 3.1 init scrip
ii  makedev  2.3.1-82creates device files in /dev
ii  module-init-tools3.2.2-3 tools for managing Linux kernel mo
ii  modutils 2.4.27.0-6  Linux module utilities
ii  sysvinit 2.86.ds1-15 System-V-like init utilities
ii  udev 0.093-1 /dev/ and hotplug management daemo

bluez-utils recommends no packages.

-- no debconf information

if SDPTOOL_OPTIONS is not null in /etc/default/bluetooth
/etc/init.d/bluetooth start pass wrong argument to dund

cause: run_sdptool() change IFS and don't restore it on exit.
--- bluetooth.old   2006-09-11 07:23:40.0 +0200
+++ bluetooth   2006-09-20 22:29:12.0 +0200
@@ -90,11 +90,13 @@
test -x $SDPTOOL || return 1 
 
if ! test -z $SDPTOOL_OPTIONS ; then
+   OLDIFS=$IFS
IFS=;
for o in $SDPTOOL_OPTIONS ; do
#echo execing $SDPTOOL $o
$SDPTOOL $o /dev/null
done
+   IFS=$OLDIFS
fi
 
 }


Bug#382778: mysql-server-5.0: Moved tempdir from /tmp to /var/tmp conflicts with Filesystem Hierarchy Standard

2006-08-13 Thread Alessandro Valente
Package: mysql-server-5.0
Version: 5.0.22-4
Severity: normal



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (95, 'stable'), (70, 'unstable'), (65, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-xen-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

-- debconf information excluded

From changelog of 5.0.22-4:
Moved tempdir from /tmp to /var/tmp as it will more likely have enough
free space as /tmp is often on the root partition and /var or at least
/var/tmp is on a bigger one.  

Filesystem Hierarchy Standard V 2.3 says:
/var/tmp : Temporary files preserved between system reboots 

Thus:
Or tempdir is needed *between system reboots* or must be left in /tmp

You shouldn't speculate on what a system administrator has done.
On my system i have more free space on /tmp than /var/tmp for example.

Maybe add a note in README file about space needed in /tmp


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]