Bug#1022051: linux-image-5.10.0-19-amd64: no boot possible

2022-10-19 Thread Hanno Hecker
Package: src:linux
Version: 5.10.149-1
Followup-For: Bug #1022051

Same issue here, similar system

-- Package-specific info:
** Kernel log: boot messages should be attached

** Model information
sys_vendor: BESSTAR TECH LIMITED
product_name: HM80
product_version: Default string
chassis_vendor: Default string
chassis_version: Default string
bios_vendor: American Megatrends Inc.
bios_version: 5.16
board_vendor: BESSTAR TECH LIMITED
board_name: HM80
board_version: Default string

** PCI devices:
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir Root 
Complex [1022:1630]
Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir Root Complex 
[1022:1630]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- 

00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe 
Dummy Host Bridge [1022:1632]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:01.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP 
Bridge [1022:1634] (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe 
Dummy Host Bridge [1022:1632]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:02.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP 
Bridge [1022:1634] (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:02.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP 
Bridge [1022:1634] (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe 
Dummy Host Bridge [1022:1632]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:08.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir Internal 
PCIe GPP Bridge to Bus [1022:1635] (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller 
[1022:790b] (rev 51)
Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller 
[1022:790b]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR- TAbort- 
SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- 
Kernel driver in use: nvme
Kernel modules: nvme

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. 
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
DeviceName: Onboard LAN Brodcom
Subsystem: Realtek Semiconductor Co., Ltd. 

Bug#713046: qcontrol: should call confdir() at the end to overwrite functions w/ local ones

2013-06-22 Thread Hanno Hecker
Package: qcontrol
Version: 0.5.1-3
Severity: normal

Hello Ian,

the new confdir() calls in the ts*.lua should be called at the end of the
file. Currently the locally defined functions for e.g. lcd_button() from a
file in /etc/qcontrol.d have no effect (i.e. they are overwritten by the
ones in the calling file).

Hanno

-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: armel (armv5tel)

Kernel: Linux 3.2.0-4-kirkwood
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages qcontrol depends on:
ii  libc62.13-38
ii  liblua5.1-0  5.1.5-4
ii  udev 175-7.2

qcontrol recommends no packages.

qcontrol suggests no packages.

-- Configuration Files:
/etc/qcontrol/ts41x.lua changed [not included]

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#712067: pstree: processes are listes mutiple times (kFreeBSD)

2013-06-12 Thread Hanno Hecker
Package: psmisc
Version: 22.19-1+deb7u1
Severity: normal

Dear Maintainer,

when running pstree on kFreeBSD, it will show most processes multiple times. 
As soon as it has children it's also listed as top level (below kernel()
and on the same level as init(1)), see attached output of pstree -p

-- System Information:
Debian Release: 7.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: kfreebsd-i386 (i386)

Kernel: kFreeBSD 9.0-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages psmisc depends on:
ii  libc0.12.13-38
ii  libtinfo5  5.9-10

psmisc recommends no packages.

psmisc suggests no packages.

-- no debconf information
kernel()-+-audit(10)
 |-bufdaemon(8)
 |-geom(13)
 |-idle(11)
 |-init(1)-+-atd(1544)
 | |-cron(1609)
 | |-dbus-daemon(1657)
 | |-devd(1133)
 | |-getty(44981)
 | |-getty(1945)
 | |-getty(1944)
 | |-getty(1943)
 | |-getty(1942)
 | |-getty(1941)
 | |-master(1824)-+-pickup(48401)
 | |  `-qmgr(1831)
 | |-perl(1469)
 | |-rsyslogd(1509)
 | 
|-sshd(89675)---sshd(44886)---sshd(44888)---bash(44889)---pstree(49710)
 | 
`-sshd(2206)---sshd(2208)---bash(2209)---python2.7(49382)---dash(49431)---dash(49432)---vim.basic(49433)
 |-intr(12)
 |-pagedaemon(5)
 |-pagezero(7)
 |-pfpurge(2)
 |-sctp_iterator(3)
 |-softdepflush(16)
 
|-sshd(2206)---sshd(2208)---bash(2209)---python2.7(49382)---dash(49431)---dash(49432)---vim.basic(49433)
 
|-sshd(2208)---bash(2209)---python2.7(49382)---dash(49431)---dash(49432)---vim.basic(49433)
 |-sshd(89675)---sshd(44886)---sshd(44888)---bash(44889)---pstree(49710)
 |-sshd(44886)---sshd(44888)---bash(44889)---pstree(49710)
 |-sshd(44888)---bash(44889)---pstree(49710)
 |-bash(44889)---pstree(49710)
 
|-bash(2209)---python2.7(49382)---dash(49431)---dash(49432)---vim.basic(49433)
 |-master(1824)-+-pickup(48401)
 |  `-qmgr(1831)
 |-init(1)-+-atd(1544)
 | |-cron(1609)
 | |-dbus-daemon(1657)
 | |-devd(1133)
 | |-getty(44981)
 | |-getty(1945)
 | |-getty(1944)
 | |-getty(1943)
 | |-getty(1942)
 | |-getty(1941)
 | |-master(1824)-+-pickup(48401)
 | |  `-qmgr(1831)
 | |-perl(1469)
 | |-rsyslogd(1509)
 | 
|-sshd(89675)---sshd(44886)---sshd(44888)---bash(44889)---pstree(49710)
 | 
`-sshd(2206)---sshd(2208)---bash(2209)---python2.7(49382)---dash(49431)---dash(49432)---vim.basic(49433)
 |-python2.7(49382)---dash(49431)---dash(49432)---vim.basic(49433)
 |-dash(49431)---dash(49432)---vim.basic(49433)
 |-dash(49432)---vim.basic(49433)
 |-syncer(15)
 |-vmdaemon(6)
 |-vnlru(9)
 |-xpt_thrd(4)
 `-yarrow(14)


Bug#698543: qcontrol: Sanitize input from lua scripts

2013-01-20 Thread Hanno Hecker
Package: qcontrol
Version: 0.4.2+svn-r40-3
Severity: normal
Tags: patch

Hi,

when passing a lua nil (or anything not a string or a number) value as second
(or higher) arg to piccmd() qcontrol dies.
This is because piccmd()s lcd-line0 / lcd-line1 commands do a strlen() on a NULL
value. get_args() calls lua_tostring(), but this returns NULL for anything not
a number or a string...

Hanno

-- System Information:
Debian Release: 7.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: armel (armv5tel)

Kernel: Linux 3.2.0-4-kirkwood
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages qcontrol depends on:
ii  libc62.13-37
ii  liblua5.1-0  5.1.5-4
ii  udev 175-7

qcontrol recommends no packages.

qcontrol suggests no packages.

-- Configuration Files:
/etc/qcontrol/ts41x.lua changed [not included]

-- no debconf information
--- qcontrol.orig/qcontrol.c	2013-01-20 09:38:27.903838894 +0100
+++ qcontrol/qcontrol.c	2013-01-20 09:40:50.885882680 +0100
@@ -163,7 +163,15 @@
 	*argc = lua_gettop(lua);
 	*argv = (const char **) calloc(*argc, sizeof(char*));
 	for (i = 1; i = *argc; ++i) {
-		*(*argv + i - 1) = (const char*) lua_tostring(lua, i);
+		switch (lua_type(lua, i)) {
+			case LUA_TSTRING:
+			case LUA_TNUMBER:
+*(*argv + i - 1) = (const char*) lua_tostring(lua, i);
+break;
+			default:
+*(*argv + i - 1) = (const char*) ;
+break;
+		}
 	}
 	return 0;
 }


Bug#697574: qcontrol: please load local config files

2013-01-07 Thread Hanno Hecker
On Mon, 07 Jan 2013 13:38:26 +
Ian Campbell i...@hellion.org.uk wrote:

 On Sun, 2013-01-06 at 19:31 +0100, Hanno Hecker wrote:
  the attached patch loads /etc/qcontrol/local.lua if it exists and has no
  errors. Maybe this should not be only for ts41x.lua :)
 
 Thanks. Do you find this preferential to just editing ts41x.lua directly
 for some reason?
I like it when I can drop my local configs in some directory where
they're read without having to modify the original configs.

 Since qcontrol actually reads /etc/qcontrol.conf which is created as a
 symlink by the package perhaps locally creating that as a real file
 which reads /etc/qcontrol/ts41x.lua and also contains your local
 configuration would be another option?
Hmm, this is what I've done until now. You can also make this config
dynamic, i.e. read the machine type, register() it and then load the 
machine specific file and local additions.

 Do you have anything generically useful in your local config? The
 shipped examples are pretty simplistic, especially wrt LCD and button
 handling and I'm open to (or, better, patches ;-)) ideas to make them
 more useful.
Do a 
  svn checkout http://svn.ankh-morp.org:8080/qcontrol_config/
and take a look into trunk/lcd-menu.lua (there's also a dynamic
qcontrol.conf)

Hanno


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#693263: qcontrol: wheezy version of qcontrol does not support --direct

2013-01-06 Thread Hanno Hecker
On Sun, 06 Jan 2013 09:37:25 +
Ian Campbell i...@hellion.org.uk wrote:

 On Sun, 2013-01-06 at 07:48 +0100, Hanno Hecker wrote:
  * why does this only happen while I use the wheezy2 package? I've
rebuilt the initramfs now ~10 times with this, with the wheezy1 and
the sid version this never happened (and those were always generated,
I've used the deb installer for recvovery).
 
 Just to be clear, you've rebuilt the wheezy1 and sid versions multiple
 time as well?
Yes, wheezy1 one time and sid at every other time, I've never used an
old image to rescue the system, always the squeeze debian-installer
image. From there I've mounted the required FSs and dpkg -i
qcontrol_0.4.2+svn-r40-3_armel.deb to install the sid package and
rebuild the initrd.

 I suppose something, probably an initscript, is getting blocked
 somewhere. The easiest way to diagnose this would be to acquire/build a
 serial console connector as described in
I've tried to avoid it :)

 I suppose there might be something visible in /var/log after you recover
 from a failed boot, worth having a scrobble around at least.
 
 You could try the /dev/kmsg trick e.g. at the top of /etc/init.d/rc but
 I wouldn't be 100% confident of it working and if it break things it
 won't be recoverable with a recovery image (sine it is on the disk not
 flash), in which case you would need to use d-i as a rescue disk or put
 the disk in another system.
No problem with d-i as rescue, it's the only one I've used so far ;-)
I'll give it a try when there's some spare time to do this. On the
ohter hand... I'm happy with the sid version, so I can use my LCD with a
nice self-built menu .)

  * should udev start before qcontrol and should evdev.ko be in the
modules list? or does qcontrol switch the watchdog off w/o it? it
seems like it works without it...
 
 evdev.ko is only needed to handle button presses, the watchdog
 functionality works without it.
OK, then I can confirm the wheezy2 version fixes the bug and I'll
probably have to open another bug when I know which part of the
system blocks the boot :) 

Hanno


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#697574: qcontrol: please load local config files

2013-01-06 Thread Hanno Hecker
Package: qcontrol
Version: 0.4.2+svn-r40-3
Severity: wishlist
Tags: patch

Hi Ian,

the attached patch loads /etc/qcontrol/local.lua if it exists and has no
errors. Maybe this should not be only for ts41x.lua :)

Hanno

-- System Information:
Debian Release: 7.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: armel (armv5tel)

Kernel: Linux 3.2.0-4-kirkwood
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages qcontrol depends on:
ii  libc62.13-37
ii  liblua5.1-0  5.1.5-4
ii  udev 175-7

qcontrol recommends no packages.

qcontrol suggests no packages.

-- Configuration Files:
/etc/qcontrol/ts41x.lua changed [not included]

-- no debconf information
--- ts41x.lua.OLD	2012-11-25 12:59:02.0 +0100
+++ ts41x.lua	2013-01-06 19:24:15.912821093 +0100
@@ -134,3 +134,25 @@
 		setfan(silence)
 	end
 end
+
+function load_local_conf ()
+	local conf_file = /etc/qcontrol/local.lua
+	local res
+
+	local data, err = loadfile(conf_file)
+	if data == nil then
+		logprint(error with ..conf_file..: ..err)
+		return
+	end
+
+	res, err = pcall(data)
+	if not res then
+		logprint(error calling ..conf_file..: ..err)
+		return
+	end
+
+	logprint(successfully loaded ..conf_file)
+	return
+end
+
+load_local_conf()


Bug#693263: qcontrol: wheezy version of qcontrol does not support --direct

2013-01-05 Thread Hanno Hecker
On Sat, 05 Jan 2013 20:04:14 +
Ian Campbell i...@hellion.org.uk wrote:
 Hanno, I'm afraid don't know what is causing your boot failures but I
 don't think it is related to the new qcontrol package :-(
No, it's not related to qcontrol: 

 A few things I tried while diagnosing this today:
 
 netconsole, add the following to /etc/initramfs-tools/modules:
 mv643xx_eth
 netconsole netconsole=@TS-IP/eth0,@TGT-IP/TGT-MAC
[...]
 The other thing I tried was to edit /usr/share/initramfs-tools/init like
 so:
  # Parse command line options
 -for x in $(cat /proc/cmdline); do
 +for x in $(cat /proc/cmdline) debug; do
[...]
 So then I edited /usr/share/initramfs-tools/init again and changed it
 like this (under the handling of the debug option):
  debug)
  debug=y
  quiet=n
 -exec /run/initramfs/initramfs.debug 21
 +exec /dev/kmsg 21
  set -x
  ;;
 
 IOW I redirected the initramfs debugging to the kernel log, i.e. to
 netconsole. Now you should get pretty verbose debugging on the netcat on
 the other machine. At least for me it starts around local-premount. I
 hope this helps!
OK, done that. Now I can confirm that it's not qcontrol related:
[   27.774712] + /scripts/init-bottom/qcontrol
[   27.791290] Error opening
/dev/input/by-path/platform-gpio-keys-event: No such file or
directory
[   27.805451] + [ -e /conf/param.conf ] 
[   27.805780] + . /conf/param.conf 
[   27.806024] +
ROOT=/dev/disk/by-uuid/de81f811-fbe8-4d12-b969-f5c71e1fecfb
[   27.806196] + /scripts/init-bottom/udev

... full boot log is attached, there you can see it stops while / after
installing knfsd. After that, nothing happens for = 10 minutes (and
then I rebootet).
On a normal boot, the only messages after Installing knfsd are:
[   39.285206] Installing knfsd (copyright (C) 1996 o...@monad.swb.de).
[   42.878783] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state
recovery directory
[   42.890269] NFSD: starting 90-second grace period

But two things remain:
* why does this only happen while I use the wheezy2 package? I've
  rebuilt the initramfs now ~10 times with this, with the wheezy1 and
  the sid version this never happened (and those were always generated,
  I've used the deb installer for recvovery).
* should udev start before qcontrol and should evdev.ko be in the
  modules list? or does qcontrol switch the watchdog off w/o it? it
  seems like it works without it...

Hanno
 



qcontrol-wheezy2.boot.log.gz
Description: GNU Zip compressed data


qcontrol-sid.boot.log.gz
Description: GNU Zip compressed data


Bug#693263: qcontrol: wheezy version of qcontrol does not support --direct

2013-01-01 Thread Hanno Hecker
On Mon, 31 Dec 2012 08:12:33 +
Ian Campbell i...@hellion.org.uk wrote:

 On Sat, 2012-12-29 at 14:48 +, Martin Michlmayr wrote:

  Might be better to backport --direct instead.
 
 This turned out to be relatively simple, thanks for the hint.
 
 Hanno,
 
 Could you try the packages at
 http://www.hellion.org.uk/tmp/2012-12/qcontrol-0.4.2-7+wheezy2/ please.
 It works in my limited testing.
I'm not sure what happened, but I had to use the recovery boot to get a
running system again. The watchdog did not trigger, so it stayed up,
but it did not boot full, IIRC the only open port was 111/tcp
(portmapper). No fsck was running.

Running the binary from the command line works fine.

Martin: This is a new TS-419P II, the filename in the DHCP config
must begin with F_TS-419P2+. strings mtd4 file did not show
anything useful, but this name was requested via DHCP, visible in
tcpdump -vv.

Hanno


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#693263: qcontrol: wheezy version of qcontrol does not support --direct

2013-01-01 Thread Hanno Hecker
On Tue, 1 Jan 2013 10:37:17 +0100
Hanno Hecker hah+deb...@uu-x.de wrote:
 I'm not sure what happened, but I had to use the recovery boot to get a
 running system again. The watchdog did not trigger, so it stayed up,
 but it did not boot full, IIRC the only open port was 111/tcp
 (portmapper). No fsck was running.
I gave it another try, this time with dropbear in the initrd, same
problem... and dropbear seems to be started too late for this, i.e. I
could not connect to port 22.

Hanno


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#693263: qcontrol: wheezy version of qcontrol does not support --direct

2012-12-29 Thread Hanno Hecker
Package: qcontrol
Followup-For: Bug #693263

Dear Maintainer,

the qcontrol initramfs script 
/usr/share/initramfs-tools/scripts/init-bottom/qcontrol tries to execute
  /sbin/qcontrol --direct watchdog off
but the wheezy version (0.4.2-7+wheezy1) does not know about the --direct
switch, so the script is pretty useless and the system reboots after 5 
minutes.
Installing the sid package (0.4.2+svn-r40-3) helped. 

HW is a QNAP TS-419 II.

Hanno

-- System Information:
Debian Release: 7.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: armel (armv5tel)

Kernel: Linux 3.2.0-4-kirkwood
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages qcontrol depends on:
ii  libc62.13-37
ii  liblua5.1-0  5.1.5-4
ii  udev 175-7

qcontrol recommends no packages.

qcontrol suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#618664: can't handle hashes in plugin output

2011-06-06 Thread Hanno Hecker
Package: munin
Version: 1.4.5-3
Severity: normal
Tags: patch


Same here, with IRC channel names. Possible fix is attached.

Hanno

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- /usr/share/perl5/Munin/Master/Update.pm.ORIG2010-10-05 
15:37:50.0 +0200
+++ /usr/share/perl5/Munin/Master/Update.pm 2011-06-06 20:43:41.0 
+0200
@@ -288,11 +288,13 @@
 for my $host (keys %{$self-{service_configs}}) {
 for my $service (keys %{$self-{service_configs}{$host}{data_source}}) 
{
 for my $attr 
(@{$self-{service_configs}{$host}{global}{$service}}) {
-print $io $host:$service.$attr-[0] $attr-[1]\n;
+   (my $str = $attr-[1]) =~ s/(^|[^\\])#/$1\\#/g; 
+print $io $host:$service.$attr-[0] $str\n;
 }
 for my $data_source (keys 
%{$self-{service_configs}{$host}{data_source}{$service}}) {
 for my $attr (keys 
%{$self-{service_configs}{$host}{data_source}{$service}{$data_source}}) {
-print $io $host:$service.$data_source.$attr 
$self-{service_configs}{$host}{data_source}{$service}{$data_source}{$attr}\n;
+(my $str = 
$self-{service_configs}{$host}{data_source}{$service}{$data_source}{$attr}) =~ 
s/(^|[^\\])#/$1\\#/g;
+print $io $host:$service.$data_source.$attr $str\n;
 }
 }
 }


Bug#623231: provide show users with crontab option for crontab

2011-04-18 Thread Hanno Hecker
Package: cron
Version: 3.0pl1-105
Severity: wishlist
Tags: patch


The attached patch scans crond's spool dir for user crontabs and prints
them if they have a corresponding password database entry.

diff is against sid's cron
--- cron-3.0pl1.orig/crontab.c	2011-04-18 09:15:39.0 +0200
+++ cron-3.0pl1/crontab.c	2011-04-18 09:30:00.088726953 +0200
@@ -47,10 +47,10 @@
 
 #define NHEADER_LINES 3
 
-enum opt_t	{ opt_unknown, opt_list, opt_delete, opt_edit, opt_replace };
+enum opt_t	{ opt_unknown, opt_list, opt_delete, opt_edit, opt_replace, opt_show_users };
 
 #if DEBUGGING
-static char	*Options[] = { ???, list, delete, edit, replace };
+static char	*Options[] = { ???, list, delete, edit, replace, show };
 #endif
 
 
@@ -66,6 +66,7 @@
 static	void		list_cmd __P((void)),
 			delete_cmd __P((void)),
 			edit_cmd __P((void)),
+			show_users_cmd __P((void)),
 			poke_daemon __P((void)),
 			check_error __P((char *)),
 			parse_args __P((int c, char *v[]));
@@ -82,11 +83,12 @@
 {
 	fprintf(stderr, %s: usage error: %s\n, ProgramName, msg);
 	fprintf(stderr, usage:\t%s [-u user] file\n, ProgramName);
-	fprintf(stderr, \t%s [ -u user ] [ -i ] { -e | -l | -r }\n, ProgramName);
+	fprintf(stderr, \t%s [ -u user ] [ -i ] { -e | -l | -r | -s }\n, ProgramName);
 	fprintf(stderr, \t\t(default operation is replace, per 1003.2)\n);
 	fprintf(stderr, \t-e\t(edit user's crontab)\n);
 	fprintf(stderr, \t-l\t(list user's crontab)\n);
 	fprintf(stderr, \t-r\t(delete user's crontab)\n);
+	fprintf(stderr, \t-s\t(show all user who have a crontab)\n);
 fprintf(stderr, \t-i\t(prompt before deleting user's crontab)\n);
 	exit(ERROR_EXIT);
 }
@@ -138,6 +140,8 @@
 break;
 	case opt_edit:		edit_cmd();
 break;
+	case opt_show_users:	show_users_cmd();
+break;
 	case opt_replace:	if (replace_cmd()  0)
 	exitstatus = ERROR_EXIT;
 break;
@@ -153,9 +157,9 @@
 }
 	
 #if DEBUGGING
-char *getoptarg = u:lerix:;
+char *getoptarg = u:lerisx:;
 #else
-char *getoptarg = u:leri;
+char *getoptarg = u:leris;
 #endif
 
 
@@ -229,6 +233,17 @@
 		case 'i':
 PromptOnDelete = 1;
 			break;
+		case 's':
+			if (getuid() != ROOT_UID)
+			{
+fprintf(stderr,
+	must be privileged to use -s\n);
+exit(ERROR_EXIT);
+			}
+			if (Option != opt_unknown)
+usage(only one operation permitted);
+			Option = opt_show_users;
+			break;
 		default:
 			usage(unrecognized option);
 		}
@@ -810,6 +825,28 @@
 	exit(1);
 }	
 
+static void
+show_users_cmd() {
+	DIR *dir;
+	struct dirent *dp;
+
+	if (!(dir = opendir(SPOOL_DIR))) {
+		fprintf(stderr, %s: opendir() of %s failed: %s\n,
+ProgramName, SPOOL_DIR, strerror(errno));
+		return;
+	}
+	while (dir != NULL  NULL != (dp = readdir(dir))) {
+		charfname[MAXNAMLEN+1];
+		if (dp-d_name[0] == '.')
+			continue;
+		(void) strcpy(fname, dp-d_name);
+		if ((pw = getpwnam(fname)))
+			fprintf(stdout, %s\n, fname);
+		else 
+			fprintf(stderr, %s: WARNING: crontab found with no matching user: %s\n, ProgramName, fname);
+	}
+	return;
+}
 /* returns	0	on success
  *		-1	on syntax error
  *		-2	on install error
--- cron-3.0pl1.orig/crontab.1	2011-04-18 09:15:39.0 +0200
+++ cron-3.0pl1/crontab.1	2011-04-18 09:34:24.352726952 +0200
@@ -24,7 +24,7 @@
 .SH SYNOPSIS
 crontab [ \-u user ] file
 .br
-crontab [ \-u user ] [ \-i ] { \-e | \-l | \-r }
+crontab [ \-u user ] [ \-i ] { \-e | \-l | \-r | \-s }
 .SH DESCRIPTION
 .I crontab
 is the program used to install, deinstall or list the tables
@@ -101,6 +101,11 @@
 default editor /usr/bin/editor is used.
 .PP
 The
+.I -s
+option shows all users who have a crontab (and warns about files in the
+spool dir which have no corresponding password database entry).
+.PP
+The
 .I -i
 option modifies the \-r option to prompt the user for a 'y/Y' response
 before actually removing the crontab.


Bug#568151: coreutils: [kfreebsd] newer version required, /bin/kill is also in latest procps

2010-02-02 Thread Hanno Hecker
Package: coreutils
Version: 7.5-6
Severity: important


While upgrading my kfreebsd-i386 sid box the following error was reported:

dpkg: error processing 
/var/cache/apt/archives/procps_1%3a3.2.8-5_kfreebsd-i386.deb (--unpack):
 trying to overwrite '/bin/kill', which is also in package coreutils 0:7.5-6
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/procps_1%3a3.2.8-5_kfreebsd-i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

This does not happen on Linux amd64 sid, where coreutils 8.4-1 is installed.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 8.0-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages coreutils depends on:
ii  libc0.1   2.10.2-2   GNU C Library: Shared libraries

coreutils recommends no packages.

coreutils suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#559551: debsums: Checking fails on kFreeBSD because of no O_NOATIME

2009-12-16 Thread Hanno Hecker
severity #559551 critical
thanks

On Sat, 05 Dec 2009 12:43:40 +0100
Hanno Hecker h...@uu-x.de wrote:
 Package: debsums
 Version: 2.0.47
 Severity: important
 Tags: patch
 
 Veryfying files fails on GNU/kFreeBSD, because it does not provide O_NOATIME:
  $ sudo debsums -e
  Your vendor has not defined Fcntl macro O_NOATIME, used at /usr/bin/debsums 
 line 277.
 
 Fix is attached.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#559551: debsums: Checking fails on kFreeBSD because of no O_NOATIME

2009-12-05 Thread Hanno Hecker
Package: debsums
Version: 2.0.47
Severity: important
Tags: patch

Veryfying files fails on GNU/kFreeBSD, because it does not provide O_NOATIME:
 $ sudo debsums -e
 Your vendor has not defined Fcntl macro O_NOATIME, used at /usr/bin/debsums 
line 277.

Fix is attached.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 7.2-1-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debsums depends on:
ii  debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii  perl  5.10.1-8   Larry Wall's Practical Extraction 

debsums recommends no packages.

debsums suggests no packages.

-- debconf information:
  debsums/apt-autogen: true

-- debsums errors found:
Your vendor has not defined Fcntl macro O_NOATIME, used at /usr/bin/debsums 
line 277.
--- debsums.in.orig 2009-09-05 21:22:56.0 +0200
+++ debsums.in  2009-12-05 12:25:33.0 +0100
@@ -18,6 +18,10 @@
 use Errno;
 use POSIX;
 
+## check if O_NOATIME is provided by the system
+my $SYSOPEN_FLAGS = eval { O_RDONLY|O_NONBLOCK|O_NOATIME } 
+|| O_RDONLY|O_NONBLOCK;
+
 (my $self = $0) =~ s!.*/!!;
 my $version = EOT;
 $self #VERSION#
@@ -274,7 +278,7 @@
$path = $diversion{$path}[0] if exists $diversion{$path}
and $diversion{$path}[1] ne $pack;
 
-   if ((!sysopen F, $root/$path, O_RDONLY|O_NONBLOCK|O_NOATIME) 
+   if ((!sysopen F, $root/$path, $SYSOPEN_FLAGS) 
(!sysopen F, $root/$path, O_RDONLY|O_NONBLOCK))
{
return 0 if $localepurge


Bug#559344: kldutils: bashism used in /etc/init.d/module-init-tools

2009-12-04 Thread Hanno Hecker
On Fri, 4 Dec 2009 14:43:52 +0100 (CET)
Petr Salinger petr.salin...@seznam.cz wrote:
 It might be related to package name change in
 
 freebsd-utils (7.1-4) unstable; urgency=low
 
* Rename module-init-tools to kldutils and net-tools to freebsd-net-tools,
  as this is messing up the expectations of several services of equially
  named binary coming from the same source package.
 
   -- Guillem Jover guil...@debian.org  Mon, 13 Apr 2009 17:29:58 +0200
 
 
 Please run dpkg -L kldutils, there should be only lines
 
 /etc/init.d
 /etc/init.d/kldutils
 
 Please try also dpkg -la | grep  modules-init-tools,
 there should be no such package. You might want to purge it.
I wonder why it's not removed on upgrade. I can reproduce this by
upgrading the lenny image from 
http://glibc-bsd.alioth.debian.org/install-cd/kfreebsd-i386/20090117/
(as mentioned in http://wiki.debian.org/Debian_GNU/kFreeBSD_FAQ), with
apt-get and aptitude... and NOT switching to dependency based booting
will not trigger a fault. With dependency based booting I have to
purge module-init-tools to fully upgrade the system.

Hanno



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#559344: kldutils: bashism used in /etc/init.d/module-init-tools

2009-12-03 Thread Hanno Hecker
Package: kldutils
Version: 8.0-1
Severity: normal

When running with a default shell of dash and not bash, the 
/etc/init.d/module-init-tools script complains about not finding the bash 
builtin shopt:
 # /etc/init.d/module-init-tools start
 /etc/init.d/module-init-tools: 62: shopt: not found
 # 
Which is from this call:
modules=`shopt -s nullglob ; cat /etc/modules /etc/modules.d/* \
 | sed -e \s/#.*//g\ -e \/^\( \|\t\)*$/d\ `


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 7.2-1-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kldutils depends on:
ii  freebsd-utils 7.2-9  FreeBSD utilities needed for GNU/k
ii  libbsd0   0.1.6-1utility functions from BSD systems
ii  libc0.1   2.10.2-2   GNU C Library: Shared libraries

kldutils recommends no packages.

kldutils suggests no packages.

-- debconf information excluded

-- debsums errors found:
Your vendor has not defined Fcntl macro O_NOATIME, used at /usr/bin/debsums 
line 277.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#559344: kldutils: bashism used in /etc/init.d/module-init-tools

2009-12-03 Thread Hanno Hecker
On Thu, 3 Dec 2009 20:44:03 + (UTC)
Thorsten Glaser t...@mirbsd.de wrote:
 I propose: (untested at the moment though)
 
 modules=$(cat /etc/modules /etc/modules.d/* 2/dev/null | \
 sed -e 's/#.*//g' -e '/^[  ]*$/d')
  ^  ^- space
  + tab
At least gnu sed, which we use, supports \t, so the 's/^[\t ]*$/d' is
OK: 
$ bash -c echo -e \x\tx x\ | sed -ne 's/[\t ]//g;l'
xxx$

 -- debsums errors found:
 Your vendor has not defined Fcntl macro O_NOATIME, used at /usr/bin/debsums 
 line 277.
 
 WTF?
Probably a bug in perl's Fcntl.pm, haven't looked further:
$ perl -MFcntl=O_NOATIME -le 'print STDOUT O_NOATIME'
Your vendor has not defined Fcntl macro O_NOATIME, used at -e line 1.

Hanno



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#554438: iwatch: Fails exec on files containing format chars

2009-11-04 Thread Hanno Hecker
Package: iwatch
Version: 0.2.1-3
Severity: normal
Tags: patch

If a file being watched contains one of the formats available for 
substitution in a command, the command will not be executed. 
$ iwatch -c 'echo %f' -e close_write .
[ 4/Nov/2009 13:43:20] IN_CLOSE_WRITE ./_%f_
[ 4/Nov/2009 13:43:20] * ./_%f_ is closed
^C

Expected output is like:
$ ./iwatch -c 'echo %f' -e close_write .
[ 4/Nov/2009 13:43:29] IN_CLOSE_WRITE ./_%f_
[ 4/Nov/2009 13:43:29] * ./_%f_ is closed
[ 4/Nov/2009 13:43:29] * Command: echo ./_%f_
./_%f_
^C

Fix is attached.

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages iwatch depends on:
ii  libevent-perl1.11-1  Generic Perl event loop
ii  liblinux-inotify2-perl   1:1.1-2.1+b1scalable directory/file change not
ii  libmail-sendmail-perl0.79-5  Send email from a perl script
ii  libxml-simpleobject-libx 0.53-1  Simple oo representation of an XML
ii  perl-modules 5.10.0-19lenny2 Core Perl modules
ii  postfix [mail-transport- 2.5.5-1.1   High-performance mail transport ag

iwatch recommends no packages.

iwatch suggests no packages.

-- no debconf information
--- iwatch.ORIG 2009-11-04 09:06:35.0 +0100
+++ iwatch  2009-11-04 09:58:39.0 +0100
@@ -34,7 +34,7 @@
 sub mywatch;
 sub pathwatch;
 sub getMask;
-sub stringf;
+sub stringf ($%);
 $Getopt::Std::STANDARD_HELP_VERSION = 1;
 
 my %options=();
@@ -395,18 +395,19 @@
   }
 }
 
-sub stringf() {
-  my $ind;
-  my ($string,%format) = @_;
-  foreach my $key (keys %format) {
-$ind = index $string,%$key;
-next if($ind == -1);
-substr($string,$ind,2) = {$format{$key}};
-$string = stringf($string,%format);
-  }
+sub stringf($%) { 
+  my ($string, %format) = @_; 
+  my $re = join(|, map { %.quotemeta } keys(%format));
+  $string =~ s/$re/_stringf($, \%format)/ge; 
   $string;
 }
 
+sub _stringf {
+  my ($s,$f) = @_;
+  $s =~ s/^\%//;
+  {$f-{$s}};
+}
+
 sub Usage {
   VERSION_MESSAGE();
   HELP_MESSAGE();


Bug#516468: sbnc: not sbnc's fault?

2009-03-28 Thread Hanno Hecker
Hi,

This is reproducable for me when installing with apt-get (and
aptitude), with dpkg -i $package it works every time.

Hanno

hex:~# ls /var/lib/sbnc/
ls: cannot access /var/lib/sbnc/: No such file or directory
hex:~# apt-get install sbnc
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following extra packages will be installed:
  sbnc-tcl
The following NEW packages will be installed:
  sbnc sbnc-tcl
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
[...]
Setting up sbnc (1.2-8) ...
Not starting sbnc, it is disabled in /etc/default/sbnc (warning).
Setting up sbnc-tcl (1.2-8) ...
hex:~# ls /var/lib/sbnc/
hex:~# dpkg --purge sbnc-tcl sbnc
(Reading database ... 51738 files and directories currently installed.)
Removing sbnc-tcl ...
Removing sbnc ...
Stopping sbnc daemon: sbnc.
Purging configuration files for sbnc ...
Processing triggers for man-db ...
hex:~# dpkg -i /var/cache/apt/archives/sbnc-tcl_1.2-8_i386.deb  
/var/cache/apt/archives/sbnc_1.2-8_i386.deb
Selecting previously deselected package sbnc-tcl.
(Reading database ... 51670 files and directories currently installed.)
Unpacking sbnc-tcl (from .../sbnc-tcl_1.2-8_i386.deb) ...
Selecting previously deselected package sbnc.
Unpacking sbnc (from .../archives/sbnc_1.2-8_i386.deb) ...
Setting up sbnc (1.2-8) ...
Not starting sbnc, it is disabled in /etc/default/sbnc (warning).
Processing triggers for man-db ...
Setting up sbnc-tcl (1.2-8) ...
hex:~# ls /var/lib/sbnc/
users
hex:~# dpkg --purge sbnc-tcl sbnc
(Reading database ... 51738 files and directories currently installed.)
Removing sbnc-tcl ...
Removing sbnc ...
Stopping sbnc daemon: sbnc.
Purging configuration files for sbnc ...
Processing triggers for man-db ...
hex:~# ls /var/lib/sbnc/
ls: cannot access /var/lib/sbnc/: No such file or directory
hex:~# apt-get install sbnc
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following extra packages will be installed:
  sbnc-tcl
The following NEW packages will be installed:
  sbnc sbnc-tcl
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
[...]
Setting up sbnc (1.2-8) ...
Not starting sbnc, it is disabled in /etc/default/sbnc (warning).
Setting up sbnc-tcl (1.2-8) ...
hex:~# ls /var/lib/sbnc/
hex:~#



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#517726: in.uucpd fails to validate password

2009-03-01 Thread Hanno Hecker
Package: uucp
Version: 1.07-19.3
Severity: normal


When connecting with a uucico to in.uucpd via stunnel, the login / 
password dialog times out. Straceing in.uucpd shows

[pid 24287] write(2, Password: ..., 10) = 10
[pid 24287] read(0,  unfinished ...
[pid 24287] ... read resumed x..., 1) = 1
[pid 24287] read(0, x..., 1)  = 1
[pid 24287] read(0, x..., 1)  = 1
[pid 24287] read(0, x..., 1)  = 1
[pid 24287] read(0, x..., 1)  = 1
[pid 24287] read(0, x..., 1)  = 1
[pid 24287] read(0, x..., 1)  = 1
[pid 24287] read(0, x..., 1)  = 1
[pid 24287] read(0, x..., 1)  = 1
[pid 24287] read(0, \r..., 1) = 1
[pid 24287] read(0, 0xbfc2b006, 1)  = ? ERESTARTSYS (To be restarted)
[pid 24287] --- SIGALRM (Alarm clock) @ 0 (0) ---

The password prompt is sent by libpam_misc's conv function. Earlier
versions (etch) just slurped in the whole password string and worked 
as expected.
Lenny's misc_conv() function of libpam reads one charachter up to a '\n'. 
This '\n' is never sent by uucico...


-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-6-486
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages uucp depends on:
ii  bsd-mailx [mailx]  8.1.2-0.20071201cvs-3 A simple mail user agent
ii  cron   3.0pl1-105management of regular background p
ii  cu 1.07-19.3 call up another system
ii  libc6  2.7-18GNU C Library: Shared libraries
ii  libpam-runtime 1.0.1-5   Runtime support for the PAM librar
ii  libpam0g   1.0.1-5   Pluggable Authentication Modules l
ii  logrotate  3.7.1-5   Log rotation utility
ii  mailx  1:20071201-3  Transitional package for mailx ren
ii  netbase4.34  Basic TCP/IP networking system
ii  openbsd-inetd [ine 0.20080125-2  The OpenBSD Internet Superserver

Versions of packages uucp recommends:
ii  postfix   2.5.5-1.1  High-performance mail transport ag

uucp suggests no packages.

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#517726: in.uucpd fails to validate password

2009-03-01 Thread Hanno Hecker

A workaround for clients may be to use
  chat ogin: \L word: \P\r\n\c
or 
  chat ogin: \L word: \P\n\c
as chat script instead of  
  chat ogin: \L word: \P

Hanno



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#506114: clamav-daemon: Fix for #486076 (in 0.94.dfsg.1-1~volatile1) fails on etch: status_of_proc: command not found

2008-11-18 Thread Hanno Hecker
Package: clamav-daemon
Version: 0.94.dfsg.1-1~volatile1
Severity: normal


The fix provided for #486076 fails on etch:
 $ sudo /etc/init.d/clamav-daemon status
 /etc/init.d/clamav-daemon: line 264: status_of_proc: command not found
  

-- Package-specific info:
--- configuration ---
/etc/clamav/clamd.conf: clamd directives
--
LogFile = /var/log/clamav/clamav.log
LogFileUnlock = no
LogFileMaxSize = 0
LogTime = yes
LogClean = no
LogVerbose = no
LogSyslog = no
LogFacility = LOG_LOCAL6
PidFile = /var/run/clamav/clamd.pid
TemporaryDirectory = /tmp
ScanPE = yes
ScanELF = yes
DetectBrokenExecutables = yes
ScanMail = yes
MailFollowURLs = no
ScanPartialMessages = no
PhishingSignatures = yes
PhishingScanURLs = yes
PhishingAlwaysBlockCloak = no
PhishingAlwaysBlockSSLMismatch = no
HeuristicScanPrecedence = no
DetectPUA = no
ExcludePUA not set
IncludePUA not set
StructuredDataDetection = no
StructuredMinCreditCardCount = 3
StructuredMinSSNCount = 3
StructuredSSNFormatNormal = yes
StructuredSSNFormatStripped = no
AlgorithmicDetection = yes
ScanHTML = yes
ScanOLE2 = yes
ScanPDF = yes
ScanArchive = yes
MaxScanSize = 104857600
MaxFileSize = 26214400
MaxRecursion = 16
MaxFiles = 1
ArchiveLimitMemoryUsage = no
ArchiveBlockEncrypted = no
DatabaseDirectory = /var/lib/clamav
TCPAddr not set
TCPSocket not set
LocalSocket = /var/run/clamav/clamd.ctl
MaxConnectionQueueLength = 15
StreamMaxLength = 10485760
StreamMinPort = 1024
StreamMaxPort = 2048
MaxThreads = 12
ReadTimeout = 180
IdleTimeout = 30
MaxDirectoryRecursion = 15
ExcludePath not set
FollowDirectorySymlinks = no
FollowFileSymlinks = no
ExitOnOOM = no
Foreground = no
Debug = no
LeaveTemporaryFiles = no
FixStaleSocket = yes
User = clamav
AllowSupplementaryGroups = yes
SelfCheck = 3600
VirusEvent not set
ClamukoScanOnAccess not set
ClamukoScanOnOpen not set
ClamukoScanOnClose not set
ClamukoScanOnExec not set
ClamukoIncludePath not set
ClamukoExcludePath not set
ClamukoMaxFileSize = 5242880
DevACOnly not set
DevACDepth not set
*** MailMaxRecursion is DEPRECATED ***
*** ArchiveMaxFileSize is DEPRECATED ***
*** ArchiveMaxRecursion is DEPRECATED ***
*** ArchiveMaxFiles is DEPRECATED ***
*** ArchiveMaxCompressionRatio is DEPRECATED ***
*** ArchiveBlockMax is DEPRECATED ***

/etc/clamav/freshclam.conf: freshclam directives
--
LogFileMaxSize = 0
LogTime = no
LogVerbose = no
LogSyslog = no
LogFacility = LOG_LOCAL6
PidFile = /var/run/clamav/freshclam.pid
DatabaseDirectory = /var/lib/clamav/
Foreground = no
Debug = no
AllowSupplementaryGroups = no
DatabaseOwner = clamav
Checks = 24
UpdateLogFile = /var/log/clamav/freshclam.log
DNSDatabaseInfo = current.cvd.clamav.net
DatabaseMirror = db.local.clamav.net
DatabaseMirror = database.clamav.net
DatabaseMirror = db.de.clamav.net
MaxAttempts = 5
ScriptedUpdates = yes
CompressLocalDatabase = no
HTTPProxyServer not set
HTTPProxyPort not set
HTTPProxyUsername not set
HTTPProxyPassword not set
HTTPUserAgent not set
NotifyClamd not set
OnUpdateExecute not set
OnErrorExecute not set
OnOutdatedExecute not set
LocalIPAddress not set
ConnectTimeout = 30
ReceiveTimeout = 30
SubmitDetectionStats not set
DetectionStatsCountry not set

Engine and signature databases
--
Engine version: 0.94.1
Database directory: /var/lib/clamav/
main db: Format: .cld, Version: 49, Build time: Thu Oct 23 00:03:26 2008
daily db: Format: .cld, Version: 8645, Build time: Tue Nov 18 05:30:32 2008

--- data dir ---
total 41368
drwxr-xr-x 2 clamav clamav 4096 Sep  7 06:26 
clamav-516acf76dd18814dc242b1051a737a5a
-rw-r--r-- 1 clamav clamav  1693184 Nov 18 06:26 daily.cld
drwxr-xr-x 2 clamav clamav 4096 Jun  3 01:15 daily.inc
-rw-r--r-- 1 clamav clamav 40598016 Oct 23 01:34 main.cld
drwxr-xr-x 2 clamav clamav 4096 Jun  3 01:15 main.inc
-rw--- 1 clamav clamav 1300 Nov 18 13:44 mirrors.dat

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-vserver-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages clamav-daemon depends on:
ii  clamav-base  0.94.dfsg.1-1~volatile1 anti-virus utility for Unix - base
ii  clamav-freshclam 0.94.dfsg.1-1~volatile1 anti-virus utility for Unix - viru
ii  libbz2-1.0   1.0.3-6 high-quality block-sorting file co
ii  libc62.3.6.ds1-13etch7   GNU C Library: Shared libraries
ii  libclamav5   0.94.dfsg.1-1~volatile1 anti-virus utility for Unix - libr
ii  libgmp3c22:4.2.1+dfsg-4  Multiprecision arithmetic library
ii  lsb-base 3.1-23.2etch1   Linux Standard Base 3.1 init scrip
ii  ucf  2.0020  Update Configuration File: preserv
ii  zlib1g   1:1.2.3-13  compression library - runtime

clamav-daemon recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to 

Bug#408391: malloc(): memory corruption (fast) and internal errors

2007-01-25 Thread Hanno Hecker
Package: gawk
Version: 1:3.1.5.dfsg-4
Severity: normal

The attached gawk script only works if the get_extra() are called in the
order FOO2, FOO1. Else it will either die with an internal error or
memory corruption (start with 'echo  | gawk -f ./testit.awk').

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

Versions of packages gawk depends on:
ii  libc62.3.6.ds1-8 GNU C Library: Shared libraries

gawk recommends no packages.

-- no debconf information


testit.awk
Description: application/gawk


Bug#405528: xchat: fails to save url grabber log

2007-01-04 Thread Hanno Hecker
Package: xchat
Version: 2.6.8-0.3
Severity: normal
Tags: patch


When saving the url grabber log, xchat tries to open the selected file
below ~/.xchat2/ with full path
(e.g. /home/user/.xchat2/home/user/urlgrab.log instead of
/home/user/urlgrab.log)

Fix attached.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages xchat depends on:
ii  libatk1.0-0   1.12.3-1   The ATK accessibility toolkit
ii  libc6 2.3.6.ds1-8GNU C Library: Shared libraries
ii  libcairo2 1.2.4-4The Cairo 2D vector graphics libra
ii  libdbus-1-3   1.0.2-1simple interprocess messaging syst
ii  libdbus-glib-1-2  0.71-3 simple interprocess messaging syst
ii  libfontconfig12.4.1-2generic font configuration library
ii  libfreetype6  2.2.1-5FreeType 2 font engine, shared lib
ii  libglib2.0-0  2.12.4-2   The GLib library of C routines
ii  libgtk2.0-0   2.8.20-3   The GTK+ graphical user interface 
ii  libpango1.0-0 1.14.8-3   Layout and rendering of internatio
ii  libperl5.85.8.8-7Shared Perl library
ii  libpng12-01.2.15~beta5-1 PNG library - runtime
ii  libsexy2  0.1.10-1   collection of additional GTK+ widg
ii  libssl0.9.8   0.9.8c-4   SSL shared libraries
ii  libx11-6  2:1.0.3-4  X11 client-side library
ii  libxcursor1   1.1.7-4X cursor management library
ii  libxext6  1:1.0.1-2  X11 miscellaneous extension librar
ii  libxfixes31:4.0.1-5  X11 miscellaneous 'fixes' extensio
ii  libxi61:1.0.1-4  X11 Input extension library
ii  libxinerama1  1:1.0.1-4.1X11 Xinerama extension library
ii  libxml2   2.6.27.dfsg-1  GNOME XML library
ii  libxrandr22:1.1.0.2-5X11 RandR extension library
ii  libxrender1   1:0.9.1-3  X Rendering Extension client libra
ii  python2.4 2.4.4-1An interactive high-level object-o
ii  tcl8.48.4.12-1.1 Tcl (the Tool Command Language) v8
ii  xchat-common  2.6.8-0.3  Common files for X-Chat
ii  zlib1g1:1.2.3-13 compression library - runtime

xchat recommends no packages.

-- no debconf information
--- src/common/url.c.orig   2007-01-04 10:34:47.0 +0100
+++ src/common/url.c2007-01-04 10:33:56.0 +0100
@@ -59,7 +59,7 @@
 {
FILE *fd;
 
-   fd = xchat_fopen_file (fname, mode, 0);
+   fd = xchat_fopen_file (fname, mode, XOF_FULLPATH);
if (fd == NULL)
return;
 


Bug#401859: postfix: upgrade fails with read-only alias_database (like ldap:, mysql:)

2006-12-06 Thread Hanno Hecker
Package: postfix
Version: 2.3.4-2
Severity: important


The postinst script calls 'newaliases' without verifying, that the
alias_database is a supported dictionay type:

fatal: dict_mkmap_func: unsupported dictionary type: ldap does not allow
map creation.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-vserver-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages postfix depends on:
ii  adduser 3.99 Add and remove users and groups
ii  debconf [debconf-2.0]   1.5.8Debian configuration management sy
ii  dpkg1.13.24  package maintenance system for Deb
ii  libc6   2.3.6.ds1-8  GNU C Library: Shared libraries
ii  libdb4.34.3.29-6 Berkeley v4.3 Database Libraries [
ii  libsasl22.1.19.dfsg1-0.5 Authentication abstraction library
ii  libssl0.9.8 0.9.8c-4 SSL shared libraries
ii  lsb-base3.1-22   Linux Standard Base 3.1 init scrip
ii  netbase 4.27 Basic TCP/IP networking system
ii  ssl-cert1.0.13   Simple debconf wrapper for openssl

Versions of packages postfix recommends:
ii  emacs21 [mail-re 21.4a+1-1   The GNU Emacs editor
ii  mailx [mail-read 1:8.1.2-0.20050715cvs-1 A simple mail user agent

-- debconf information excluded


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



Bug#392299: openoffice.org: Hanging on exit seems to be an NFS problem

2006-11-06 Thread Hanno Hecker
*** Please type your report below this line ***

This seems to be NFS related, I can reproduce it with $HOME on NFS.
After setting 'export HOME=/tmp/$USER; mkdir $HOME' the problem is no
longer present.


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

Versions of packages openoffice.org depends on:
ii  openoffice.org-base   2.0.4-5OpenOffice.org office suite - data
ii  openoffice.org-calc   2.0.4-5OpenOffice.org office suite - spre
ii  openoffice.org-core   2.0.4-5OpenOffice.org office suite archit
ii  openoffice.org-draw   2.0.4-5OpenOffice.org office suite - draw
ii  openoffice.org-impress2.0.4-5OpenOffice.org office suite - pres
ii  openoffice.org-java-common2.0.4-5OpenOffice.org office suite Java s
ii  openoffice.org-math   2.0.4-5OpenOffice.org office suite - equa
ii  openoffice.org-writer 2.0.4-5OpenOffice.org office suite - word

openoffice.org recommends no packages.

-- no debconf information


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



Bug#393450: /sbin/grub-install wants me to call non existing /usr/sbin/grub-install

2006-10-16 Thread Hanno Hecker
Package: grub
Version: 0.97-18
Severity: normal

# grub-install /dev/sdb 
You shouldn't call /sbin/grub-install. Please call /usr/sbin/grub-install 
instead!

Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(hd0)   /dev/sda
(hd1)   /dev/sdb
# ls -la /usr/sbin/grub-install 
ls: /usr/sbin/grub-install: No such file or directory
# 

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages grub depends on:
ii  libc62.3.6.ds1-4 GNU C Library: Shared libraries
ii  libncurses5  5.5-3   Shared libraries for terminal hand

grub recommends no packages.

-- no debconf information


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



Bug#354830: capiutils: capifax fails to send faxes to audio_3.1kHz-only destinations

2006-03-01 Thread Hanno Hecker
Package: capiutils
Version: 1:3.6.2005-01-03-5
Severity: wishlist
Tags: patch

capifax fails to send faxes to some destinations with Incompatible
destination. The reason is the hard-coded SPEECH in 
isdnutils-3.6.2005-01-03/capifax/capifax.c, line 205.

This patch attempts to fix it by adding an -a option for capifax, 
which switches from SPEECH to AUDIO3_1KHZ.
Tested on sarge/i386 w. AVM's fcpci.ko and an 3.1kHz audio only fax
receiver on the other end.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages capiutils depends on:
ii  libc6 2.3.2.ds1-22   GNU C Library: Shared libraries an
ii  libcapi20-2   1:3.6.2005-01-03-5 libraries for CAPI support
ii  lsb-base  3.0-15 Linux Standard Base 3.0 init scrip

-- no debconf information


capifax.3_1kHz_audio.diff.gz
Description: Binary data


Bug#334271: qpsmtpd: the postfix queue plugin does not allow maps in cleanup

2005-10-16 Thread Hanno Hecker
Package: qpsmtpd
Version: 0.30-5
Severity: normal
Tags: patch


The queue/postfix plugin does not set any flags when dropping mail into
the cleanup socket:
  $strm-print_attr('flags' = '');
This prevents the use of (for example)
 virtual_alias_domains = mydomain1.com, mydomain2.org
 virtual_alias_maps = hash:/etc/postfix/virtual
Setting this to CLEANUP_FLAG_MAP_OK (from
$postfix_src/src/global/cleanup_user.h) fixes this behaviour.


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.31-ow1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages qpsmtpd depends on:
ii  adduser   3.63   Add and remove users and groups
ii  debconf [debconf-2.0] 1.4.30.13  Debian configuration management sy
ii  libdigest-hmac-perl   1.01-3 create standard message integrity 
ii  libmail-spf-query-perl1.997-2Query SPF (Sender Permitted From) 
ii  libmailtools-perl 1.62-1 Manipulate email in perl programs
ii  libnet-dns-perl   0.48-1 Perform DNS queries from a Perl sc
ii  libnet-perl   1:1.19-1   Implementation of Internet protoco
ii  perl  5.8.4-8Larry Wall's Practical Extraction 
ii  perl-modules [libnet-perl]5.8.4-8Core Perl modules

-- debconf information excluded
--- Qpsmtpd/Postfix.pm.orig 2005-07-06 16:24:53.0 +0200
+++ Qpsmtpd/Postfix.pm  2005-10-16 19:38:54.0 +0200
@@ -162,7 +162,7 @@
   my %at = $strm-get_attr;
   my $qid = $at{queue_id};
   print STDERR qid=$qid\n;
-  $strm-print_attr('flags' = '');
+  $strm-print_attr('flags' = '0032');
   $strm-print_rec_time();
   $strm-print_rec('REC_TYPE_FROM', $transaction-sender-address|| );
   for (map { $_-address } $transaction-recipients) {


Bug#90381: findutils: possible fix for updatedb

2005-07-26 Thread Hanno Hecker
Package: findutils
Version: 4.1.20-6
Followup-For: Bug #90381

Hi,

this patch fixes the reported bug. If any command in the pipe fails, 
$LOCATE_DB.n will have a size of = 10 bytes (0 if frcode fails, 10
on any other command). It keeps the currently available locatedb on
failure instead of detroying it. Due to the nature of the pipes it's
not (easily) possible to report an error unless frcode fails. So we 
have to live with the non destructive part. 

Hanno

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages findutils depends on:
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an

-- no debconf information
--- /usr/bin/updatedb   2005-03-20 10:48:27.0 +0100
+++ updatedb2005-07-26 11:05:56.0 +0200
@@ -143,7 +143,12 @@
 
 # To avoid breaking locate while this script is running, put the
 # results in a temp file, then rename it atomically.
-if test -s $LOCATE_DB.n; then
+
+### don't test -s! $LOCATE_DB.n _will_ have a non zero size, even if
+### one of the commands in the pipeline fails 
+### (see also debian bug #90381)
+# hmm, this will probably break, if frcode changes it's output on zero input
+if [ `stat -c '%s' $LOCATE_DB.n` -gt 10 ]; then 
   rm -f $LOCATE_DB
   mv $LOCATE_DB.n $LOCATE_DB
   chmod 644 $LOCATE_DB
@@ -205,7 +210,8 @@
 
 # To reduce the chances of breaking locate while this script is running,
 # put the results in a temp file, then rename it atomically.
-if test -s $LOCATE_DB.n; then
+if [ `stat -c '%s' $LOCATE_DB.n` -gt 10 ]; then ### see above why not test -s 
+# if test -s $LOCATE_DB.n; then
   rm -f $LOCATE_DB
   mv $LOCATE_DB.n $LOCATE_DB
   chmod 644 $LOCATE_DB


Bug#88946: ifupdown: documented in sarge, but not working

2005-02-02 Thread Hanno Hecker
Package: ifupdown
Version: 0.6.4-4.10
Followup-For: Bug #88946

The interfaces(5) man page in sarge documents that we have access to the 
VERBOSITY variable (line 118,119), but it's not working:
opera:~# cat /etc/network/if-up.d/env 
#!/bin/sh
env
opera:~# ifdown eth1; ifup --verbose eth1
Running mapping script ifscheme-mapping on eth1
Configuring interface eth1=eth1-home (inet)
run-parts /etc/network/if-pre-up.d
run-parts /etc/network/if-up.d
MODE=start
ADDRFAM=inet
METHOD=manual
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
IF_WIRELESS_MODE=monitor
_=/usr/bin/env
PWD=/root
SHLVL=2
IFACE=eth1
opera:~# 

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages ifupdown depends on:
ii  debconf [debconf-2.0]   1.4.30.11Debian configuration management sy
ii  libc6   2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  net-tools   1.60-10  The NET-3 networking toolkit

-- debconf information:
  ifupdown/convert-interfaces: true


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