Bug#988245: ocsinventory-agent: cron script uses /bin/sh and RANDOM

2021-05-08 Thread Malte Schirmacher
Package: ocsinventory-agent
Version: 2:2.8-2
Severity: important
X-Debbugs-Cc: malte.schirmac...@etecture.de

Dear Maintainer,

the automatically installed cron.daily script uses /bin/sh.
Trying to access $RANDOM later might fail on many systems as this variable is
not present causing the cronjob not to be executed at all.
Explicitly using /bin/bash fixes this.


-- System Information:
Debian Release: 11.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-6-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_AUX
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ocsinventory-agent depends on:
ii  debconf [debconf-2.0]  1.5.76
ii  fdisk  2.36.1-7
ii  libc6  2.31-12
ii  libcrypt-ssleay-perl   0.73.06-1+b3
ii  libnet-ip-perl 1.26-2
ii  libproc-daemon-perl0.23-1
ii  libwww-perl6.53-1
ii  libxml-simple-perl 2.25-1
ii  perl   5.32.1-4
ii  ucf3.0043
ii  util-linux 2.36.1-7

Versions of packages ocsinventory-agent recommends:
ii  dmidecode   3.3-1
ii  e2fsprogs   1.46.2-1
ii  hdparm  9.60+ds-1
ii  libio-socket-ssl-perl   2.069-1
ii  liblwp-protocol-https-perl  6.10-1
ii  libnet-cups-perl0.64-1+b3
ii  libnet-netmask-perl 1.9104-2
ii  libnet-snmp-perl6.0.1-6
ii  libparse-edid-perl  1.0.7-1.1
ii  pciutils1:3.7.0-5

Versions of packages ocsinventory-agent suggests:
pn  libnmap-parser-perl  
ii  nmap 7.91+dfsg1+really7.80+dfsg1-2
pn  read-edid
ii  smartmontools7.2-1

-- Configuration Files:
/etc/cron.daily/ocsinventory-agent changed [not included]

-- debconf information:
* ocsinventory-agent/server: 172.29.0.222
* ocsinventory-agent/method: http



Bug#461569: hugs: Segfaults with long Lists as argument for the function attached

2008-01-19 Thread Malte Schirmacher

Package: hugs
Version: 98.200609.21-5
Severity: normal


Doing my homework for university i stumbled over this problem. This is
the sourcecode:

times :: Int - Int - Int
times x 0 = 0
times x 1 = x
times x (y+1) = x + times x y

sumSquare :: [Int] - Int
sumSquare [] = 0
sumSquare xs = sumSquare' 0 xs
where sumSquare' x [] = x
  sumSquare' x ( y : ys ) = sumSquare' ( x + times y y ) ys

Now if i call
 sumSquare [1..100]

in hugs it segfaults.

This should be reproducible so nothing more is attached.

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

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hugs depends on:
ii  libc6 2.7-5  GNU C Library: Shared libraries
ii  libhugs-base-bundled [lib 98.200609.21-5 Basic libraries
ii  libhugs-haskell98-bundled 98.200609.21-5 Compatibility with Haskell 98
ii  libncurses5   5.6+20071215-1 Shared libraries for 
terminal hand
ii  libreadline5  5.2-3  GNU readline and history 
libraries


Versions of packages hugs recommends:
pn  libhugs-alut  none (no description available)
pn  libhugs-cabal none (no description available)
pn  libhugs-fgl   none (no description available)
pn  libhugs-glut  none (no description available)
pn  libhugs-haskell-src   none (no description available)
pn  libhugs-haxml none (no description available)
pn  libhugs-hgl   none (no description available)
pn  libhugs-hunit none (no description available)
pn  libhugs-mtl   none (no description available)
pn  libhugs-network   none (no description available)
pn  libhugs-openalnone (no description available)
pn  libhugs-openglnone (no description available)
pn  libhugs-parsecnone (no description available)
pn  libhugs-quickchecknone (no description available)
pn  libhugs-stm   none (no description available)
pn  libhugs-time  none (no description available)
pn  libhugs-unix  none (no description available)
pn  libhugs-x11   none (no description available)
pn  libhugs-xhtml none (no description available)

-- no debconf information
(END)





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



Bug#436202: fuse-utils: the pre-removal script fails if the kernel module is missing

2007-08-06 Thread Malte Schirmacher

Package: fuse-utils
Version: 2.7.0-1
Severity: important


After building a new kernel i forgot to recompile the fuse module for
the new kernel, so the module was missing when i tried to upgrade to a
new fuse-utils version today.

invoke-rc.d: initscript fuse, action stop failed.
dpkg: Warnung - altes pre-removal-Skript wurde mit Fehler-Status 7
beendet
dpkg - probiere stattdessen Skript aus dem neuen Paket ...
Fuse filesystem not loaded.
invoke-rc.d: initscript fuse, action stop failed.
dpkg: Fehler beim Bearbeiten von
/var/cache/apt/archives/fuse-utils_2.7.0-1_i386.deb (--unpack):
 Unterprozess neues pre-removal-Skript gab den Fehlerwert 7 zurück
 Loading fuse module failed!

(Sorry i forgot to get the english output from dpkg, but i think thats
no problem)

When i looked what happens when i manually try to stop fuse, i found out
that it was just the missing kernel-module


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

Kernel: Linux 2.6.22-3 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fuse-utils depends on:
ii  adduser   3.104  add and remove users and groups
ii  libc6 2.6-2  GNU C Library: Shared libraries
ii  libfuse2  2.7.0-1Filesystem in USErspace library
ii  makedev   2.3.1-83   creates device files in /dev
ii  sed   4.1.5-2The GNU sed stream editor
ii  ucf   3.001  Update Configuration File: 
preserv
ii  udev  0.105-4/dev/ and hotplug 
management daemo


fuse-utils recommends no packages.

-- no debconf information




Bug#430177: xchat: can't set away-flag

2007-06-22 Thread Malte Schirmacher

Package: xchat
Version: 2.8.2-1
Severity: normal

Neither the menu-way nor the shortcut for setting the away-flag works
for me. Xchat instantly says You are no longer marked as being away

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

Kernel: Linux 2.6.22-rc4-1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xchat depends on:
ii  libatk1.0-0   1.18.0-2   The ATK accessibility toolkit
ii  libc6 2.5-9+b1   GNU C Library: Shared libraries
ii  libcairo2 1.4.6-1.1  The Cairo 2D vector 
graphics libra
ii  libdbus-1-3   1.0.2-1simple interprocess 
messaging syst
ii  libdbus-glib-1-2  0.73-2 simple interprocess 
messaging syst
ii  libfontconfig12.4.2-1.2  generic font configuration 
library
ii  libfreetype6  2.2.1-6FreeType 2 font engine, 
shared lib

ii  libglib2.0-0  2.12.12-1  The GLib library of C routines
ii  libgtk2.0-0   2.10.12-2  The GTK+ graphical user 
interface
ii  libpango1.0-0 1.16.4-1   Layout and rendering of 
internatio

ii  libperl5.85.8.8-7Shared Perl library
ii  libpng12-01.2.15~beta5-2 PNG library - runtime
ii  libsexy2  0.1.11-2   collection of additional 
GTK+ widg

ii  libssl0.9.8   0.9.8e-5   SSL shared libraries
ii  libx11-6  2:1.0.3-7  X11 client-side library
ii  libxcursor1   1:1.1.8-2  X cursor management library
ii  libxext6  1:1.0.3-2  X11 miscellaneous extension 
librar
ii  libxfixes31:4.0.3-2  X11 miscellaneous 'fixes' 
extensio

ii  libxi61:1.0.1-4  X11 Input extension library
ii  libxinerama1  1:1.0.2-1  X11 Xinerama extension library
ii  libxml2   2.6.28.dfsg-1  GNOME XML library
ii  libxrandr22:1.2.1-1  X11 RandR extension library
ii  libxrender1   1:0.9.2-1  X Rendering Extension 
client libra
ii  python2.4 2.4.4-4An interactive high-level 
object-o
ii  tcl8.48.4.12-1.1 Tcl (the Tool Command 
Language) v8

ii  xchat-common  2.8.2-1Common files for X-Chat
ii  zlib1g1:1.2.3-15 compression library - runtime

xchat recommends no packages.

-- no debconf information


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



Bug#355887: typespeed can't be installed - same error like in #166096

2006-03-08 Thread Malte Schirmacher
Package: typespeed
Version: 0.4.4-8 0
Severity: grave
Justification: renders package unusable



-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.15.4-2
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages typespeed depends on:
ii  coreutils [fileutils]   5.2.1-2  The GNU core utilities
ii  fileutils   5.2.1-2  The GNU file management utilities 
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libncurses5 5.4-4Shared libraries for terminal hand


execve(/usr/games/typespeed, [/usr/games/typespeed, --makescores], [/* 32 
vars */]) = 0
uname({sys=Linux, node=meiner, ...}) = 0
brk(0)  = 0x805c000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7f5b000
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or directory)
open(/etc/ld.so.cache, O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=75389, ...}) = 0
old_mmap(NULL, 75389, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f48000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/lib/libncurses.so.5, O_RDONLY)  = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\342..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=252592, ...}) = 0
old_mmap(NULL, 257868, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb7f09000
old_mmap(0xb7f3f000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x35000) = 0xb7f3f000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/lib/tls/i686/cmov/libc.so.6, O_RDONLY) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`Z\1\000..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1254500, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7f08000
old_mmap(NULL, 1264812, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb7dd3000
old_mmap(0xb7efd000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x129000) = 0xb7efd000
old_mmap(0xb7f06000, 7340, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f06000
close(3)= 0
set_thread_area({entry_number:-1 - 6, base_addr:0xb7f08820, limit:1048575, 
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, 
seg_not_present:0, useable:1}) = 0
munmap(0xb7f48000, 75389)   = 0
brk(0)  = 0x805c000
brk(0x807d000)  = 0x807d000
brk(0)  = 0x807d000
getcwd(/tmp, 1024)= 5
open(/etc/typespeedrc, O_RDONLY)  = -1 ENOENT (No such file or directory)
open(/home/thana/.typespeedrc, O_RDONLY) = -1 ENOENT (No such file or 
directory)
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 2), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7f5a000
write(1, Typespeed v0.4.4, Copyright (C) ..., 66) = 66
write(1, Typespeed comes with ABSOLUTELY ..., 71) = 71
chdir(/usr/share/games/typespeed) = 0
open(., O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
getdents64(3, /* 10 entries */, 4096)   = 320
getdents64(3, /* 0 entries */, 4096)= 0
close(3)= 0
write(1, \nReseting/Making scorefiles to a..., 54) = 54
write(1, \n, 1)   = 1
chdir(/var/games/typespeed)   = 0
open(high.words.unix, O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission 
denied)
write(1, Make scorefile for wordfile: wor..., 40) = 40
chdir(/var/games/typespeed)   = 0
open(high.words.spanish, O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES 
(Permission denied)
write(1, Make scorefile for wordfile: wor..., 43) = 43
chdir(/var/games/typespeed)   = 0
open(high.words.prog, O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission 
denied)
write(1, Make scorefile for wordfile: wor..., 40) = 40
chdir(/var/games/typespeed)   = 0
open(high.words.portuguese, O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES 
(Permission denied)
write(1, Make scorefile for wordfile: wor..., 46) = 46
chdir(/var/games/typespeed)   = 0
open(high.words.fin, O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission 
denied)
write(1, Make scorefile for wordfile: wor..., 39) = 39
chdir(/var/games/typespeed)   = 0
open(high.words.eng, O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission 
denied)
write(1, Make scorefile for wordfile: wor..., 39) = 39
chdir(/var/games/typespeed)   = 0
open(high.words.dut, O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission 
denied)
write(1, Make scorefile for wordfile: wor..., 39) = 39