Bug#548073: installation of otrs2 breaks apache configuration

2009-09-23 Thread Lubomir Host
Package: otrs2
Version: 2.2.7-2lenny1
Severity: serious
Justification: Policy 10.7.3


Installation of otrs2 package breaks apache2 configuration from the
following reasongs:

- otrs2 creates /etc/apache2/conf.d/otrs2 
  This configure options for ALL virtualhosts on the server. Location od
  otrs2 apache config should be /etc/apache2/sites-available/otrs2 and
  admin should enable them manually.

- Directive MaxRequestsPerChild 400 should be removed from config file

- All setting should be placed into VirtualHost * /VirtualHost
  directive

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

Kernel: Linux 2.6.24-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=sk_SK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages otrs2 depends on:
ii  adduser  3.110   add and remove users and groups
ii  apache2  2.2.9-10+lenny2 Apache HTTP Server metapackage
ii  apache2-mpm-prefork [htt 2.2.9-10+lenny2 Apache HTTP Server - traditional n
ii  dbconfig-common  1.8.39  common framework for packaging dat
ii  debconf  1.5.24  Debian configuration management sy
ii  libauthen-sasl-perl  2.12-1  Authen::SASL - SASL Authentication
ii  libcrypt-passwdmd5-perl  1.3-9   interoperable MD5-based crypt() fo
ii  libdate-pcalc-perl   1.2-3   Perl module for Gregorian calendar
ii  libdbi-perl  1.605-1 Perl5 database interface by Tim Bu
ii  libemail-valid-perl  0.179-2 Check validity of Internet email a
ii  libio-stringy-perl   2.110-4 Perl modules for IO from scalars a
ii  libmailtools-perl2.03-1  Manipulate email in perl programs
ii  libmime-perl 5.427-1 transitional dummy package
ii  libmime-tools-perl [libm 5.427-1 Perl5 modules for MIME-compliant m
ii  libtext-diff-perl0.35-3  Perform diffs on files and record 
ii  libxml-parser-perl   2.36-1.1+b1 Perl module for parsing XML files
ii  lighttpd [httpd-cgi] 1.4.19-5A fast webserver with minimal memo
ii  perl 5.10.0-19lenny2 Larry Wall's Practical Extraction 
ii  ucf  3.0016  Update Configuration File: preserv

Versions of packages otrs2 recommends:
ii  aspell 0.60.6-1  GNU Aspell spell-checker
ii  ispell 3.1.20.0-4.4  International Ispell (an interacti
ii  libapache2-mod-perl2   2.0.4-5   Integration of perl with the Apach
ii  libdbd-mysql-perl  4.007-1   A Perl5 database interface to the 
ii  libdbd-pg-perl 2.8.7-1   Perl DBI driver for the PostgreSQL
ii  libgd-graph-perl   1.44-3Graph Plotting Module for Perl 5
ii  libgd-text-perl0.86-5Text utilities for use with GD
ii  mysql-server   5.0.51a-24+lenny2 MySQL database server (metapackage
ii  mysql-server-5.0 [mysq 5.0.51a-24+lenny2 MySQL database server binaries
ii  procmail   3.22-16   Versatile e-mail processor

Versions of packages otrs2 suggests:
ii  libnet-ldap-perl  1:0.36-1   A Client interface to LDAP servers
pn  otrs2-doc-en | otrs2-doc-de   none (no description available)

-- debconf information:
  otrs2/remove-error: abort
  otrs2/pgsql/method: unix socket
  otrs2/pgsql/authmethod-admin: ident
  otrs2/pgsql/changeconf: false
  otrs2/pgsql/authmethod-user: ident
  otrs2/internal/skip-preseed: false
* otrs2/db/dbname: protected_for_security_reason
  otrs2/upgrade-error: abort
* otrs2/remote/newhost: protected_for_security_reason
  otrs2/internal/reconfiguring: false
  otrs2/purge: false
  otrs2/database-type: mysql
* otrs2/remote/host: protected_for_security_reason
  otrs2/missing-db-package-error: abort
* otrs2/mysql/admin-user: root
  otrs2/install-error: retry
* otrs2/db/app-user: protected_for_security_reason
* otrs2/resetdbuser: false
* otrs2/remote/port: protected_for_security_reason
  otrs2/upgrade-backup: true
  otrs2/pgsql/admin-user: postgres
  otrs2/dbconfig-reinstall: false
  otrs2/db/basepath:
* otrs2/dbconfig-install: true
  otrs2/pgsql/manualconf:
* otrs2/mysql/method: tcp/ip
  otrs2/dbconfig-remove:
  otrs2/pgsql/no-empty-passwords:
  otrs2/dbconfig-upgrade: true
  otrs2/passwords-do-not-match:



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



Bug#460814: [Yaird-devel] yaird: PATCH: get yaird working on 2.6.23 (BUG #443821)

2008-01-15 Thread Lubomir Host
On Tue, Jan 15, 2008 at 04:07:13AM +0100, Jonas Smedegaard wrote:
 On Tue, Jan 15, 2008 at 02:29:23AM +0100, Lubomir Host wrote:
 there is no official patch for problems with kernels =2.6.23 (yaird 
 error: unrecognised device: /sys/devices/.../input). I try to fix it 
 and I was able to boot with generated initrd on the first time. :-)
 
 Thank you for the bugreport. And good to hear that you succeeded with 
 your hacking :-)
 
 Another interim workaround to this issue is to replace INPUT in 
 Default.cfg with explicitly loading modules for needed input devices.
 
 
 This issue has been reported already as bugreport #443821 - as you 
 acknowledge in subject. It is generally better to add additional info 
 and patches to existing bugreports than to open new bugreports about 
 same issue. You would do that by sending emails to e.g. 
 [EMAIL PROTECTED] . But no problem - I now merge the two 
 bugreports.

I'm sorry I have created new bugreport. I don't exactly know debian
bugtracking interface (it was my first attempt to submit bug with this
interface). Maybe I should read more documentation ... :-)

 Also, it seems that your patch is done against plain ypstream yaird 
 without the many other patches already applied to the package in Debian, 
 and duplicating some of them.

Patch has been done against Debian version of yaird, downloaded with
apt-get source yaird. So I think I have fresh sources.

 But thanks anyway. I'll extract the relevant parts and have a look at 
 it.

I think it is very easy to separate:

- yaird-0.0.12/perl/Plan.pm part of diff is the first patch for newly
  created bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460818
  (ignore non-root encrypted device with keyfile)

- rest is the second patch for
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443821

 Patch is attached. Patch contains also fix for problem observed with my
 cryptsetup. Encrypted device with keyfile is ignored, if device is not
 a root filesystem (yaird-0.0.12/perl/Plan.pm part of patch).
 
 Thanks. I fork this as a separate issue.

Has been forked as
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460818, thanks. Thaks
for the good job and I hope my patch will be merged soon ...


Best regards, rajo

-- 
  ,''`.  Lubomir Host 'rajo' rajo AT platon.skICQ #:  257322664
 : :' :  Jabber: rajo AT jabber.platon.sk  VoIP: callto://rajo207
 `. `'   WWW: http://rajo.platon.sk/  Platon Group: http://platon.sk/
   `-GnuPG key: DC0C C7EA 55C8 B089 C41D 944A F251 A93A 2361 A82F



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



Bug#460814: yaird: PATCH: get yaird working on 2.6.23 (BUG #443821)

2008-01-14 Thread Lubomir Host
Package: yaird
Version: 0.0.12-24
Severity: serious

Hi,

there is no official patch for problems with kernels =2.6.23 (yaird
error: unrecognised device: /sys/devices/.../input). I try to fix it and
I was able to boot with generated initrd on the first time. :-)

Patch is attached. Patch contains also fix for problem observed with my
cryptsetup. Encrypted device with keyfile is ignored, if device is not
a root filesystem (yaird-0.0.12/perl/Plan.pm part of patch).

My HW is laptop IBM Lenovo ThinkPad Z61m with rootfs encrypted by LUKS,
LVM partitions encrypted by keyfile, XFS filesystem and runit
(replacement for SysV init).

Please include my patch, because there is a lot of people waiting for
it.

Thanks, best regards

rajo

-- 
  ,''`.  Lubomir Host 'rajo' rajo AT platon.skICQ #:  257322664
 : :' :  Jabber: rajo AT jabber.platon.sk  VoIP: callto://rajo207
 `. `'   WWW: http://rajo.platon.sk/  Platon Group: http://platon.sk/
   `-GnuPG key: DC0C C7EA 55C8 B089 C41D 944A F251 A93A 2361 A82F
diff -Naurp --exclude=Makefile --exclude='.*.sw?' yaird-0.0.12.orig/perl/IdeDev.pm yaird-0.0.12/perl/IdeDev.pm
--- yaird-0.0.12.orig/perl/IdeDev.pm	2005-12-08 23:42:33.0 +0100
+++ yaird-0.0.12/perl/IdeDev.pm	2008-01-15 00:58:13.989823441 +0100
@@ -49,7 +49,9 @@ sub fill {
 	$self-SUPER::fill();
 	$self-takeArgs ('path');
 	my $path = $self-path;
-	my $link = readlink ($path/block);
+	# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443821
+	# SysFs entries had changed with 2.6.23
+	my $link = readlink ($path/block) || readlink([ glob($path/block:*) ]-[0]);
 	if (! defined ($link)) {
 		Base::fatal (no link to block device in $path);
 	}
diff -Naurp --exclude=Makefile --exclude='.*.sw?' yaird-0.0.12.orig/perl/Input.pm yaird-0.0.12/perl/Input.pm
--- yaird-0.0.12.orig/perl/Input.pm	2005-12-08 23:42:33.0 +0100
+++ yaird-0.0.12/perl/Input.pm	2008-01-15 04:03:32.089499793 +0100
@@ -57,7 +57,9 @@ sub fill {
 		if (defined ($hw)) {
 			unless ($hw =~ s!^(\.\./)+devices/!!) {
 # imagine localised linux (/sys/geraete ...)
-Base::fatal (bad device link in $devLink);
+# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443821
+#Base::fatal (bad device link in $devLink);
+Base::warning (bad device link in $devLink);
 			}
 			$self-{hw} = $hw;
 		}
diff -Naurp --exclude=Makefile --exclude='.*.sw?' yaird-0.0.12.orig/perl/InputTab.pm yaird-0.0.12/perl/InputTab.pm
--- yaird-0.0.12.orig/perl/InputTab.pm	2005-12-08 23:42:33.0 +0100
+++ yaird-0.0.12/perl/InputTab.pm	2008-01-15 04:03:36.508189068 +0100
@@ -70,6 +70,10 @@ sub init () {
 			# Do not keep track of this.
 			# $work-{sysfs} = $1;
 		}
+		# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443821
+		elsif ($line =~ /^U: Uniq=(.*)$/) {
+			# kernel 2.6.23 new atributes in /proc/bus/input/devices, just ignore
+		}
 		elsif ($line =~ /^B: ([A-Z]+)=(.*)$/) {
 			$work-{capabilities}{$1} = $2;
 		}
diff -Naurp --exclude=Makefile --exclude='.*.sw?' yaird-0.0.12.orig/perl/KConfig.pm yaird-0.0.12/perl/KConfig.pm
--- yaird-0.0.12.orig/perl/KConfig.pm	2005-12-08 23:42:33.0 +0100
+++ yaird-0.0.12/perl/KConfig.pm	2008-01-15 02:29:03.968004316 +0100
@@ -65,8 +65,9 @@ sub init () {
 		if ($value eq 'y'
 			|| $value eq 'm'
 			|| $value =~ /^-?\d+$/
-			|| $value =~ /^0x[0-9a-f]+$/
-			|| $value =~ /^[-a-zA-Z0-9@,.:_\/= ]*$/
+			# fix: yaird error: bad value in /boot/config-2.6.23-1-686: CONFIG_DEFCONFIG_LIST=/lib/modules/$UNAME_RELEASE/.config (fatal)
+			|| $value =~ /^0x[[:xdigit:]]+$/
+			|| $value =~ /^[EMAIL PROTECTED],.:_\/= ]*$/
 		) {
 			$kConfMap-{$key} = $value;
 		}
diff -Naurp --exclude=Makefile --exclude='.*.sw?' yaird-0.0.12.orig/perl/Plan.pm yaird-0.0.12/perl/Plan.pm
--- yaird-0.0.12.orig/perl/Plan.pm	2005-12-08 23:42:33.0 +0100
+++ yaird-0.0.12/perl/Plan.pm	2008-01-15 01:31:13.737830064 +0100
@@ -162,10 +162,20 @@ sub tryDmCrypt ($$$) {
 
 	# Check consistency of configuration
 
-	if ($cryptEntry-keyFile) {
+	my $root = FsTab::findByMountPoint('/');
+	if (! defined ($root) or ! defined($root-dev)) {
+		fatal (requested root device not in fstab);
+	}
+
+	# encrypted root filesystem with key is not supported
+	if ($cryptEntry-keyFile and $cryptEntry-origin eq $root-dev) {
 		my $origin = $cryptEntry-origin;
 		Base::fatal (encrypted device '$target' has keyfile specified in $origin.  This is not supported.);
 	}
+	# ignore encrypted fs with kyefiles specified in /etc/crypttab
+	elsif ($cryptEntry-keyFile) {
+		return 1;
+	}
 
 	if ($cryptEntry-opts-exists('swap')) {
 		# not thought about what this needs yet.


Bug#334920: another fix

2005-10-29 Thread Lubomir Host
Hi!

Here is another quickfix solution. Sorry, some content is in Slovak
language, but shell commands are language independent:

http://lists.linux.sk/pipermail/linux/2005-October/036291.html

Just create simlinks in libssl library.

rajo

-- 
Lubomir Host 'rajo' rajo AT platon.sk   ICQ #:  257322664   ,''`.
Platon Software Development Group http://platon.sk/  : :' :
Homepage: http://rajo.platon.sk/en/references`. `'
http://www.gnu.org/philosophy/no-word-attachments.html `-


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