Bug#929310: monitoring-plugins-basic: check_ntp_peer does not allow unix socket for "-H"

2019-05-21 Thread Ronny Lindner
Package: monitoring-plugins-basic
Version: 2.2-3
Severity: normal

Dear Maintainer,

the help text for the "-H" option states:
 -H, --hostname=ADDRESS
 Host name, IP Address, or unix socket (must be an absolute path)

but it uses "is_host()" to test for a valid ip address or dns-hostname.
This behavior has not changed between 2.2-3 (stretch) and 2.2-6 (sid).

It should either not say "unix socket" in the help text or allow the
usage of unix sockets.

-- System Information:
Debian Release: 9.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages monitoring-plugins-basic depends on:
ii  iputils-ping   3:20161105-1
ii  libc6  2.24-11+deb9u4
ii  libssl1.1
1.1.1b-1+0~20190228092419.10+stretch~1.gbp729d89
ii  monitoring-plugins-common  2.2-3
ii  procps 2:3.3.12-3+deb9u1
ii  ucf3.0036

Versions of packages monitoring-plugins-basic recommends:
ii  libcap2-bin  1:2.25-1

Versions of packages monitoring-plugins-basic suggests:
pn  icinga | icinga2  

-- no debconf information






Bug#758634: gt5: commandline options are always overwritten by defaults

2014-08-19 Thread Ronny Lindner
Package: gt5
Version: 1.5.0~20111220+bzr29-1
Severity: normal
Tags: patch

Dear Maintainer,

options like --max-depth or --cut-at are not used because they are overwritten
by the default options. a fix is attached.

-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- a/usr/bin/gt5	2011-12-22 04:31:53.0 +0100
+++ b/usr/bin/gt5	2014-08-19 14:26:41.0 +0200
@@ -503,7 +503,6 @@
 
 Initialize
 Initialize_tempdir
-Options $@
 
 SPACE=_escaped_${RANDOM}_space_
 TAB=_escaped_${RANDOM}_tab_
@@ -517,6 +516,8 @@
 UNIT=K
 X=x
 
+Options $@
+
 # Treat options: --
 
 [ $CD ]  cd $OLDPWD


Bug#758645: gt5: space calculation in headlines taken from wrong folder

2014-08-19 Thread Ronny Lindner
Package: gt5
Version: 1.5.0~20111220+bzr29-1
Severity: normal
Tags: patch

Dear Maintainer,
the summary line in a subfolder has a wrong size. It is not the same as the
size of the folder entrty shown in the parent folder:

==
../:   [4.6TB in 5 files or directories]

 4.6TB [100.00%] ./folder1/ -- click
 6.4GB [ 0.14%] ./folder2/
==
../folder1/:   [3.8TB in 7 files or directories]

 3.8TB [100.00%] ./subfolder1/
 691GB [17.61%] ./subfolder2/
  48GB [ 1.22%] ./subfolder3/
==

The line [3.8TB in 7 files or directories] should really be:
[4.6TB in 7 files or directories]

The size written there is the size of the previous folder in the raw du.
The me-Variable is used in size[me] = $1 before it is initialized
to me = $3. The attached patch fixes the problem.

Bye, Ronny

-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- a/usr/bin/gt5	2011-12-22 04:31:53.0 +0100
+++ b/usr/bin/gt5	2014-08-19 17:03:04.0 +0200
@@ -670,9 +670,9 @@
 	printf(%s %s\n, $0, $0)
 	}
 
+	me= $3
 	size[me]  = $1
 	osize[me] = $2
-	me= $3
 	e = 0
 
 	while ( i = index( substr(me, e + 1), /) )


Bug#635513: clusterssh: pasting special characters results in perl errors

2012-05-07 Thread Ronny Lindner
Hello Tony,

I tried pasting the following string: /sbin/ifconfig | grep inet 
this version still has the bug:
===
Use of uninitialized value within %keyboardmap in pattern match (m//) at 
/usr/share/perl5/App/ClusterSSH.pm line 329.
Use of uninitialized value $state in concatenation (.) or string at 
/usr/share/perl5/App/ClusterSSH.pm line 333.
Use of uninitialized value $code in concatenation (.) or string at 
/usr/share/perl5/App/ClusterSSH.pm line 333.
Use of uninitialized value $_ in pattern match (m//) at 
/usr/share/perl5/App/ClusterSSH.pm line 336.
Use of uninitialized value $_ in pattern match (m//) at 
/usr/share/perl5/App/ClusterSSH.pm line 340.
Use of uninitialized value $_ in pattern match (m//) at 
/usr/share/perl5/App/ClusterSSH.pm line 344.
Use of uninitialized value $_ in pattern match (m//) at 
/usr/share/perl5/App/ClusterSSH.pm line 348.
Tk::Error: Should never reach here at /usr/share/perl5/App/ClusterSSH.pm line 
353.
 App::ClusterSSH::get_keycode_state at /usr/share/perl5/App/ClusterSSH.pm line 
353
 App::ClusterSSH::send_text at /usr/share/perl5/App/ClusterSSH.pm line 511
 App::ClusterSSH::__ANON__ at /usr/share/perl5/App/ClusterSSH.pm line 1341
 Paste
 (command bound to event)
===

-- 
Ronny Lindner
Linux-Systemadministrator

Unister GmbH
Barfußgässchen 11 | 04109 Leipzig

Telefon: +49 (0)341 65050 24537
ronny.lind...@unister.de
www.unister.de

Vertretungsberechtigter Geschäftsführer: Thomas Wagner
Amtsgericht Leipzig, HRB: 19056


signature.asc
Description: PGP signature


Bug#635513: clusterssh: pasting special characters results in perl errors

2011-07-26 Thread Ronny Lindner
Package: clusterssh
Version: 4.00.05-3
Severity: normal
Tags: upstream

I use a german keyboard layout (qwertz) and when I paste a@b into the
clusterssh input box, it has a problem getting the keysym for the @.
On my keyboard the @ is [Alt Gr] + [Q] ( q, Q and @ are on this key ). I
attached the debug output of clusterssh. In the first part I typed a@b by hand
(no problems) and in the second part it is pasted.

The bug also appears in the current upstream version ClusterSSH-4.00_10 from
2011-07-08.

The entry in @keyboard is:
##
  [
113, # q
81, # Q
113, # q
81, # Q
64, # @
2009,
64 # @
  ],
# @keyboard arry
#  0 = plain key
#  1 = with shift
#  2 = with Alt-GR
#  3 = with shift + AltGr
#  4 = same as 2 - control/alt?
#  5 = same as 3 - shift-control-alt?
##

I traced it back and it might be a problem in
X11::Protocol-GetKeyboardMapping.
The attached patch is not really a solution because I think it only works with
the german keyboard layout.


-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (500, 'stable'), (1, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages clusterssh depends on:
ii  libx11-protocol-perl  0.56-2 Perl module for the X Window Syste
ii  openssh-client1:5.5p1-6  secure shell (SSH) client, for sec
ii  perl-tk   1:804.029-1+b1 Perl module providing the Tk graph
ii  xterm 261-1  X terminal emulator

clusterssh recommends no packages.

clusterssh suggests no packages.

-- no debconf information

*** /home/r.lindner/bin/App-ClusterSSH-4.00_10/bin/csshbug.txt
11:10:58: =
11:10:58: event=KeyPress
11:10:58: keysym   =a (state=Mod2-)
11:10:58: keysymdec=97
11:10:58: keycode  =38
11:10:58: state=Mod2-
11:10:58: codetosym=a
11:10:58: symtocode=97
11:10:58: keyboard =n38
11:10:58: combo=a
11:10:58: key=:Alt-n:
11:10:58: key=:Alt-r:
11:10:58: key=:Control-q:
11:10:58: key=:Control-Shift-plus:
11:10:58: key=:Alt-h:
11:10:58: key=:Control-v:
11:10:58: Sending event KeyPress with code 38 (state=Mod2-) to window 169869327
11:10:58: =
11:10:58: event=KeyRelease
11:10:58: keysym   =a (state=Mod2-)
11:10:58: keysymdec=97
11:10:58: keycode  =38
11:10:58: state=Mod2-
11:10:58: codetosym=a
11:10:58: symtocode=97
11:10:58: keyboard =n38
11:10:58: combo=a
11:10:58: key=:Alt-n:
11:10:58: key=:Alt-r:
11:10:58: key=:Control-q:
11:10:58: key=:Control-Shift-plus:
11:10:58: key=:Alt-h:
11:10:58: key=:Control-v:
11:10:58: Sending event KeyRelease with code 38 (state=Mod2-) to window
169869327
11:11:00: =
11:11:00: event=KeyPress
11:11:00: keysym   =ISO_Level3_Shift (state=Mod2-)
11:11:00: keysymdec=65027
11:11:00: keycode  =108
11:11:00: state=Mod2-
11:11:00: codetosym=ISO_Level3_Shift
11:11:00: symtocode=65027
11:11:00: keyboard =n108
11:11:00: combo=ISO_Level3_Shift
11:11:00: key=:Alt-n:
11:11:00: key=:Alt-r:
11:11:00: key=:Control-q:
11:11:00: key=:Control-Shift-plus:
11:11:00: key=:Alt-h:
11:11:00: key=:Control-v:
11:11:00: Sending event KeyPress with code 108 (state=Mod2-) to window
169869327
11:11:00: =
11:11:00: event=KeyPress
11:11:00: keysym   =0 (state=Mod2-Mod5-)
11:11:00: keysymdec=0
11:11:00: keycode  =24
11:11:00: state=Mod2-Mod5-
11:11:00: symtocode=48
11:11:00: keyboard =n19
11:11:00: combo=Mod5-0
11:11:00: key=:Alt-n:
11:11:00: key=:Alt-r:
11:11:00: key=:Control-q:
11:11:00: key=:Control-Shift-plus:
11:11:00: key=:Alt-h:
11:11:00: key=:Control-v:
11:11:00: Sending event KeyPress with code 24 (state=Mod2-Mod5-) to window
169869327
11:11:01: =
11:11:01: event=KeyRelease
11:11:01: keysym   =0 (state=Mod2-Mod5-)
11:11:01: keysymdec=0
11:11:01: keycode  =24
11:11:01: state=Mod2-Mod5-
11:11:01: symtocode=48
11:11:01: keyboard =n19
11:11:01: combo=Mod5-0
11:11:01: key=:Alt-n:
11:11:01: key=:Alt-r:
11:11:01: key=:Control-q:
11:11:01: key=:Control-Shift-plus:
11:11:01: key=:Alt-h:
11:11:01: key=:Control-v:
11:11:01: Sending event KeyRelease with code 24 (state=Mod2-Mod5-) to window
169869327
11:11:01: =
11:11:01: event=KeyRelease
11:11:01: keysym   =0 (state=Mod2-Mod5-)
11:11:01: keysymdec=0
11:11:01: keycode  =108
11:11:01: state=Mod2-Mod5-
11:11:01: symtocode=48
11:11:01: keyboard =n19
11:11:01: combo=Mod5-0
11:11:01: key=:Alt-n:
11:11:01: key=:Alt-r:
11:11:01: key=:Control-q:
11:11:01: key=:Control-Shift-plus:
11:11:01: key=:Alt-h:
11:11:01: key=:Control-v:
11:11:01: Sending event KeyRelease with code 108 (state=Mod2-Mod5-) to window
169869327
11:11:04: =
11:11:04: event=KeyPress
11:11:04: keysym   =b (state=Mod2-)
11:11:04: keysymdec=98
11:11:04: keycode  =56
11:11:04: state=Mod2-
11:11:04: 

Bug#613648: ganeti2: Wrong permissions for /var/lock after gnt-node add

2011-02-16 Thread Ronny Lindner
Package: ganeti2
Version: 2.1.6-1
Severity: critical
Tags: patch upstream
Justification: breaks unrelated software


The command gnt-node add changes the permissions of /var/lock to d-wxrwS--t
(3661 octal, 1777 decimal!). Other programs are not able to create a lockfile
anymore. That was tested with logcheck, which did not work after adding a
ganeti node.

The fix is really simple: there are 3 occurences of 1777 in
/usr/sbin/ganeti-confd and /usr/sbin/ganeti-noded . They must be changed to
01777 .

-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/24 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ganeti2 depends on:
ii  bridge-utils1.4-5Utilities for configuring the Linu
ii  iproute 20100519-3   networking and traffic control too
ii  iputils-arping  3:20100418-3 Tool to send ICMP echo requests to
ii  libjs-jquery1.4.2-2  JavaScript library for dynamic web
ii  lvm22.02.66-5The Linux Logical Volume Manager
ii  openssh-client  1:5.5p1-6secure shell (SSH) client, for sec
ii  openssh-server  1:5.5p1-6secure shell (SSH) server, for sec
ii  openssl 0.9.8o-4 Secure Socket Layer (SSL) binary a
ii  python  2.6.6-3+squeeze5 interactive high-level object-orie
ii  python-openssl  0.10-1   Python wrapper around the OpenSSL 
ii  python-pyinotify0.8.9-1  simple Linux inotify Python bindin
ii  python-pyparsing1.5.2-2  Python parsing module
ii  python-simplejson   2.1.1-1  simple, fast, extensible JSON enco
ii  python-support  1.0.10   automated rebuilding support for P
ii  socat   1.7.1.3-1multipurpose relay for bidirection

Versions of packages ganeti2 recommends:
ii  drbd8-utils2:8.3.7-2.1   RAID 1 over tcp/ip for Linux utili
ii  ganeti-instance-debootstra 0.9-3 debootstrap-based instance OS defi
ii  qemu-kvm   0.12.5+dfsg-5 Full virtualization on x86 hardwar

Versions of packages ganeti2 suggests:
pn  drbd8-module-source   none (no description available)

-- no debconf information
diff -u /usr/sbin/ganeti-confd /usr/sbin/ganeti-confd.new
--- /usr/sbin/ganeti-confd	2011-02-16 13:18:03.0 +0100
+++ /usr/sbin/ganeti-confd.new	2011-02-16 13:17:50.0 +0100
@@ -288,7 +288,7 @@
 constants.RELEASE_VERSION)
 
   dirs = [(val, constants.RUN_DIRS_MODE) for val in constants.SUB_RUN_DIRS]
-  dirs.append((constants.LOCK_DIR, 1777))
+  dirs.append((constants.LOCK_DIR, 01777))
   daemon.GenericMain(constants.CONFD, parser, dirs, CheckConfd, ExecConfd)
 
 
diff -u /usr/sbin/ganeti-noded /usr/sbin/ganeti-noded.new
--- /usr/sbin/ganeti-noded	2011-02-16 13:17:58.0 +0100
+++ /usr/sbin/ganeti-noded.new	2011-02-16 13:17:50.0 +0100
@@ -893,7 +893,7 @@
 
   dirs = [(val, constants.RUN_DIRS_MODE) for val in constants.SUB_RUN_DIRS]
   dirs.append((constants.LOG_OS_DIR, 0750))
-  dirs.append((constants.LOCK_DIR, 1777))
+  dirs.append((constants.LOCK_DIR, 01777))
   daemon.GenericMain(constants.NODED, parser, dirs, CheckNoded, ExecNoded,
  console_logging=True)
 


Bug#613648: ganeti2: Wrong permissions for /var/lock after gnt-node add

2011-02-16 Thread Ronny Lindner
I attached another patch against the source package of ganeti.

Cu, Ronny
--- daemons/ensure-dirs.in	2011-02-16 14:27:07.0 +0100
+++ daemons/ensure-dirs.in.new	2011-02-16 14:42:37.0 +0100
@@ -138,7 +138,7 @@
 }
 
 _ensure_lockdir() {
-  _ensure_dir ${LOCKDIR} 1777 
+  _ensure_dir ${LOCKDIR} 01777 
 }
 
 _operate_while_hold() {


Bug#476217: libqt4-core: PSI crashes after qt upgrade

2008-07-05 Thread Ronny Lindner

[EMAIL PROTECTED] schrieb:

I can confirm that psi 0.11-8 crashes with QT 4.4.0-3

kernel: psi[13354]: segfault at 4 ip b6e1edcc sp bff306d0 error 4 in
libQtCore.so.4.4.0[b6ccb000+223000]
  
My problem had to do with the red lines under words when you have spell 
checking enabled (Bug#485597) 
http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg532876.html




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



Bug#476217: libqt4-core: PSI crashes after qt upgrade

2008-06-20 Thread Ronny Lindner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

after the last QT4 update in Lenny (4.4.0-3) my PSI (0.11-8) is also
crashing. The problem was not there with QT 4.4.0-2.
As said before the crash is random but seems to only happen when you are
typing a message (typing, not sending).

I'm using 2.6.24-1-686-bigmem (4GB ram)

PSI gdb output:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6797a40 (LWP 14117)]
0xb7292813 in ?? () from /usr/lib/libQtGui.so.4
(gdb) bt
#0  0xb7292813 in ?? () from /usr/lib/libQtGui.so.4
#1  0xb726c318 in QPainterPath::arcTo () from /usr/lib/libQtGui.so.4
#2  0x4004 in ?? ()
#3  0xf40c64e7 in ?? ()
#4  0x404a4a7f in ?? ()
#5  0xcccd in ?? ()
#6  0x4004 in ?? ()
#7  0x in ?? ()

Bye, Ronny
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIW7FpSuimntuPN7YRAvbIAJ41wiCJTB5nt97YWVLUAQL62mBg2ACbBr59
avO1+XCxME+Sx5EGhn8J1Gs=
=ldDk
-END PGP SIGNATURE-



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