Bug#325859: ftp.debian.org: Please change overrides for uuid package to utils section

2005-08-31 Thread Piotr Roszatycki
Package: ftp.debian.org
Severity: wishlist

I think the utils section is better place for uuid package than libs section.

Thank you.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'oldstable'), (500, 'testing'), (500, 
'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686-smp
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)


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



Bug#328446: debootstrap: fakechroot support for etch and sid

2005-09-15 Thread Piotr Roszatycki
Package: debootstrap
Version: 0.3.1.6
Tags: patch

Hi. I'm uploading the debootstrap with following changelog entry:

  * Added fakechroot support for etch and sid and tweaked fakechroot support
for sarge. Now it installs the same packages like for the default variant.

The patch is included to this report.
-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-
diff -ru debootstrap-0.3.1.6/etch debootstrap-0.3.1.6.1/etch
--- debootstrap-0.3.1.6/etch	2005-06-16 10:48:23.0 +0200
+++ debootstrap-0.3.1.6.1/etch	2005-09-14 19:59:46.0 +0200
@@ -1,6 +1,10 @@
 mirror_style release
 download_style apt
-variants - buildd
+variants - buildd fakechroot
+
+if doing_variant fakechroot; then
+test $FAKECHROOT = true || error 1 FAKECHROOTREQ This variant requires fakechroot environment to be started
+fi
 
 work_out_debs () {
 add () { if [ $ARCH = $1 ]; then eval $2=\\$$2 $3\; fi; }
@@ -13,7 +17,7 @@
 
 required=base-files base-passwd bash bsdutils coreutils libacl1 libattr1 debianutils diff dpkg dselect libblkid1 e2fsprogs e2fslibs libcomerr2 libss2 libuuid1 findutils grep gzip hostname libcap1 libdb1-compat libdb3 libncurses5 libnewt0.51 libpam-modules libpam-runtime libpam0g login makedev mawk mount ncurses-base ncurses-bin passwd perl-base procps sed slang1a-utf8 initscripts sysvinit sysv-rc tar util-linux libgcc1 gcc-3.3-base libstdc++5 zlib1g $LIBC6
 
-if doing_variant -; then 
+if doing_variant - || doing_variant fakechroot; then 
   if [ $ARCH = alpha -o $ARCH = m68k ]; then
 IPFWTOOL=ipchains
   elif [ $ARCH = powerpc -o $ARCH = sparc ]; then
@@ -61,6 +65,11 @@
 elif doing_variant buildd; then
   base=apt binutils cpio cpp cpp-3.3 dpkg-dev g++ g++-3.3 gcc gcc-3.3 ${LIBC6}-dev libdb4.2 libgdbm3 libstdc++5-3.3-dev linux-kernel-headers make patch perl perl-modules
 fi
+
+if doing_variant fakechroot; then 
+  # ldd.fake needs binutils
+  required=$required binutils
+fi
 }
 
 first_stage_install () {
@@ -76,7 +85,11 @@
 chown 0.0 $TARGET/etc/fstab; chmod 644 $TARGET/etc/fstab
 fi
 
-setup_devices
+if doing_variant fakechroot; then 
+setup_devices_fakechroot
+else
+setup_devices
+fi
 
 x_feign_install () {
 local pkg=$1
@@ -109,8 +122,12 @@
 	baseprog=$(($baseprog + ${1:-1}))
 }
 
-setup_proc
-in_target /sbin/ldconfig
+if doing_variant fakechroot; then 
+	setup_proc_fakechroot
+else
+	setup_proc
+	in_target /sbin/ldconfig
+fi
 
 DEBIAN_FRONTEND=noninteractive
 export DEBIAN_FRONTEND
@@ -131,6 +148,10 @@
 ln -sf /usr/share/zoneinfo/UTC $TARGET/etc/localtime
 fi
 
+if doing_variant fakechroot; then 
+	install_fakechroot_tools
+fi
+
 p; progress $baseprog $bases INSTBASE Installing base system #4
 x_core_install $LIBC6
 
diff -ru debootstrap-0.3.1.6/sarge.fakechroot debootstrap-0.3.1.6.1/sarge.fakechroot
--- debootstrap-0.3.1.6/sarge.fakechroot	2005-06-16 12:25:07.0 +0200
+++ debootstrap-0.3.1.6.1/sarge.fakechroot	2005-09-14 19:18:25.0 +0200
@@ -5,9 +5,9 @@
 
 work_out_debs () {
 
-required=base-files base-passwd bash bsdutils coreutils debianutils diff dpkg dselect e2fslibs e2fsprogs findutils gcc-3.3-base grep gzip hostname initscripts libacl1 libattr1 libblkid1 libc6 libcap1 libcomerr2 libdb1-compat libdb3 libgcc1 libncurses5 libpam-modules libpam-runtime libpam0g libss2 libstdc++5 libuuid1 login mawk mount ncurses-base ncurses-bin passwd perl-base sed slang1a-utf8 sysv-rc sysvinit tar util-linux zlib1g
+required=base-files base-passwd bash bsdutils coreutils libacl1 libattr1 debconf debconf-i18n liblocale-gettext-perl libtext-wrapi18n-perl libtext-charwidth-perl debianutils diff dpkg dselect libblkid1 e2fsprogs e2fslibs libcomerr2 libss2 libuuid1 findutils grep gzip hostname libcap1 libc6 libdb1-compat libdb3 libncurses5 libnewt0.51 libpam-modules libpam-runtime libpam0g libperl5.8 libpopt0 login makedev mawk modutils mount ncurses-base ncurses-bin passwd perl-base procps sed slang1a-utf8 initscripts sysvinit sysv-rc tar util-linux whiptail libgcc1 gcc-3.3-base libstdc++5
 
-base=apt binutils cpio cpp cpp-3.3 dpkg-dev g++ g++-3.3 gcc gcc-3.3 libc6-dev libdb4.2 libgdbm3 libstdc++5-3.3-dev linux-kernel-headers make patch perl perl-modules
+base=adduser apt apt-utils libdb4.2 at base-config aptitude libsigc++-1.2-5c102 bsdmainutils console-common console-tools libconsole console-data cpio cron dhcp-client ed exim4 exim4-base exim4-config exim4-daemon-light libgcrypt11 libgnutls11 libgpg-error0 libopencdk8 libtasn1-2 fdutils gettext-base groff-base ifupdown info klogd libssl0.9.7 liblzo1 zlib1g liblockfile1 libpcre3 libwrap0 logrotate mailx man-db libgdbm3 manpages nano net-tools netbase netkit-inetd iputils-ping nvi ppp pppconfig pppoe pppoeconf libpcap0.7 sysklogd tasksel libtextwrap1 tcpd telnet libtext-iconv-perl wget

Bug#328501: phpmyadmin: CAN-2005-2869

2005-09-16 Thread Piotr Roszatycki
Several Cross-Site-Scripting vulnerabilities have been found in phpmyadmin. 
The CAN-2005-2869 advisory reports the two of them. I've found four more 
vulnerabilities reported and fixed directly in phpMyAdmin's CVS.

I've attached the patch for phpmyadmin package from sarge release with 
backported patches. The additional modification is that the Debian package 
release number is included to the upstream version number, so it is clearly 
marked that this is modified source.

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-
=== debian/changelog
==
--- debian/changelog	(revision 251)
+++ debian/changelog	(local)
@@ -1,3 +1,34 @@
+phpmyadmin (4:2.6.2-3sarge1) stable-security; urgency=high
+
+  * Security fix: Several Cross-Site Scripting vulnerabilities.
+See http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2869
+Closes: #328501.
+
+  * Modified 001-config.patch:
+- Append the Debian package revision to the upstream version. Marks that
+  this phpMyAdmin package has additional Debian modifications so the
+  bugreports won't confuse phpMyAdmin's coders.
+  * New 100-bug1223319.patch:
+- Use eval for config file including to catch parse errors. The patch is
+  required by further patch which fixes XSS.
+  * New 101-patch1258978.patch:
+- Move common code for error pages out of common.lib.php. The patch is
+  required by further patch which fixes XSS.
+  * New 102-bug1240880.patch:
+- XSS on the cookie-based login panel.
+  * New 102-bug1249239.patch:
+- XSS vulnerability on Create page.
+  * New 102-bug1252124.patch:
+- XSS on table creation page.
+  * New 102-bug1265740.patch:
+- Protect against possible XSS, move input sanitizing to special file.
+  * New 102-bug1283552.patch:
+- XSS on username.
+  * New 102-bug_XSS_on_header.inc.php.patch:
+- XSS on header.inc.php.
+
+ -- Piotr Roszatycki [EMAIL PROTECTED]  Fri, 16 Sep 2005 15:32:30 +0200
+
 phpmyadmin (4:2.6.2-3) unstable; urgency=high
 
   * Fix apache2.conf only for 4:2.6.2-1 release. Closes: #307901 (critical),
=== debian/packages
==
--- debian/packages	(revision 251)
+++ debian/packages	(local)
@@ -68,6 +68,12 @@
  for webserver in apache apache-perl apache-ssl apache2; do
  yada install -conf -ucf -into /etc/$webserver/conf.d -as phpmyadmin.conf debian/conf/apache.conf
  done
+ .
+ version=$(grep define.'PMA_VERSION libraries/defines.lib.php | sed s/.*, '//; s/'.*//)-Debian-${VERSION##*-}
+ sed -e 's/@VERSION@/'$version'/' \
+ $ROOT/usr/share/phpmyadmin/config.inc.php  $ROOT/usr/share/phpmyadmin/config.inc.php.tmp
+ mv -f $ROOT/usr/share/phpmyadmin/config.inc.php.tmp $ROOT/usr/share/phpmyadmin/config.inc.php
+ .
  yada symlink -into /usr/share/phpmyadmin -as .htaccess /etc/phpmyadmin/htaccess
  yada symlink -into /var/www /usr/share/phpmyadmin
  yada symlink -into /usr/share/phpmyadmin /etc/phpmyadmin/config.header.inc.php
=== debian/patches/001-config.patch
==
--- debian/patches/001-config.patch	(revision 251)
+++ debian/patches/001-config.patch	(local)
@@ -43,7 +43,7 @@
  $cfg['Servers'][$i]['user']  = 'root';  // MySQL user
  $cfg['Servers'][$i]['password']  = '';  // MySQL password (only needed
  // with 'config' auth_type)
-@@ -838,6 +839,13 @@
+@@ -838,6 +839,17 @@
   */
  set_magic_quotes_runtime(0);
  
@@ -53,7 +53,11 @@
 + */
 +include('/etc/phpmyadmin/config.inc.php');
 +
++if (!defined('PMA_VERSION')) {
++define('PMA_VERSION', '@VERSION@');
++}
 +
++
  /**
   * File Revision - do not change either!
   */
=== debian/patches/100-bug1223319.patch
==
--- debian/patches/100-bug1223319.patch	(revision 251)
+++ debian/patches/100-bug1223319.patch	(local)
@@ -0,0 +1,43 @@
+Use eval for config file including to catch parse errors (bug #1223319),
+on error page display config file that actually failed.
+
+diff -u -r2.138 -r2.139
+--- phpMyAdmin/libraries/common.lib.php	2005/07/11 05:51:13	2.138
 phpMyAdmin/libraries/common.lib.php	2005/07/13 11:16:51	2.139
+@@ -75,9 +75,9 @@
+  * Detects the config file we want to load
+  */
+ if (file_exists('./config.inc.developer.php')) {
+-$cfgfile_to_load = './config.inc.developer.php';
++$cfgfile_to_load = 'config.inc.developer.php';
+ } else {
+-$cfgfile_to_load = './config.inc.php';
++$cfgfile_to_load = 'config.inc.php';
+ }
+ 
+ /**
+@@ -85,9 +85,12 @@
+  * versions of phpMyAdmin/php/mysql...
+  */
+ $old_error_reporting = error_reporting(0);
+-include_once($cfgfile_to_load);
+-// Include failed
+-if (!isset($cfgServers)  !isset($cfg['Servers'])) {
++// We can not use include as it fails on parse error
++$config_fd

Bug#322344: Please enable kqemu support

2005-08-10 Thread Piotr Roszatycki
Package: qemu
Version: 0.7.0.cvs20050706-0.1
Severity: wishlist

The qemu itself is very slow. Please enable the kqemu support. The main qemu 
binary
with enabled kqemu support can be redistributed freely. The kqemu kernel module
can be provided as non-free package. The qemu itself doesn't need kqemu even
if kqemu option is enabled.

See http://lists.gnu.org/archive/html/qemu-devel/2005-08/msg00076.html

The kqemu/kqemu.h file is under BSD license, so it is perfectly legal to
include this file to the qemu sources. Of course there is required small
patch which ommits kqemu/ directory as far as it will contain only header
file and you have to include USE_KQEMU and CONFIG_KQEMU to config-* files
by hand, but it works.

Thanks.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'oldstable'), (500, 'testing'), (500, 
'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages qemu depends on:
ii  bochsbios 2.2.1-1BIOS for the Bochs emulator
ii  libc6 2.3.5-3GNU C Library: Shared libraries an
ii  libsdl1.2debi 1.2.7+1.2.8cvs20041007-5.3 Simple DirectMedia Layer
ii  openhackware  0.4.1-1OpenFirmware emulator for PowerPC
ii  proll 18-1   JavaStation PROM 2.x compatible re
ii  vgabios   0.5c-1 VGA BIOS software for the Bochs an
ii  zlib1g1:1.2.3-3  compression library - runtime

Versions of packages qemu recommends:
ii  debootstrap   0.3.1.4Bootstrap a basic Debian system
ii  sharutils 1:4.2.1-15 shar, unshar, uuencode, uudecode

-- no debconf information


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



Bug#323379: kdebase: Please recompile the experimental package

2005-08-16 Thread Piotr Roszatycki
Package: kdebase
Version: 4:3.4.1-1
Severity: wishlist

Please recompile the package for experimental release.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'oldstable'), (500, 'testing'), (500, 
'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages kdebase depends on:
ii  kappfinder4:3.4.1-1  non-KDE application finder for KDE
ii  kate  4:3.4.1-1  advanced text editor for KDE
ii  kcontrol  4:3.4.1-1  control center for KDE
ii  kdebase-bin   4:3.4.1-1  core binaries for the KDE base mod
ii  kdebase-data  4:3.4.1-1  shared data files for the KDE base
ii  kdebase-kio-plugins   4:3.4.1-1  core I/O slaves for KDE
ii  kdepasswd 4:3.4.1-1  password changer for KDE
ii  kdeprint  4:3.4.1-1  print system for KDE
ii  kdesktop  4:3.4.1-1  miscellaneous binaries and files f
ii  kfind 4:3.4.1-1  file-find utility for KDE
ii  khelpcenter   4:3.4.1-1  help center for KDE
ii  kicker4:3.4.1-1  desktop panel for KDE
ii  klipper   4:3.4.1-1  clipboard utility for KDE
ii  kmenuedit 4:3.4.1-1  menu editor for KDE
ii  konqueror 4:3.4.1-1  KDE's advanced file manager, web b
ii  konqueror-nsplugins   4:3.4.1-1  Netscape plugin support for Konque
ii  konsole   4:3.4.1-1  X terminal emulator for KDE
ii  kpager4:3.4.1-1  desktop pager for KDE
ii  kpersonalizer 4:3.4.1-1  installation personalizer for KDE
ii  ksmserver 4:3.4.1-1  session manager for KDE
ii  ksplash   4:3.4.1-1  the KDE splash screen
ii  ksysguard 4:3.4.1-1  system guard for KDE
ii  ktip  4:3.4.1-1  useful tips for KDE
ii  kwin  4:3.4.1-1  the KDE window manager
ii  libkonq4  4:3.4.1-1  core libraries for Konqueror

Versions of packages kdebase recommends:
ii  kdm   4:3.4.1-1  X display manager for KDE
ii  xfonts-konsole4:3.3.2-1  Fonts used by the KDE Konsole

-- no debconf information


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



Bug#323379: kdebase: Please recompile the experimental package

2005-08-16 Thread Piotr Roszatycki
On Tuesday 16 of August 2005 14:10, Adeodato Simó wrote:
 * Piotr Roszatycki [Tue, 16 Aug 2005 13:21:22 +0200]:
  Please recompile the package for experimental release.

   mmm? (IOW, please be verbose and explain what you want.)

I've noticed it is now more complicated thing beacuse the question is for 
which environment the experimental packages should be compiled? sarge or sid?

On sid distribution the packages are not installable because of C++ migration 
process. 

# apt-get install kdelibs4
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  kdelibs4: Depends: libarts1 (= 1.3.2) but it is not going to be installed
Depends: libopenexr2 (= 1.2.2) but it is not installable
Depends: libqt3c102-mt (= 3:3.3.4) but it is not installable
Depends: kdelibs-bin (= 4:3.3.2-7) but it is not going to be 
installed
E: Broken packages

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-



Bug#282492: iproute: ip -4 neigh flush dev eth0 hangs up

2005-08-17 Thread Piotr Roszatycki
I've found that the latest snapshot does work:

./ip -4 neigh flush dev eth0
*** Flush not complete bailing out after 10 rounds

It doesn't hang up completly. I hope this solution can be backported to the 
Debian's version. The bug is very annoying and important for me.

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#315044: debootstrap: new ldd for fakechroot

2005-06-20 Thread Piotr Roszatycki
Package: debootstrap
Version: 0.3.1.2
Severity: wishlist

I'm going to upload the debootstrap with new ldd for fakechroot. It supports 
64-bit architectures like s390, amd64 and sparc64.

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


ldd.fake
Description: Perl program


Bug#294061: status of pear-package

2005-06-22 Thread Piotr Roszatycki
On Wednesday 22 of June 2005 09:00, Charles Fry wrote:
 Hi,

 I need to create some Debian packages from PEAR modules. Is pear-package
 ready for general use? Are you going to upload it to Debian soon, or
 should I grab it from the Subversion archive?

 Does it take precedence over the Policy for PEAR modules I found at:

http://www.madism.org/debian.pear.php

 ?

 Let me know if there is a better place for me to ask these questions.

It is in incoming queue for a few month and stucked, because there is no 
official php5 packages. I'm using pear-package for packaging php4 extensions, 
too.

I don't agree with this unofficial Policy for PEAR modules. The packages are 
installed by `pear' command and it is completly wrong, because it is another 
package manager with own dependencies. In fact my pear-package tool is some 
converted from `pear' packages to `dpkg' packages, i.e. like alien for RPMs.

I think we should talk about PEAR modules on [EMAIL PROTECTED]

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#316374: Can't install unixodbc-dev with freetds-dev

2005-06-30 Thread Piotr Roszatycki
Package: unixodbc-dev
Version: 2.2.4-11
Severity: normal

# apt-get install unixodbc-dev freetds-dev
Reading package lists... Done
Building dependency tree... Done
freetds-dev is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  unixodbc-dev: Depends: unixodbc (= 2.2.11-4) but 2.2.4-11 is to be installed
Depends: odbcinst1debian1 (= 2.2.11-4) but it is not going to 
be installed
Depends: libodbcinstq1 (= 2.2.11-4) but 2.2.4-11 is to be 
installed
Depends: gtkodbcconfig0 (= 2.2.11-4) but 2.2.4-11 is to be 
installed
E: Broken packages
  

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'oldstable'), (500, 'testing'), (500, 
'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages unixodbc-dev depends on:
ii  gtkodbcconfig02.2.4-11   GTK-based ODBC configuration libra
ii  libltdl3-dev  1.5.6-6A system independent dlopen wrappe
ii  libodbcinstq1 2.2.4-11   Qt-based ODBC configuration librar
ii  odbcinst1 2.2.4-11   Support library and helper program
ii  unixodbc  2.2.4-11   ODBC tools libraries

unixodbc-dev recommends no packages.

-- no debconf information


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



Bug#316381: can't create pbuilder environment with the newest APT

2005-06-30 Thread Piotr Roszatycki
Package: pbuilder
Version: 0.127
Severity: wishlist

I'm trying to make

# pbuilder create --distribution hoary --mirror 
'http://us.archive.ubuntu.com/ubuntu' --nonusmirror '' --othermirror 'deb 
http://us.archive.ubuntu.com/ubuntu hoary restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary restricted

deb http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted

deb http://us.archive.ubuntu.com/ubuntu hoary universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu hoary universe multiverse

deb http://security.ubuntu.com/ubuntu hoary-security main restricted
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted

deb http://security.ubuntu.com/ubuntu hoary-security universe
deb-src http://security.ubuntu.com/ubuntu hoary-security universe' 
--preserve-buildplace

and it fails on `apt-get update'. Please add --allow-unauthenticated option.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'oldstable'), (500, 'testing'), (500, 
'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages pbuilder depends on:
ii  coreutils 5.2.1-2The GNU core utilities
ii  debianutils   2.14.1 Miscellaneous utilities specific t
ii  debootstrap   0.3.1.4Bootstrap a basic Debian system
ii  gcc   4:3.3.6-1  The GNU C compiler
ii  wget  1.10-2 retrieves files from the web

Versions of packages pbuilder recommends:
ii  devscripts   2.8.14  Scripts to make the life of a Debi
ii  fakeroot 1.3 Gives a fake root environment
ii  sudo 1.6.8p7-1.1 Provide limited super user privile

-- no debconf information


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



Bug#316374: Can't install unixodbc-dev with freetds-dev

2005-07-01 Thread Piotr Roszatycki
reopen 316374
thanks

On Thursday 30 of June 2005 23:43, Steve Langasek wrote:
 On Thu, Jun 30, 2005 at 03:54:54PM +0200, Piotr Roszatycki wrote:
  # apt-get install unixodbc-dev freetds-dev
  Reading package lists... Done
  Building dependency tree... Done
  freetds-dev is already the newest version.
  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:
 
  The following packages have unmet dependencies:
unixodbc-dev: Depends: unixodbc (= 2.2.11-4) but 2.2.4-11 is to be
  installed Depends: odbcinst1debian1 (= 2.2.11-4) but it is not going to
  be installed Depends: libodbcinstq1 (= 2.2.11-4) but 2.2.4-11 is to be
  installed Depends: gtkodbcconfig0 (= 2.2.11-4) but 2.2.4-11 is to be
  installed E: Broken packages

 This is a temporary artifact of an ongoing ODBC transition, not a bug in
 unixodbc-dev.

Still I can't install both so I don't think so that we can close the bug. 
Please forward the bug to proper package, at least, or keep opened.

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#316573: move of files in /var/lib/misc to /var/lib/db silently breaks scripts depending on libnss-db

2005-07-03 Thread Piotr Roszatycki
severity 316573 normal
tags 316573 moreinfo
thanks

On Sat, 2 Jul 2005, Matthias Klose wrote:
 Package: libnss-db
 Version: 2.2-6.3
 Severity: grave

 The last NMU moved /var/lib/misc/Makefile to /var/lib/db/Makefile.
 It's not mentioned in the changelog, it breaks existing scripts.
 sorry, that's just bad style for a NMU.

I don't think so. Are you sure?

# dpkg-deb -c /var/cache/apt/archives/libnss-db_2.2-6.3_i386.deb | grep
Makefile
-rw-r--r-- root/root  4713 2005-05-23 16:22:13 ./var/lib/misc/Makefile

-- 
.''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#316847: busybox-cvs: Please enable more applets

2005-07-04 Thread Piotr Roszatycki
Package: busybox-cvs
Version: 20040623-1
Severity: wishlist

Please, enable more applets that are available in *.udeb flavour. I don't
understand why is disabled i.e. ash, dd, etc.. It would be very useful
for initrd recovery tool set.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'oldstable'), (500, 'testing'), (500, 
'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

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

busybox-cvs recommends no packages.

-- no debconf information


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



Bug#316847: busybox-cvs: Please enable more applets

2005-07-04 Thread Piotr Roszatycki
On Monday 04 of July 2005 13:57, you wrote:
 Piotr Roszatycki wrote:
  Please, enable more applets that are available in *.udeb flavour. I don't
  understand why is disabled i.e. ash, dd, etc.. It would be very useful
  for initrd recovery tool set.

 Because these utilities need to fit on floppies and other small media.

And then is available *.udeb version which should be smaller than bigger 
*.deb. Maybe consider busybox-full flavour if the standard busybox (not 
udeb!) can't be larger.

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#316573: move of files in /var/lib/misc to /var/lib/db silently breaks scripts depending on libnss-db

2005-07-04 Thread Piotr Roszatycki
On Monday 04 of July 2005 15:03, you wrote:
 reopen 316573
 thanks

 wait, it's broken with the new dpkg-architecture in unstable. Don't
 depend on the DEB_GNU-* variables in build files, use the DEB_ARCH*
 variables.

Yes, right. I'm going to completly rewrite the package and link it against 
db4.3, so please be patient or just download the package from sarge.

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#317107: pbuilder: Please don't cleanup the build environment after error

2005-07-06 Thread Piotr Roszatycki
Package: pbuilder
Version: 0.128
Severity: wishlist

The pbuilder cleans up directory after error:

 - Aborting with an error
 - cleaning the build env...
 
I'd like to keep the environment after error so I could investigate what was
wrong. Just put `umountproc; exit 1' after `echo  - Aborting with an error;'


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'oldstable'), (500, 'testing'), (500, 
'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages pbuilder depends on:
ii  coreutils 5.2.1-2The GNU core utilities
ii  debianutils   2.14.1 Miscellaneous utilities specific t
ii  debootstrap   0.3.1.4Bootstrap a basic Debian system
ii  gcc   4:4.0.0-1  The GNU C compiler
ii  wget  1.10-2 retrieves files from the web

Versions of packages pbuilder recommends:
ii  devscripts2.8.14 Scripts to make the life of a Debi
ii  fakeroot  1.4.1  Gives a fake root environment
ii  sudo  1.6.8p9-2  Provide limited super user privile

-- no debconf information


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



Bug#317107: pbuilder: Please don't cleanup the build environment after error

2005-07-07 Thread Piotr Roszatycki
On Thursday 07 of July 2005 01:12, Junichi Uekawa wrote:
  The pbuilder cleans up directory after error:
 
   - Aborting with an error
   - cleaning the build env...
 
  I'd like to keep the environment after error so I could investigate what
  was wrong. Just put `umountproc; exit 1' after `echo  - Aborting with
  an error;'

 Are you looking at 'C' hooks?

 or --debug option?

What do you mean? How to preserve the environment after that error was 
occured?

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#308439: telnetd: can't remove the package

2005-06-07 Thread Piotr Roszatycki
severity 308439 serious
retitle 308439 telnetd: can't remove the package
thanks

Justification: 6.2

This bug is more important:

# LANG=C dpkg -P telnetd
(Reading database ... 100895 files and directories currently installed.)
Removing telnetd ...
userdel: error deleting password entry
userdel: error deleting shadow password entry
rmdir: `/usr/lib/telnetd': No such file or directory
dpkg: error processing telnetd (--purge):
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 telnetd

So I can't remove the telnetd package and the system if left in half-broken 
state.

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#312388: x-fonts packages build with yada does not follow Debian Policy

2005-06-08 Thread Piotr Roszatycki
On Tuesday 07 of June 2005 23:22, Robert Luberda wrote:
 I've just done QA upload of xfonts-biznet-iso-8859-2 package,
 which I wanted to upgrade to the newest Debian standards, but
 with yada the task is rather impossible :(

   17. Font packages that provide one or more fonts.alias files as
   described above must invoke update-fonts-alias on each directory into
   which they installed fonts. This invocation must occur in both the
   postinst (for all arguments) and postrm (for all arguments except
   upgrade) scripts.

   18. Font packages must invoke update-fonts-dir on each directory
   into which they installed fonts. This invocation must occur in both
   the postinst (for all arguments) and postrm (for all arguments
   except upgrade) scripts.

 However, yada generates only the postrm script, which calls
 /usr/bin/X11/mkfontdir and /usr/sbin/update-fonts-alias

 Moreover the called programs give the following warning when
 yada-built package is upgraded:
 warning: absolute path /usr/lib/X11/fonts/75dpi was provided

Replace Contains-Xfonts field with proper Postinst/Postrm sections

or 

Fix the yada and put it as debian/yada, then call `debian/yada rebuild rules; 
debian/yada rebuild control'

or

migrate to the debhelper ;-)

I could fix the yada, just tell me which binary package generates correct 
postinst/postrm scripts.

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#312409: run-parts can't find directories when fakechrooted

2005-06-08 Thread Piotr Roszatycki
On Wednesday 08 of June 2005 01:06, Vagrant Cascadian wrote:
 if i use fakechroot to chroot to a directory, run-parts doesn't act as
 if / has been moved.

 run-parts: failed to open directory /etc/lessdisks/init.d/: No such file
 or directory

 what could be going on here?

[EMAIL PROTECTED]:/# ltrace -f run-parts /tmp/run-parts/
__libc_start_main(0x80498d0, 2, 0xb6e4, 0x8049a10, 0x8049a70 
unfinished ...
umask(022)  = 022
realloc(NULL, 16)   = 0x804c050
getopt_long(2, 0xb6e4, u:ha:vV, 0x804b440, 0xb678) = -1
strlen(/tmp/run-parts/)   = 15
malloc(19)  = 0x804c068
strcpy(0x804c068, /tmp/run-parts/)= 0x804c068
strcat(/tmp/run-parts/, /)  = 
/tmp/run-parts//
scandir(0xb858, 0xb5dc, 0x8048df0, 0x8048958, 0x400b3200) = -1
__errno_location()  = 0x40171c40
strerror(2) = No such file or 
directory
fwrite(run-parts: , 1, 11, 0x4016b440run-parts: )= 11
vfprintf(0x4016b440, failed to open directory %s: %s, 0xb5c4failed to 
open directory /tmp/run-parts/: No such file or directory) = 67
fputc('\n', 0x4016b440
) = 10
exit(1 unfinished ...
+++ exited (status 1) +++


run-parts uses scandir() function which is not wrapped yet so I'm going to 
implement it. Thank you for report!

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#204652: missing patch

2005-06-16 Thread Piotr Roszatycki
Oh, I forgot to attach the patch...

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-
diff -rN -u old-debootstrap-0.3/debian/changelog 
new-debootstrap-0.3/debian/changelog
--- old-debootstrap-0.3/debian/changelog2005-06-16 10:48:23 +0200
+++ new-debootstrap-0.3/debian/changelog2005-06-16 13:41:07 +0200
@@ -1,3 +1,10 @@
+debootstrap (0.3.1.1) unstable; urgency=low
+
+  * NMU.
+  * Added fakechroot variant. Closes: #204652.
+
+ -- Piotr Roszatycki [EMAIL PROTECTED]  Thu, 16 Jun 2005 11:20:15 +0200
+
 debootstrap (0.3.1) unstable; urgency=low
 
   * sid script updated:
diff -rN -u old-debootstrap-0.3/debian/rules new-debootstrap-0.3/debian/rules
--- old-debootstrap-0.3/debian/rules2005-06-16 10:48:23 +0200
+++ new-debootstrap-0.3/debian/rules2005-06-16 11:37:21 +0200
@@ -98,7 +98,7 @@
dh_testroot
-rm -rf debian/debootstrap-udeb/usr/share \
debian/debootstrap-udeb/usr/lib/debootstrap/scripts/potato \
-   debian/debootstrap-udeb/usr/lib/debootstrap/scripts/*.buildd
+   debian/debootstrap-udeb/usr/lib/debootstrap/scripts/*.*
dh_strip -pdebootstrap-udeb
dh_compress -pdebootstrap-udeb
dh_fixperms -pdebootstrap-udeb
diff -rN -u old-debootstrap-0.3/debootstrap new-debootstrap-0.3/debootstrap
--- old-debootstrap-0.3/debootstrap 2005-06-16 10:48:23 +0200
+++ new-debootstrap-0.3/debootstrap 2005-06-16 11:21:27 +0200
@@ -74,7 +74,7 @@
   --components=A,B,C use packages from the listed components of the 
  archive
   --variant=Xuse variant X of the bootstrap scripts
- (currently supported variants: buildd)
+ (currently supported variants: buildd, fakechroot)
   --keyring=Kcheck Release files against keyring K
 EOF
 }
diff -rN -u old-debootstrap-0.3/debootstrap.8 new-debootstrap-0.3/debootstrap.8
--- old-debootstrap-0.3/debootstrap.8   2005-06-16 10:48:23 +0200
+++ new-debootstrap-0.3/debootstrap.8   2005-06-16 11:24:54 +0200
@@ -53,10 +53,11 @@
 dpkg or apt, and that it is far better to specify the entire base system than
 rely on this option.
 .IP
-.IP \fB\-\-variant=buildd\fP
-Name of the bootstrap script variant to use.  Currently, the only variant
-supported is buildd, which installs the build-essential packages into
-.IR TARGET .
+.IP \fB\-\-variant=buildd|fakechroot\fP
+Name of the bootstrap script variant to use.  Currently, the variant
+supported are buildd, which installs the build-essential packages into
+.IR TARGET
+and fakechroot, which installs the packages without root privileges.
 The default, with no \fB\-\-variant=X\fP argument, is to create a base
 Debian installation in
 .IR TARGET .
diff -rN -u old-debootstrap-0.3/functions new-debootstrap-0.3/functions
--- old-debootstrap-0.3/functions   2005-06-16 11:10:01 +0200
+++ new-debootstrap-0.3/functions   2005-06-16 11:15:52 +0200
@@ -740,6 +740,11 @@
   in_target mount -t proc proc /proc
 }
 
+setup_proc_fakechroot () {
+  rm -rf $TARGET/proc
+  ln -s /proc $TARGET
+}
+
 setup_devices () {
   if [ -e $DEVICES_TARGZ ]; then
 (cd $TARGET; zcat $DEVICES_TARGZ | tar -xf -)
@@ -752,6 +757,11 @@
   fi
 }
 
+setup_devices_fakechroot () {
+  rm -rf $TARGET/dev
+  ln -s /dev $TARGET
+}
+
 setup_dselect_method () {
   case $1 in
 apt)
@@ -920,3 +930,138 @@
   eval `echo EXIT_THING_${N_EXIT_THINGS}=\$1\`
   N_EXIT_THINGS=$(( $N_EXIT_THINGS + 1 ))
 }
+
+## fakechroot tools
+
+install_fakechroot_tools () {
+  mv $TARGET/sbin/ldconfig $TARGET/sbin/ldconfig.REAL
+  echo \
+#!/bin/sh
+echo
+echo \Warning: Fake ldconfig called, doing nothing\  
$TARGET/sbin/ldconfig
+  chmod 755 $TARGET/sbin/ldconfig
+
+  echo \
+/sbin/ldconfig
+/sbin/ldconfig.REAL
+fakechroot  $TARGET/var/lib/dpkg/diversions
+
+  mv $TARGET/usr/bin/ldd $TARGET/usr/bin/ldd.REAL
+  cat  'END'  $TARGET/usr/bin/ldd
+#!/usr/bin/perl
+
+# fakeldd
+#
+# Replacement for ldd with usage of objdump
+#
+# (c) 2003 Piotr Roszatycki [EMAIL PROTECTED], GPL
+
+
+my %libs = ();
+my @ld_library_path = qw(/usr/lib /lib);
+my $status = 0;
+my $dynamic = 0;
+
+sub ldso($) {
+my ($lib) = @_;
+my @files = ();
+
+foreach my $ld_path (@ld_library_path) {
+   -f $ld_path/$lib or next;
+   $libs{$lib} = $ld_path/$lib;
+   push @files, $ld_path/$lib;
+}
+
+objdump(@files);
+}
+
+sub objdump(@) {
+my (@files) = @_;
+my @libs = ();
+
+foreach my $file (@files) {
+   open OBJDUMP, objdump -p $file 2/dev/null |;
+   while (my $line = OBJDUMP) {
+   $line =~ s/^\s+//;
+   my @f = split (/\s+/, $line);
+   if ($f[0] eq Dynamic) {
+   $dynamic = 1;
+   }
+   $f[0] eq NEEDED or next;
+   if (! defined $libs{$f[1]}) {
+   $libs{$f[1]} = undef

Bug#204652: patch

2005-06-16 Thread Piotr Roszatycki
Hi.

I've implemented fakechroot support as additional variant.
An example usage:

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 
fakechroot /usr/sbin/debootstrap --variant=fakechroot 
sarge /home/dexter/chroot/sarge

I'm going to upload NMU with this supported feature.

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#204652: missing patch

2005-06-16 Thread Piotr Roszatycki
This is the last revision of my patch. It supports only sarge distribution.

I've tested it as:

$ fakechroot /usr/sbin/debootstrap --variant=fakechroot 
sarge /home/dexter/chroot/sarge http://mirrors.internetia.pl/pub/debian

$ fakechroot chroot /home/dexter/chroot/sarge /bin/bash

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-
diff -rN -u old-debootstrap-0.3/debian/changelog 
new-debootstrap-0.3/debian/changelog
--- old-debootstrap-0.3/debian/changelog2005-06-16 10:48:23 +0200
+++ new-debootstrap-0.3/debian/changelog2005-06-16 13:41:07 +0200
@@ -1,3 +1,10 @@
+debootstrap (0.3.1.1) unstable; urgency=low
+
+  * NMU.
+  * Added fakechroot variant. Closes: #204652.
+
+ -- Piotr Roszatycki [EMAIL PROTECTED]  Thu, 16 Jun 2005 11:20:15 +0200
+
 debootstrap (0.3.1) unstable; urgency=low
 
   * sid script updated:
diff -rN -u old-debootstrap-0.3/debian/rules new-debootstrap-0.3/debian/rules
--- old-debootstrap-0.3/debian/rules2005-06-16 10:48:23 +0200
+++ new-debootstrap-0.3/debian/rules2005-06-16 11:37:21 +0200
@@ -98,7 +98,7 @@
dh_testroot
-rm -rf debian/debootstrap-udeb/usr/share \
debian/debootstrap-udeb/usr/lib/debootstrap/scripts/potato \
-   debian/debootstrap-udeb/usr/lib/debootstrap/scripts/*.buildd
+   debian/debootstrap-udeb/usr/lib/debootstrap/scripts/*.*
dh_strip -pdebootstrap-udeb
dh_compress -pdebootstrap-udeb
dh_fixperms -pdebootstrap-udeb
diff -rN -u old-debootstrap-0.3/debootstrap new-debootstrap-0.3/debootstrap
--- old-debootstrap-0.3/debootstrap 2005-06-16 10:48:23 +0200
+++ new-debootstrap-0.3/debootstrap 2005-06-16 11:21:27 +0200
@@ -74,7 +74,7 @@
   --components=A,B,C use packages from the listed components of the 
  archive
   --variant=Xuse variant X of the bootstrap scripts
- (currently supported variants: buildd)
+ (currently supported variants: buildd, fakechroot)
   --keyring=Kcheck Release files against keyring K
 EOF
 }
diff -rN -u old-debootstrap-0.3/debootstrap.8 new-debootstrap-0.3/debootstrap.8
--- old-debootstrap-0.3/debootstrap.8   2005-06-16 10:48:23 +0200
+++ new-debootstrap-0.3/debootstrap.8   2005-06-16 11:24:54 +0200
@@ -53,10 +53,11 @@
 dpkg or apt, and that it is far better to specify the entire base system than
 rely on this option.
 .IP
-.IP \fB\-\-variant=buildd\fP
-Name of the bootstrap script variant to use.  Currently, the only variant
-supported is buildd, which installs the build-essential packages into
-.IR TARGET .
+.IP \fB\-\-variant=buildd|fakechroot\fP
+Name of the bootstrap script variant to use.  Currently, the variant
+supported are buildd, which installs the build-essential packages into
+.IR TARGET
+and fakechroot, which installs the packages without root privileges.
 The default, with no \fB\-\-variant=X\fP argument, is to create a base
 Debian installation in
 .IR TARGET .
diff -rN -u old-debootstrap-0.3/functions new-debootstrap-0.3/functions
--- old-debootstrap-0.3/functions   2005-06-16 11:10:01 +0200
+++ new-debootstrap-0.3/functions   2005-06-16 11:15:52 +0200
@@ -740,6 +740,11 @@
   in_target mount -t proc proc /proc
 }
 
+setup_proc_fakechroot () {
+  rm -rf $TARGET/proc
+  ln -s /proc $TARGET
+}
+
 setup_devices () {
   if [ -e $DEVICES_TARGZ ]; then
 (cd $TARGET; zcat $DEVICES_TARGZ | tar -xf -)
@@ -752,6 +757,11 @@
   fi
 }
 
+setup_devices_fakechroot () {
+  rm -rf $TARGET/dev
+  ln -s /dev $TARGET
+}
+
 setup_dselect_method () {
   case $1 in
 apt)
@@ -920,3 +930,138 @@
   eval `echo EXIT_THING_${N_EXIT_THINGS}=\$1\`
   N_EXIT_THINGS=$(( $N_EXIT_THINGS + 1 ))
 }
+
+## fakechroot tools
+
+install_fakechroot_tools () {
+  mv $TARGET/sbin/ldconfig $TARGET/sbin/ldconfig.REAL
+  echo \
+#!/bin/sh
+echo
+echo \Warning: Fake ldconfig called, doing nothing\  
$TARGET/sbin/ldconfig
+  chmod 755 $TARGET/sbin/ldconfig
+
+  echo \
+/sbin/ldconfig
+/sbin/ldconfig.REAL
+fakechroot  $TARGET/var/lib/dpkg/diversions
+
+  mv $TARGET/usr/bin/ldd $TARGET/usr/bin/ldd.REAL
+  cat  'END'  $TARGET/usr/bin/ldd
+#!/usr/bin/perl
+
+# fakeldd
+#
+# Replacement for ldd with usage of objdump
+#
+# (c) 2003 Piotr Roszatycki [EMAIL PROTECTED], GPL
+
+
+my %libs = ();
+my @ld_library_path = qw(/usr/lib /lib);
+my $status = 0;
+my $dynamic = 0;
+
+sub ldso($) {
+my ($lib) = @_;
+my @files = ();
+
+foreach my $ld_path (@ld_library_path) {
+   -f $ld_path/$lib or next;
+   $libs{$lib} = $ld_path/$lib;
+   push @files, $ld_path/$lib;
+}
+
+objdump(@files);
+}
+
+sub objdump(@) {
+my (@files) = @_;
+my @libs = ();
+
+foreach my $file (@files) {
+   open OBJDUMP, objdump -p $file 2/dev/null |;
+   while (my $line = OBJDUMP) {
+   $line

Bug#302359: debian-installer: linux26 can't boot with root=/dev/ida/c0d0p1 or root=/dev/rd/c0d0p1

2005-06-17 Thread Piotr Roszatycki
On Thursday 16 of June 2005 21:55, you wrote:
 On Thu, Mar 31, 2005 at 10:00:00PM +0200, Piotr Roszatycki wrote:
  The problem is shown with Compaq Array and Mylex DAC960 and probably with
  other controllers which use root=/dev/subdirectory/file path schema. This
  syntax is correct for Linux 2.4 but it is wrong for Linux 2.6. The Linux
  2.6 has changed syntax for root kernel parameter and it is now
  root=/dev/subdirectory!file path.

 I think /dev/subdirectory/file is backward compatible, check
 http://lxr.linux.no/source/init/do_mounts.c#L176

 however I didn't investigated this much nor I know if mylex/compaq array
 driver do special argument parsing, but that doesn't seem the case

No, it isn't. At least in the Debian installer. The only way to boot from 
Mylex or CPQ was to change '/' to '!' in GRUB's menu.lst.

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#320994: moc: Please release new upstream version

2005-08-02 Thread Piotr Roszatycki
Package: moc
Version: 2.2.2-1
Severity: wishlist

There is available new upstream version. Please provide the new packages.

I use the moc player on my Jornada 720 (arm architecture). It is the best
player for this handheld :)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'oldstable'), (500, 'testing'), (500, 
'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)


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



Bug#321135: W: yada source: build-depends-without-arch-dep

2005-08-03 Thread Piotr Roszatycki
Package: lintian
Version: 1.23.10
Severity: normal

lintian reports

W: yada source: build-depends-without-arch-dep

for yada and yada-based packages. I think it should be added to excuses
as far as yada itself is required by clean target in debian/rules.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'oldstable'), (500, 'testing'), (500, 
'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages lintian depends on:
ii  binutils   2.16.1-2  The GNU assembler, linker and bina
ii  diffstat   1.39-1produces graph of changes introduc
ii  file   4.12-1Determines file type using magic
ii  gettext0.14.5-2  GNU Internationalization utilities
ii  intltool-debian0.30+20040213 Help i18n of RFC822 compliant conf
ii  man-db 2.4.3-1   The on-line manual pager
ii  perl [libdigest-md5-perl]  5.8.7-4   Larry Wall's Practical Extraction 

lintian recommends no packages.

-- no debconf information


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



Bug#321139: W: yada source: missing-file-from-potfiles-in templates

2005-08-03 Thread Piotr Roszatycki
Package: lintian
Version: 1.23.10
Severity: wishlist

lintian reports

W: yada source: missing-file-from-potfiles-in templates

or

W: yada source: missing-potfiles-in

for yada and yada-based packages which use debian/po/ directory.

The YADA generates this file automatically on build stage so these
messages are misleading.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'oldstable'), (500, 'testing'), (500, 
'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages lintian depends on:
ii  binutils   2.16.1-2  The GNU assembler, linker and bina
ii  diffstat   1.39-1produces graph of changes introduc
ii  file   4.12-1Determines file type using magic
ii  gettext0.14.5-2  GNU Internationalization utilities
ii  intltool-debian0.30+20040213 Help i18n of RFC822 compliant conf
ii  man-db 2.4.3-1   The on-line manual pager
ii  perl [libdigest-md5-perl]  5.8.7-4   Larry Wall's Practical Extraction 

lintian recommends no packages.

-- no debconf information


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



Bug#321270: proposal: configuration handling

2005-08-04 Thread Piotr Roszatycki
On Thursday 04 of August 2005 16:26, Michal Čihař wrote:
 current configuration handling seems a bit confusing for users (see
 bug#256785). In fact phpMyAdmin does not need full configuration file at
 all and just the snippet living currently in
 /etc/phpmyadmin/config.inc.php would be enough for it. So completely
 removing /usr/share/phpmyadmin/config.inc.php  in favour of
 /etc/phpmyadmin/config.inc.php looks like best solution for config file
 to me. The original file should be probably placed as example in
 /usr/share/doc

 What do you thing about this?

Probably you're right. I'll check if it works correctly. Thanks for 
suggestion.

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-



Bug#321283: php5: SAPIs packages should provide zendmoduleapi-NN than phpapi-NN

2005-08-04 Thread Piotr Roszatycki
Package: php5
Version: 5.0.4-3
Severity: minor

I think the php5-SAPI packages should provide
phpapi-NN, zendmoduleapi-NN and zendextensionapi-NN
virtual packages.

The zendmoduleapi_version defines API for PHP extension modules, the
zendextensionapi_version defines API for Zend extension modules. 

The zendextensionapi_version is not important for PHP extensions. The
change of this value shouldn't force to recompile PHP extension package.

phpapi_version is used only internally and doesn't matter.

The current alghoritm (pick the greatest number and generate own phpapi
version) is misleading as far as `php -i' and `phpize --version' reports
completly different version. It makes a troubles in future when will be
available some package with ZEND extension and makes diagnostic harder
as far as dl() function reports ZEND_MODULE_API_NO in error message if
this value doesn't compare between PHP and extension.

My proposition:

The PHP extension packages should depends on zendmoduleapi-NN, the ZEND
extension packages should depends on zendextensionapi-NN. Please, do not
mix these values.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'oldstable'), (500, 'testing'), (500, 
'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages php5 depends on:
ii  libapache-mod-php5 5.0.999-5.1.0b3-0.0.1 HTML-embedded scripting language (
ii  libapache2-mod-php 5.0.4-3   server-side, HTML-embedded scripti
ii  php5-cgi   5.0.4-3   server-side, HTML-embedded scripti
ii  php5-common5.0.4-3   Common files for packages built fr
ii  php5.1-common [php 5.0.999-5.1.0b3-0.0.1 common files for packages built fr

php5 recommends no packages.

-- no debconf information


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



Bug#321283: [php-maint] Bug#321283: php5: SAPIs packages should provide zendmoduleapi-NN than phpapi-NN

2005-08-05 Thread Piotr Roszatycki
On Friday 05 of August 2005 03:09, Adam Conrad wrote:
  The zendmoduleapi_version defines API for PHP extension modules, the
  zendextensionapi_version defines API for Zend extension modules.
 
  The zendextensionapi_version is not important for PHP extensions. The
  change of this value shouldn't force to recompile PHP extension package.
 
  phpapi_version is used only internally and doesn't matter.

 We've seen upstream rev this number on ABI breakage, so I'm not sure
 that it doesn't matter from a practical standpoint.  They may INTEND
 to use things the way you describe, but the reality is that the current
 situation is the most robust and least likely to blow up in our faces as
 previous schemes have.

Yes, you're right. PHP_API_VERSION value is checked by some modules:

i.e.: ext/pdo/pdo_dbh.c:
#if PHP_API_VERSION = 20041225
zval *object = *object_pp;
#endif

So, I see the php5-pdo package have to depend on phpapi-NN _and_ 
zendmoduleapi-NN. I belive that Zend extension package should depend on 
phpapi-NN and zendextensionapi-NN. Probably one value is not enough and the 
packages should check two ABIs versions.

I think we should rely on real values that are shown by PHP itself (phpinfo 
and phpize), not the internally computed by Debian package.

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#321999: ITP: vde -- virtual distributed ethernet

2005-08-08 Thread Piotr Roszatycki
Package: wnpp
Severity: wishlist
Owner: Piotr Roszatycki [EMAIL PROTECTED]

* Package name: vde
  Version : 1.5.9
  Upstream Author : Renzo Davoli
* URL : http://vde.sourceforge.net/
* License : GPL
  Description : virtual distributed ethernet

VDE is a virtual network that can be spawned over a set of physical computer
over the Internet

VDE connects together: (1) real GNU-linux boxes (tuntap) (2) virtual machines:
UML-User Mode Linux, qemu, bochs, MPS.

VDE can be used: (i) to create a general purpose tunnel (every protocol that
runs on a Ethernet can be put into the tunnel) (ii) to connect a set of
virtual machine to the Internet with no need of free access of tuntap (iii) to
support mobility: a VDE can stay interconnected despite of the change of
virtual cables, i.e. the change of IP addresses and interface in the real
world


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



Bug#321999: ITP: vde -- virtual distributed ethernet

2005-08-09 Thread Piotr Roszatycki
On Tuesday 09 of August 2005 07:19, Guus Sliepen wrote:
 On Mon, Aug 08, 2005 at 06:47:14PM +0200, Piotr Roszatycki wrote:
  VDE is a virtual network that can be spawned over a set of physical
  computer over the Internet
 
  VDE connects together: (1) real GNU-linux boxes (tuntap) (2) virtual
  machines: UML-User Mode Linux, qemu, bochs, MPS.

 I don't object to choice in Debian, but I am wondering why VDE has been
 created when there are alternatives like OpenVPN, tinc and GVPE, which
 can all tunnel Ethernet over the Internet and work like a switch as
 well. Tinc can even work with UML sockets (and since GVPE can use some of
 tinc's components, it can probably be compiled to do so as well). Both
 tinc and GVPE let you specify endpoints, both tools will automatically
 create a full mesh of tunnels. The performance of OpenVPN, tinc and GVPE
 will probably also be better because they use UDP instead of TCP streams
 (like you would get with dpipe = ssh).

I'm using the VDE as a virtual switch for QEMU and I've found it is extremaly 
useful. The possibility of creating p-t-p tunnels are IMHO less important. 
Also, the VDE provides the bi-directional pipes which can be used to connect 
two separate local shell applications and I think it is very cool feature.

So... I'm using the VDE not as VPN software but virtual switch for locally 
execuded emulators and IMHO this is primary job for this toolkit.

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#322325: qemu-make-debian-root should create sparse file

2005-08-10 Thread Piotr Roszatycki
Package: qemu
Version: 0.7.0.cvs20050706-0.1
Severity: normal

qemu-make-debian-root tool should create sparse file as qemu-img do.

Just now qemu-make-debian-root creates i.e. one large block filled with zeros.
It should create sparse file which saves the disk space because i.e. 2G empty
file in fact writes just 10M on the disk!

This should be correct call of `dd' utility:

dd bs=$(($SECTORS * 512)) if=/dev/zero of=$IMAGE.ext2 count=1 
seek=$(($CYLINDERS * $HEADS - 2))

Try to generate the big image and check the disk space with `du' file. It shows
the difference!


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'oldstable'), (500, 'testing'), (500, 
'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages qemu depends on:
ii  bochsbios 2.2.1-1BIOS for the Bochs emulator
ii  libc6 2.3.5-3GNU C Library: Shared libraries an
ii  libsdl1.2debi 1.2.7+1.2.8cvs20041007-5.3 Simple DirectMedia Layer
ii  openhackware  0.4.1-1OpenFirmware emulator for PowerPC
ii  proll 18-1   JavaStation PROM 2.x compatible re
ii  vgabios   0.5c-1 VGA BIOS software for the Bochs an
ii  zlib1g1:1.2.3-3  compression library - runtime

Versions of packages qemu recommends:
ii  debootstrap   0.3.1.4Bootstrap a basic Debian system
ii  sharutils 1:4.2.1-15 shar, unshar, uuencode, uudecode

-- no debconf information


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



Bug#488022: linux-image-2.6.25-2-486: Does not boot on Vortex86SX (BUG: Int 6: CR2 00000000)

2008-06-25 Thread Piotr Roszatycki
Package: linux-image-2.6.25-2-486
Version: 2.6.25-5
Severity: important

The kernel doesn't boot on Vortex86SX machine. It is a regresion,
because previous version of this kernel package worked correctly.

The only message after boot is

BUG: Int 6: CR2 

It is similar to #464962 but it cannot be verified without detailed
CPU register info.

More info:

# ./longnop
Long NOPs supported: no
# cat /proc/cpuinfo
processor   : 0
vendor_id   : unknown
cpu family  : 4
model   : 0
model name  : 486
stepping: unknown
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : no
fpu_exception   : no
cpuid level : -1
wp  : yes
flags   :
bogomips: 98.30
clflush size: 32


-- 
 .''`. Piotr Roszatycki
: :' : mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
 `-



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



Bug#473682: status on bug 473682?

2008-07-02 Thread Piotr Roszatycki
Hi. The new version is almost ready. I didn't have enough time for testing :(

If you want to help, could you download the newest SVN snapshot from
svn://svn.debian.org/fakechroot/ and try if it work correctly? Thanks!

2008/7/1 Daniel Kahn Gillmor [EMAIL PROTECTED]:
 Hey there--

 sorry to be a nag, but i'm curious what's going on with bug #473682.
 fakechroot hasn't worked properly in lenny for nearly three months
 now.  Does anything need doing to help the process along?

 Thanks,

--dkg




-- 
 .''`. Piotr Roszatycki
: :' : mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
 `-



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



Bug#473682: wrapping *at() syscalls properly within fakechroot

2008-05-09 Thread Piotr Roszatycki
Yes, I'm backporting Ubuntu's patches and will release new Debian
package based on them.

Thanks a lot!

2008/5/9 Daniel Kahn Gillmor [EMAIL PROTECTED]:
 I'm raising the severity of #473682 to grave because it makes the
 package in question unusable or mostly so given the new coreutils
 implementation.

 It looks to me like you're upstream as well as the debian maintainer
 for this package.  Could you incorporate some of the patches from
 #473682 that Martin has offered?  Or even better, could you do a pass
 through all the new syscalls [0] and make sure they're properly
 wrapped by fakechroot?

 fakechroot is a really handy tool, and i'd like to see it keep working
 in Lenny!


-- 
 .''`. Piotr Roszatycki
: :' : mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
 `-



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



Bug#362567: CVE-2006-1678: Multiple cross-site scripting (XSS) vulnerabilities

2006-04-14 Thread Piotr Roszatycki
severity 362567 important
thanks

I'm lowering the bug severity, because it is not exploitable if 
register_globals are disabled and it is the default configuration for Debian.

On Friday 14 April 2006 10:53, Stefan Fritsch wrote: 
 Package: phpmyadmin
 Severity: grave
 Tags: security

 CVE-2006-1678:
 Multiple cross-site scripting (XSS) vulnerabilities in phpMyAdmin
 before 2.8.0.3 allow remote attackers to inject arbitrary web script
 or HTML via unknown vectors in unspecified scripts in the themes
 directory.

 Please mention the CVE id in the changelog.

-- 
 .''`.Piotr Roszatycki
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#353367: xserver-xorg: ATI Radeon 8500 LE does not work with X-Video

2006-02-21 Thread Piotr Roszatycki
Dnia Tuesday 21 of February 2006 10:55, Michel Dänzer napisał:
 On Fri, 2006-02-17 at 21:12 +, Piotr Roszatycki wrote:
  After last upgrade in testing distro all applications that utilise
  X-Video shows black window or screen that normal display with i.e. movie
  content. This was tested with mplayer, xine, kaffeine and gstreamer. I
  tried to downgrade the kernel back to 2.6.12 and it seems the problem
  appeared after upgrade of xserver-xorg.

 According to https://bugs.freedesktop.org/show_bug.cgi?id=5623, either
 of

   Option MonitorLayout CRT,NONE
   Option OverlayOnCRTC2

 should work around this problem. Please verify and let us know.

Yes! The first option solved the problem.

Unfortunatelly, dpkg-reconfigure xserver-xorg overwritten my modifications, so 
I'm keeping the bug opened.

Thank you very much.

-- 
 .''`.Piotr Roszatycki
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-



Bug#161354: mysql-server: NIS user mysql makes mysql-server uninstallable

2005-01-24 Thread Piotr Roszatycki
The same is applied if there is db or ldap backend used. It is because mysql 
is compiled with --static option for ./configure script.

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#161354: mysql-server: NIS user mysql makes mysql-server uninstallable

2005-01-25 Thread Piotr Roszatycki
On Monday 24 of January 2005 14:54, Christian Hammers wrote:
 Hello Piotr

 On 2005-01-24 Piotr Roszatycki wrote:
  The same is applied if there is db or ldap backend used. It is because
  mysql is compiled with --static option for ./configure script.

 Is it really due to compile time options or more because
 /var/lib/dpkg/info/mysql-server.preinst does a grep mysql /etc/passwd
 which, of course, fails in your case. (It has been replaced by
 a getent passwd mysql which should work.

 If it's really due to the compile option I would be interested to know
 why this makes a difference.

Hmmm. I was suggested by some of bug report on MySQL site.
I've recompiled with --disable-static and nothing was changed.

My ltrace and strace output:

# ltrace -f mysqld 21 | grep getpwnam
getpwnam(mysql unfinished ...
... getpwnam resumed ) = NULL

# strace -f mysqld 21 | grep open
[...]
open(/usr/share/mysql/english/errmsg.sys, O_RDONLY|O_LARGEFILE) = 3
open(/etc/nsswitch.conf, O_RDONLY)= 3
open(/etc/ld.so.cache, O_RDONLY)  = 3
open(/lib/tls/libnss_files.so.2, O_RDONLY) = 3
open(/etc/passwd, O_RDONLY)   = 3
open(/etc/ld.so.cache, O_RDONLY)  = 3
open(/lib/libnss_db.so.2, O_RDONLY)   = 3
open(/usr/lib/libdb3.so.3, O_RDONLY)  = 3
open(/var/lib/misc/passwd.db, O_RDWR|O_LARGEFILE) = 3
open(/var/lib/misc/passwd.db, O_RDONLY|O_LARGEFILE) = 3
open(/var/lib/misc/passwd.db, O_RDONLY|O_LARGEFILE) = 3

It seems should work but getpwnam returns NULL.

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#161354: mysql-server: NIS user mysql makes mysql-server uninstallable

2005-01-25 Thread Piotr Roszatycki
On Tuesday 25 of January 2005 11:49, Christian Hammers wrote:
 Hello Piotr

 On 2005-01-25 Piotr Roszatycki wrote:
  # ltrace -f mysqld 21 | grep getpwnam
  getpwnam(mysql unfinished ...
  ... getpwnam resumed ) = NULL

 This is the static or the dynamic variant?

Both of them.

 What is the output of getent passwd mysql, getent group mysql
 and cat /etc/nsswitch.conf?

# getent passwd mysql
mysql:!:504:504:MySQL Server:/var/lib/mysql:/bin/false

# getent group mysql
mysql:!:504:

# cat /etc/nsswitch.conf
passwd: files db
group:  files db
shadow: files


I fixed the problem with commands:

# getent passwd mysql  /etc/passwd
# getent group mysql  /etc/group


-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#161354: mysql-server: NIS user mysql makes mysql-server uninstallable

2005-01-25 Thread Piotr Roszatycki
On Tuesday 25 of January 2005 12:47, you wrote:
 Hello Piotr
 I'm getting confused. Did you make the fix before or after the getent?

No no no.

Before installing the mysql-server package the mysql user was placed in 
passwd.db. It made a Fatal error: Can't change to run as user 'mysql'.  
Please check that the user exists!' error. I did some outputs for you and 
then fixed the /etc/passwd with getent command then reinstalled mysql-server 
package.

 If you use NIS, you are suppsed to have nis in /etc/nsswitch.conf,
 because otherwise it's impossible for applications to know that they
 should also look in NIS for passwd data, or? Getent simulates the normal
 getpwent mechanism so whatever you originally configured, if getent
 passwd mysql works, then my packages should see the mysql user and work
 fine. If they don't, they create a user in /etc/passwd or more specific in
 whatever adduser has configured as target database.

I'm using LDAP and DB backends. It seems like mysql requires user entry only 
in /etc/passwd file.

-- 
 .''`.Piotr Roszatycki, Netia SA
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#358477: rpmstrap.1 is non-free

2006-03-23 Thread Piotr Roszatycki
On Wednesday 22 March 2006 22:28, Adam Heath wrote: 
 package: rpmstrap
 version: 0.5.2-1
 severity: serious

 The manpage for rpmstrap was written by the maintainer of the package.  At
 the end, it says it can be freely redistributed.  However, this says
 nothing about modification.  Please fix the wording, or remove the manpage,
 and remove the existing source from the archive.

Could you suggest me how to write it, please?

-- 
 .''`.Piotr Roszatycki
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#360059: phpmyadmin: /scripts/setup.php

2006-03-30 Thread Piotr Roszatycki
On Thursday 30 March 2006 12:53, Olaf van der Spek wrote: 
 Package: phpmyadmin
 Version: 4:2.8.0.2-3
 Severity: normal

  phpMyAdmin comes with a setup script that can help you with creating
  configuration. The script is located at
  http://localhost/scripts/setup.php . For security reason it requires

 authorization.

 Shouldn't that be /phpmyadmin/scripts/setup.php?

You're right! Damn typo. I'm going to fix it...
-- 
 .''`.Piotr Roszatycki
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#354940: xfonts-konsole: Konsole should enable bitmap font

2006-03-02 Thread Piotr Roszatycki
Package: xfonts-konsole
Version: 4:3.4.3-3
Severity: wishlist
Tags: patch

The konsole should provide the configuration file for fontconfig, which
enables the bitmap font for terminal. My proposition:

cat  /etc/fonts/conf.d/10-xfonts-konsole.conf  END
?xml version=1.0?
 !DOCTYPE fontconfig SYSTEM fonts.dtd
 fontconfig
  selectfont
   acceptfont
pattern
  patelt name=familystringConsole/string/patelt
/pattern
   /acceptfont
  /selectfont
  selectfont
   acceptfont
pattern
  patelt name=familystringFixed/string/patelt
/pattern
   /acceptfont
  /selectfont
 /fontconfig
END

The enabling all bitmap fonts with `dpkg-reconfigure -plow fontconfig' is IMO
not a good solution. A very few fonts should be enabled even if global
setting for bitmap fonts is disabled.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages xfonts-konsole depends on:
ii  xutils6.9.0.dfsg.1-4 X Window System utility programs

xfonts-konsole recommends no packages.

-- no debconf information


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



Bug#246222: mod-auth-pam

2006-04-06 Thread Piotr Roszatycki
On Wednesday 05 April 2006 19:56, David N. Welton wrote: 
 [EMAIL PROTECTED]:~# ls -l /sbin/unix_chkpwd
 -rwxr-sr-x  1 root shadow 14988 Sep 12  2005 /sbin/unix_chkpwd

 Shadow file is ok:

 -rw-r-  1 root shadow 1437 Apr  5 17:55 /etc/shadow

 I'm a little rusty with my unix security stuff, but... why is it even
 launching this auxiliary program if it can't do anything it can't in the
 first place?  Also... why can't it read shadow?

 Ideas?  This really should be possibility via some sort of *very, very*
 simple setuid auth mechanism.

The manpage tells that unix_chkpwd will only check the password of the user 
invoking it. The webserver have to check the password of other users.

-- 
 .''`.Piotr Roszatycki
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#349497: Malformed url created by phpmyadmin

2006-01-23 Thread Piotr Roszatycki
tag 349497 unreproducible
thanks

On Monday 23 January 2006 13:16, Balcaen John wrote: 
 urls created by phpmyadmin are wrong with the User Overview menu : the
 host is skipped .

 http://server_privileges.php/?lang=en-utf-8server=1collation_connection=u
tf8_general_cishowall=1

I can't reproduce this bug. Please, send me detailed instruction how to get 
this bug and please send me your config.inc.php (without passwords ;-))

-- 
 .''`.Piotr Roszatycki
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#349786: phpmyadmin: Import_Blacklist Variable Overwrite Vulnerability

2006-01-25 Thread Piotr Roszatycki
found 349786 4:2.6.2-3sarge1
tags 349786 security sarge
severity 349786 critical
thanks

On Wednesday 25 January 2006 10:32, Stephen Gran wrote: 
 http://www.securityfocus.com/bid/15761/info

 I see several other things fixed recently, butnot this one, so I
 thought I would pass it along.  If it is already fixed and I missed
 it, then I am sorry for the noise.

 Upstream says this is fixed 2.7 -pl1, but it appears unstable has 2.7,
 so even sid may be vulnerable right now.

The testing and ustable is unaffected. The sarge's version contains this bug. 
I'm going to notify the Security Team and provide the fix.

-- 
 .''`.Piotr Roszatycki
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#349786: phpmyadmin: Import_Blacklist Variable Overwrite Vulnerability

2006-01-25 Thread Piotr Roszatycki
On Wednesday 25 January 2006 11:39, Piotr Roszatycki wrote: 
notfound 349786 4:2.6.2-3sarge1
close 349786
tags 349786 -sarge unconfirmed
thanks

Well, the bug was introduced in 2.7.0 version and was fixed in 2.7.0-pl1 
version, so the 2.6.2 does not contain this bug.

In 2.7.0 version the method of sanitizing global variables was changed. I 
doubt if method used in 2.6.2 version is unsecure, so I think the bugreport 
should be just closed.

Thanks.
-- 
 .''`.Piotr Roszatycki
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#349811: azureus: Can't install with gij only

2006-01-25 Thread Piotr Roszatycki
Package: azureus
Version: 2.3.0.6-1
Severity: normal

The Azureus works with gij-wrapper-4.0, but I can't install azureus because:

Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  azureus: Depends: sun-j2re1.5 but it is not installable or
  java2-runtime but it is not installable
  E: Broken packages


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



Bug#364702: phpmyadmin: Invalid data dump for ascii varchar columns

2006-06-25 Thread Piotr Roszatycki
tag 364702 unreproducible moreinfo
thanks

Hi.

The dump is not fully correctly, because the last character in each line is 
comma (,), not (;).

The hexadecimal encoding in place of ascii was correct because you used 
collate ascii_bin. I've called

  sed -i s/,$/;' dump.sql

and imported your file correctly.

Also, I exported the database with UPDATE option and it was exported 
correctly, too. Of course, the name column was hexadecimal encoded, too.

Dnia wtorek, 25 kwietnia 2006 06:07, Ferenczi Viktor napisał:
 Package: phpmyadmin
 Version: 4:2.8.0.2-4
 Severity: normal


 I've dumped a table as UPDATE commands and got invalid result for the name
 column. Large hexadecimal numbers are dumped instead of strings. This
 cannot be executed on the same version of mysql. Dump is useless:

 -- phpMyAdmin SQL Dump
 -- version 2.8.0.2-Debian-4
 -- http://www.phpmyadmin.net
 --
 -- Hoszt: localhost
 -- Ltrehozs ideje: 2006. pr 25. 05:59
 -- Szerver verzi: 4.1.15
 -- PHP Verzi: 4.4.2-1+b1
 --
 -- Adatbzis: `cx_digit`
 --

 -- 

 --
 -- Tbla szerkezet: `parameters`
 --

 CREATE TABLE `parameters` (
   `rowid` int(11) NOT NULL auto_increment,
   `name` varchar(32) character set ascii collate ascii_bin NOT NULL default
 '', `label` varchar(100) NOT NULL default '',
   `language` char(2) character set ascii collate ascii_bin NOT NULL default
 '', `value` text NOT NULL,
   `description` text NOT NULL,
   `foreign` varchar(16) NOT NULL default '',
   `order` int(11) NOT NULL default '0',
   PRIMARY KEY  (`rowid`),
   UNIQUE KEY `name_language` (`name`,`language`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=10 ;

 --
 -- Tbla adatok: `parameters`

-- 
 .''`.Piotr Roszatycki
: :' :mailto:[EMAIL PROTECTED]
`. `' 
   `-



Bug#364703: phpmyadmin: SQL table sructure dump does not include auto_increment

2006-06-25 Thread Piotr Roszatycki
tag 364703 moreinfo
thanks

Hi. Could you send me the example for database to reproduce the bug, please? 
Thank you in advance.

Dnia wtorek, 25 kwietnia 2006 06:11, Ferenczi Viktor napisał:
 Package: phpmyadmin
 Version: 4:2.8.0.2-4
 Severity: important


 When dumping tables from MySQL 4.0 databases phpmyadmin does in include the
 auto_increment modifier for auto increment foreign keys. This causes hard
 to debug problems with INSERT statements where 0 is inserted into the
 primary key after such a bogus dump is reloaded into the database. MySQL
 4.1 is not affected by this bug as far as I could test it.

 -- System Information:
 Debian Release: testing/unstable
   APT prefers unstable
   APT policy: (990, 'unstable'), (500, 'stable')
 Architecture: i386 (i686)
 Shell:  /bin/sh linked to /bin/bash
 Kernel: Linux 2.6.14-sirius-20051219-0354
 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

 Versions of packages phpmyadmin depends on:
 ii  debconf [debconf-2.0]   1.4.72   Debian configuration
 management sy ii  php44:4.4.2-1server-side,
 HTML-embedded scripti ii  php4-mysql  4:4.4.2-1+b1 MySQL
 module for php4 ii  ucf 2.007Update
 Configuration File: preserv

 Versions of packages phpmyadmin recommends:
 ii  apache2 2.0.55-4 next generation, scalable,
 extenda ii  apache2-mpm-prefork [httpd] 2.0.55-4 traditional model for
 Apache2 ii  php4-gd 4:4.4.2-1+b1 GD module for php4
 ii  php4-mcrypt 3:4.3.10-2   MCrypt module for php4

 -- debconf information:
   phpmyadmin/setup-username: admin
 * phpmyadmin/reconfigure-webserver: apache2
 * phpmyadmin/restart-webserver: true

-- 
 .''`.Piotr Roszatycki
: :' :mailto:[EMAIL PROTECTED]
`. `' 
   `-



Bug#375479: lintian: yada: E: phpmyadmin source: missing-build-dependency patch

2006-06-26 Thread Piotr Roszatycki
Package: lintian
Version: 1.23.21
Severity: important

lintian reports

E: phpmyadmin source: missing-build-dependency patch

for packages built with yada. The yada depends on patch, so this error is 
bogus.
-- 
Piotr Roszatycki


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



Bug#380259: no copyright file in source package

2006-07-31 Thread Piotr Roszatycki
serverity 380259 wishlist
thanks

The Debian Policy does not say that the source package have to contain 
debian/copyright file. The YADA packaging tool generates 
the /usr/share/doc/PACKAGE/copyright file based on informations from 
debian/packages file.

The debian/copyright file could be compiled at build time and saved in source 
package, so I don't close the bugreport, yet, and I'll forward the report to 
the yada package, later.

On Friday 28 July 2006 20:21, Joey Hess wrote: 
 Package: rpmstrap
 Version: 0.5.2-2
 Severity: normal

 If I apt-get source this package, there is no debian/copyright file. The
 binary package has one, but I don't know where it came from.

 I'm not sure if this is a policy violation or not, and don't much care;
 please be like every other source package and include a
 debian/copyright.

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

 Versions of packages rpmstrap depends on:
 ii  rpm   4.4.1-9.1  Red Hat package manager
 ii  wget  1.10.2-2   retrieves files from the web

 rpmstrap recommends no packages.

 -- no debconf information

-- 
 .''`.Piotr Roszatycki
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#327081: ITP: rpmstrap -- bootstrap a basic RPM-based system

2006-03-17 Thread Piotr Roszatycki
Message for FTP master:

The current rpmstrap package is based on newer version which has debootstrap 
code removed, so it does not contain any controversial code. Additionaly, the 
author of deboostrap is mentioned in rpmstrap's documentation.

The entry from SVN repo log:

r163 | sam | 2005-09-12 20:16:41 +0200 (Mon, 12 Sep 2005) | 2 lines

Add Branden Robinson to the authors field. See 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=327081


-- 
 .''`.Piotr Roszatycki
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#357495: aylet-gtk: GTK2 port

2006-03-17 Thread Piotr Roszatycki
Package: aylet-gtk
Version: 0.5-1
Severity: wishlist
Tags: patch

Please, port aylet to GTK2 library. The application looks better and can use
more advanced gtk2-engines.

The patch:

diff -ru aylet-0.5.orig/Makefile aylet-0.5/Makefile
--- aylet-0.5.orig/Makefile 2005-12-18 04:05:08.0 +0100
+++ aylet-0.5/Makefile  2006-03-17 17:33:50.0 +0100
@@ -43,10 +43,10 @@
$(CC) -o aylet $(OBJS) $(CURSES_LIB)
 
 xaylet: $(XOBJS)
-   $(CC) -o xaylet $(XOBJS) `gtk-config --libs`
+   $(CC) -o xaylet $(XOBJS) `pkg-config gtk+-2.0 --libs`
 
 uigtk.o: uigtk.c
-   $(CC) $(CFLAGS) `gtk-config --cflags` -c uigtk.c -o uigtk.o
+   $(CC) $(CFLAGS) `pkg-config gtk+-2.0 --libs --cflags` -c uigtk.c -o 
uigtk.o
 
 installdirs:
/bin/sh ./mkinstalldirs $(BINDIR) $(XBINDIR) $(MANDIR)
diff -ru aylet-0.5.orig/uigtk.c aylet-0.5/uigtk.c
--- aylet-0.5.orig/uigtk.c  2002-09-14 17:45:45.0 +0200
+++ aylet-0.5/uigtk.c   2006-03-17 17:37:49.0 +0100
@@ -201,7 +201,7 @@
 gtk_signal_connect(GTK_OBJECT(highspeed_widget),clicked,
GTK_SIGNAL_FUNC(cb_toggle_highspeed),NULL);
 gtk_widget_add_accelerator(highspeed_widget,clicked,
-   gtk_accel_group_get_default(),
+   gtk_accel_group_new(),
GDK_h,0,0);
 gtk_widget_show(highspeed_widget);
 
@@ -249,7 +249,7 @@
 gtk_box_pack_start(GTK_BOX(hbox),button,TRUE,TRUE,0);
 gtk_signal_connect(GTK_OBJECT(button),clicked,
GTK_SIGNAL_FUNC(cb_button_prev_track),NULL);
-gtk_widget_add_accelerator(button,clicked,gtk_accel_group_get_default(),
+gtk_widget_add_accelerator(button,clicked,gtk_accel_group_new(),
GDK_z,0,0);
 /* since I use Space, there's no point having these focusable... */
 GTK_WIDGET_UNSET_FLAGS(button,GTK_CAN_FOCUS);
@@ -260,7 +260,7 @@
 gtk_box_pack_start(GTK_BOX(hbox),button,TRUE,TRUE,0);
 gtk_signal_connect(GTK_OBJECT(button),clicked,
GTK_SIGNAL_FUNC(cb_button_play),NULL);
-gtk_widget_add_accelerator(button,clicked,gtk_accel_group_get_default(),
+gtk_widget_add_accelerator(button,clicked,gtk_accel_group_new(),
GDK_x,0,0);
 GTK_WIDGET_UNSET_FLAGS(button,GTK_CAN_FOCUS);
 gtk_widget_show(button);
@@ -270,7 +270,7 @@
 gtk_box_pack_start(GTK_BOX(hbox),button,TRUE,TRUE,0);
 gtk_signal_connect(GTK_OBJECT(button),clicked,
GTK_SIGNAL_FUNC(cb_button_pause),NULL);
-gtk_widget_add_accelerator(button,clicked,gtk_accel_group_get_default(),
+gtk_widget_add_accelerator(button,clicked,gtk_accel_group_new(),
GDK_c,0,0);
 GTK_WIDGET_UNSET_FLAGS(button,GTK_CAN_FOCUS);
 gtk_widget_show(button);
@@ -280,7 +280,7 @@
 gtk_box_pack_start(GTK_BOX(hbox),button,TRUE,TRUE,0);
 gtk_signal_connect(GTK_OBJECT(button),clicked,
GTK_SIGNAL_FUNC(cb_button_stop),NULL);
-gtk_widget_add_accelerator(button,clicked,gtk_accel_group_get_default(),
+gtk_widget_add_accelerator(button,clicked,gtk_accel_group_new(),
GDK_v,0,0);
 GTK_WIDGET_UNSET_FLAGS(button,GTK_CAN_FOCUS);
 gtk_widget_show(button);
@@ -290,7 +290,7 @@
 gtk_box_pack_start(GTK_BOX(hbox),button,TRUE,TRUE,0);
 gtk_signal_connect(GTK_OBJECT(button),clicked,
GTK_SIGNAL_FUNC(cb_button_next_track),NULL);
-gtk_widget_add_accelerator(button,clicked,gtk_accel_group_get_default(),
+gtk_widget_add_accelerator(button,clicked,gtk_accel_group_new(),
GDK_b,0,0);
 GTK_WIDGET_UNSET_FLAGS(button,GTK_CAN_FOCUS);
 gtk_widget_show(button);
@@ -299,7 +299,7 @@
 gtk_box_pack_start(GTK_BOX(hbox),button,TRUE,TRUE,0);
 gtk_signal_connect(GTK_OBJECT(button),clicked,
GTK_SIGNAL_FUNC(cb_button_restart),NULL);
-gtk_widget_add_accelerator(button,clicked,gtk_accel_group_get_default(),
+gtk_widget_add_accelerator(button,clicked,gtk_accel_group_new(),
GDK_r,0,0);
 GTK_WIDGET_UNSET_FLAGS(button,GTK_CAN_FOCUS);
 gtk_widget_show(button);
@@ -386,8 +386,8 @@
 if(need_update)
   {
   need_update=0;
-  ui_draw_status(ay_filenames[ay_file],aydata.miscstr,aydata.authorstr,
- ay_track+1,aydata.tracks[ay_track].namestr);
+  ui_draw_status(ay_filenames[ay_file], (char *)aydata.miscstr, (char 
*)aydata.authorstr,
+ ay_track+1, (char *)aydata.tracks[ay_track].namestr);
   }
 
 /* update time display */


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (10, 'experimental')
Architecture: i386 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages aylet-gtk depends on:
ii  libc6 2.3.6-3GNU C Library: Shared libraries an
ii  libglib1.21.2.10-10.1The GLib library of C routines
ii  libgtk1.2 1.2.10-18  The GIMP 

Bug#357731: phpmyadmin: No config change - still restart question

2006-03-20 Thread Piotr Roszatycki
On Monday 20 March 2006 11:24, Olaf van der Spek wrote: 
  Setting up phpmyadmin (2.8.0.2-2) ...
  Not replacing deleted config file /etc/phpmyadmin/htaccess
  Not replacing deleted config file /etc/phpmyadmin/htaccess
 
  Remember that in order to activate the new configuration apache2 has to
  be restarted. You can also restart apache2 manually executing
  /etc/init.d/apache2 restart
 
  Do you want me to restart apache2 now?
 
  I don't think it should ask this question in this case.
 
  Yes, but notice that the apache.conf file was changed and it is the
  reason that apache should be restarted.

 Why didn't it say that file was changed?

The config files are handled with `ucf' command. It should be verbose but it 
is quiet if the config file was modified and Debconf frontend is 
noninteractive.

-- 
 .''`.Piotr Roszatycki
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#357930: phpmyadmin: Javascript files not included in version 4:2.8.0.2-2

2006-03-20 Thread Piotr Roszatycki
severity 357743 important
severity 357579 important
severity 357930 important
close 357743 357579 357930
merge 357743 357579 357930
thanks

-- 
 .''`.Piotr Roszatycki
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#357930: phpmyadmin: Javascript files not included in version 4:2.8.0.2-2

2006-03-20 Thread Piotr Roszatycki
On Monday 20 March 2006 17:07, Luk Claes wrote: 
 You marked these bugs as closed without uploading a new version, so
 these Javascript files just appeared again without any upgrade of
 phpmyadmin?

The files was uploaded and they are at http://incoming.debian.org/ 
I don't now why the bug was no closed automatically.

 If not, you should close them mentioning the version in which the bugs
 were fixed, you should also give the bug reporter a reason you fixed the
 bugs... Using [EMAIL PROTECTED] with a Version: pseudo header
 would then be the right thing to do...

In fact this bug is duplicated so I would like to merge it and close with the 
same version. I think I'll just wait until the newest version will appear in 
main archive.

-- 
 .''`.Piotr Roszatycki
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-


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



Bug#476579: libmoose-perl: perl core dumps with Moose and threads

2008-04-17 Thread Piotr Roszatycki
Package: libmoose-perl
Version: 0.40-1
Severity: important

Moose can't be used with threads:

$ perl -ale 'use threads; package P; use Moose; has a = isa=Str |
Num; package main; my $thr = threads-create(sub {  }); $thr-join();
'
(sid)[EMAIL PROTECTED]:/home/dexter# perl -ale 'use threads; package P;
use Moose; has a = isa=Str | Num; package main; my $thr =
threads-create(sub {  }); $thr-join(); '
*** glibc detected *** perl: double free or corruption (!prev): 0x086c5480 ***
=== Backtrace: =
/lib/libc.so.6[0xb7e73007]
/lib/libc.so.6(cfree+0x89)[0xb7e74ca9]
perl(Perl_pregfree+0x3e)[0x809eb7e]
perl(perl_destruct+0xcf1)[0x806b661]
/usr/lib/perl/5.8/auto/threads/threads.so[0xb7db458c]
/usr/lib/perl/5.8/auto/threads/threads.so(Perl_ithread_join+0x219)[0xb7db4819]
/usr/lib/perl/5.8/auto/threads/threads.so(XS_threads_join+0x7c)[0xb7db497c]
perl(Perl_pp_entersub+0x313)[0x80c0923]
perl(Perl_runops_standard+0x1b)[0x80bf2fb]
perl(perl_run+0x2db)[0x806721b]
perl(main+0x112)[0x8063752]
/lib/libc.so.6(__libc_start_main+0xe0)[0xb7e22450]
perl[0x80635d1]
=== Memory map: 
08048000-0814a000 r-xp  fe:00 2245477/usr/bin/perl
0814a000-0814e000 rw-p 00101000 fe:00 2245477/usr/bin/perl
0814e000-086d9000 rw-p 0814e000 00:00 0  [heap]
b740-b7421000 rw-p b740 00:00 0
b7421000-b750 ---p b7421000 00:00 0
b7573000-b757f000 r-xp  fe:00 2458772/lib/libgcc_s.so.1
b757f000-b758 rw-p b000 fe:00 2458772/lib/libgcc_s.so.1
b7583000-b7584000 ---p b7583000 00:00 0
b7584000-b7da4000 rw-p b7584000 00:00 0
b7da4000-b7da6000 r-xp  fe:00 2590082
/usr/lib/perl5/auto/Class/MOP/MOP.so
b7da6000-b7da7000 rw-p 1000 fe:00 2590082
/usr/lib/perl5/auto/Class/MOP/MOP.so
b7da7000-b7db r-xp  fe:00 2688267
/usr/lib/perl/5.8.8/auto/List/Util/Util.so
b7db-b7db1000 rw-p 8000 fe:00 2688267
/usr/lib/perl/5.8.8/auto/List/Util/Util.so
b7db1000-b7db7000 r-xp  fe:00 3524584
/usr/lib/perl/5.8.8/auto/threads/threads.so
b7db7000-b7db8000 rw-p 5000 fe:00 3524584
/usr/lib/perl/5.8.8/auto/threads/threads.so
b7db8000-b7dda000 rw-p b7db8000 00:00 0
b7dda000-b7de3000 r-xp  fe:00 2458734/lib/libcrypt-2.7.so
b7de3000-b7de5000 rw-p 8000 fe:00 2458734/lib/libcrypt-2.7.so
b7de5000-b7e0c000 rw-p b7de5000 00:00 0
b7e0c000-b7f3b000 r-xp  fe:00 2458732/lib/libc-2.7.so
b7f3b000-b7f3c000 r--p 0012f000 fe:00 2458732/lib/libc-2.7.so
b7f3c000-b7f3e000 rw-p 0013 fe:00 2458732/lib/libc-2.7.so
b7f3e000-b7f42000 rw-p b7f3e000 00:00 0
b7f42000-b7f55000 r-xp  fe:00 2458746/lib/libpthread-2.7.so
b7f55000-b7f57000 rw-p 00012000 fe:00 2458746/lib/libpthread-2.7.so
b7f57000-b7f59000 rw-p b7f57000 00:00 0
b7f59000-b7f7c000 r-xp  fe:00 2458736/lib/libm-2.7.so
b7f7c000-b7f7e000 rw-p 00022000 fe:00 2458736/lib/libm-2.7.so
b7f7e000-b7f8 r-xp  fe:00 2458735/lib/libdl-2.7.so
b7f8-b7f82000 rw-p 1000 fe:00 2458735/lib/libdl-2.7.so
b7f82000-b7f84000 r-xp  fe:00 2491161
/usr/lib/perl5/auto/Sub/Name/Name.so
b7f84000-b7f85000 rw-p 1000 fe:00 2491161
/usr/lib/perl5/auto/Sub/Name/Name.so
b7f85000-b7f87000 rw-p b7f85000 00:00 0
b7f87000-b7f88000 r-xp b7f87000 00:00 0  [vdso]
b7f88000-b7fa2000 r-xp  fe:00 2458723/lib/ld-2.7.so
b7fa2000-b7fa4000 rw-p 00019000 fe:00 2458723/lib/ld-2.7.so
bfe5a000-bfe6f000 rw-p bffeb000 00:00 0  [stack]
Aborted (core dumped)

I don't understand, why it core dumps with 'isa'. It is more strange
that it core dumps with Debian's Perl only. I've tested it with
ActiveState and Strawberry for Win32, and it was ok.

-- 
 .''`.Piotr Roszatycki
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-



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



Bug#476579: libmoose-perl: perl core dumps with Moose and threads

2008-04-18 Thread Piotr Roszatycki
Thanks a lot. I will notify Moose's upstream.

2008/4/17, Niko Tyni [EMAIL PROTECTED]:

  I can reproduce the crash with just

   #!/usr/bin/perl
   use threads;
   use re 'eval';
   my $a = qr{(??{a})};
   print match\n if bc =~ /(??{b})/;
   my $thr = threads-create(sub {  });
   $thr-join();
   __END__

-- 
 .''`.Piotr Roszatycki
: :' :mailto:[EMAIL PROTECTED]
`. `' mailto:[EMAIL PROTECTED]
  `-



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



Bug#606963: henplus: Would you accept team or co-maintainership of this package?

2011-01-21 Thread Piotr Roszatycki
Hi.

I'm sure that I replied to your mail.

I agree and I would like to maintain it as a team. I've started to migration
to debhelper but it is not finished job. Do you have some place for it?
Perhaps you could start it as collab-maint repo?

Thanks!

2011/1/19 Niels Thykier ni...@thykier.net

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 Hi Piotr

 Little over a month ago, I asked if you were willing to put henplus
 under team maintance or accept a Co-maintainer.  I am yet to see a reply
 - - if you have replied in private, I have missed your email (please
 resend it in that case).

 Please see #606963 for my original email, in case you missed it. :)


-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


Bug#606963: henplus: Would you accept team or co-maintainership of this package?

2011-01-21 Thread Piotr Roszatycki
2011/1/21 Niels Thykier ni...@thykier.net

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 On 2011-01-21 17:26, Piotr Roszatycki wrote:
  Hi.
 
  I'm sure that I replied to your mail.
 

 I guess I missed it then :)

  I agree and I would like to maintain it as a team. I've started to
 migration
  to debhelper but it is not finished job. Do you have some place for it?
  Perhaps you could start it as collab-maint repo?


 I was thinking of putting under the pkg-java Team[1], either as a git or
 a svn repository.
  The VCS data from the PTS[2] appears to point to a non-existent
 location.  Has henplus been moved somewhere else?

 ~Niels

 [1] http://pkg-java.alioth.debian.org/

 [2] http://packages.qa.debian.org/h/henplus.html
 Browser:
 http://svn.debian.org/wsvn/cvsdebuild/trunk/debian/dists/henplus/


This is standalone application written in Java, not a library or Java-tool,
so i think it can be hosted as a separate project.

The VCS path had to be changed some time ago. I see the current is:

http://svn.debian.org/wsvn/cvsdebuild/henplus/trunk/

But it is not so important because it will change to git repository, I hope.

By the way I see that henplus's upstream code is currently hosted by
github.com.

-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


Bug#519391: libgcrypt11: SIGILL on _gcry_detect_hw_features

2009-05-18 Thread Piotr Roszatycki
2009/5/18 Andreas Metzler ametz...@downhill.at.eu.org:
 Perhaps you could send me binary to run?

 Strange, it builds for me on i486, but fails  to build on amd64.
 Extrapolationg from that I would assume building in i386 should work.

Ah, thanks. I've forgot this is i386-only code.

I'm afraid this is the same as previous:

$ gdb ./cpuid2
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as i486-linux-gnu...
(gdb) r
Starting program: /media/FreeAgentDesktop/.home/dexter/cpuid2
This CPU has CPUID opcode

Program received signal SIGILL, Illegal instruction.
0x08048464 in cpuid (op=0, eax=0xbfe3f36c, ebx=0xbfe3f368, ecx=0xbfe3f364,
edx=0xbfe3f360) at cpuid2.c:41
41  __asm__(cpuid
(gdb)


-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-



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



Bug#596284: sysvinit: Doesn't install with debootstrap --variant=fakechroot

2010-09-09 Thread Piotr Roszatycki
Package: sysvinit
Version: 2.88dsf-12
Tags: patch

The sysvinit package can not be installed with debootstrap
--variant=fakechroot because of:

Setting up sysvinit (2.88dsf-12) ...
sysvinit: creating /dev/initctl
mkfifo: cannot create fifo `/dev/initctl': Permission denied
dpkg: error processing sysvinit (--configure):
 subprocess installed post-installation script returned error exit status 1

I suggest that sysvinit.postinst shouldn't create this file if the
fakechroot environment is detected:

--- sysvinit.postinst 2010-08-15 21:38:01.0 +0200
+++ sysvinit.postinst.fakechroot 2010-09-10 01:11:28.926648496 +0200
@@ -28,7 +28,7 @@
 #
 # Check /dev/initctl
 #
-if [ $INITCTL ]  [ ! -p $INITCTL ]
+if [ $INITCTL ]  [ ! -p $INITCTL ]  [ $FAKECHROOT != true ]
 then
  echo sysvinit: creating $INITCTL
  rm -f $INITCTL


There is no easy way to override it in fakechroot or debootstrap and I'm
afraid that sysvinit package it is only reason that Debian sid can't be set
up with fakechroot variant.

Thank you.

-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-
bsp; `-


Bug#596435: fakechroot: buffer overrun in getsockname

2010-09-11 Thread Piotr Roszatycki
tags 596435 pending
thanks

Already applied to git repository and it will be released soon.

Thank you very much!

2010/9/11 Daniel Tschan tschan+deb...@devzone.chtschan%2bdeb...@devzone.ch


 Package: fakechroot
 Version: 2.10-2
 Severity: important
 Tags: patch

 The getsockname function in libfakechroot.c ignores the namelen parameter
 and
 overruns the buffer given as name if *namelen is less than sizeof(struct
 sockaddr_un).

 This can be triggered by executing: fakechroot host 127.0.0.1
 glibc detects the buffer overrun and kills the process:
 *** stack smashing detected ***: host terminated

 According to recent getsockname(2) man pages the result must be truncated
 if it's longer
 than *namelen. *namelen should then be set to the length of the complete
 result so that
 the caller can recognize that the result has been truncated. See attached
 patch for a
 corresponding solution.

 -- System Information:
 Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
 Architecture: amd64 (x86_64)

 Kernel: Linux 2.6.18-194.11.1.el5 (SMP w/2 CPU cores)
 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 fakechroot depends on:
 ii  libc6 2.11.2-5   Embedded GNU C Library: Shared
 lib

 fakechroot recommends no packages.

 Versions of packages fakechroot suggests:
 pn  libc6-i386none (no description available)

 -- no debconf information



Bug#577706: newenvp buffer overrun in execve()

2010-09-20 Thread Piotr Roszatycki
fixed 577706 2.10
thanks

This bug was resolved in 2.10 release. Thank you!

2010/4/13 Tomi Belan tomi.be...@gmail.com

 Package: fakechroot
 Version: 2.9

 Programs under fakechroot can crash in execve() if all of the
 FAKECHROOT, FAKECHROOT_BASE, FAKECHROOT_VERSION,
 FAKECHROOT_EXCLUDE_PATH, LD_LIBRARY_PATH, LD_PRELOAD variables
 are set. An example of a program using execve() is gcc. This means
 that unless FAKECHROOT_EXCLUDE_PATH (or another one of the variables
 above) is unset, using gcc in fakechroot is impossible.

 How to test:
 $ export FAKECHROOT_EXCLUDE_PATH=
 $ echo  | fakechroot chroot / gcc -x c -

 What I expected to see (because / isn't writable):
 /usr/bin/ld: cannot open output file a.out: Permission denied
 collect2: ld returned 1 exit status

 What I saw instead:
 *** glibc detected *** gcc: corrupted double-linked list: 0x08906190 ***
 === Backtrace: =
 /lib/libc.so.6(+0x6bb61)[0xb77b7b61]
 /lib/libc.so.6(+0x6d411)[0xb77b9411]
 /lib/libc.so.6(cfree+0x6d)[0xb77bc4ad]
 gcc[0x805e08e]
 gcc[0x8054b3b]
 /lib/libc.so.6(__libc_start_main+0xe6)[0xb7762b86]
 gcc[0x8049661]
 === Memory map: 
 08048000-08079000 r-xp  08:03 54690299   /usr/bin/gcc
 08079000-0807b000 rw-p 0003 08:03 54690299   /usr/bin/gcc
 088ff000-0892 rw-p  00:00 0  [heap]
 b740-b7421000 rw-p  00:00 0
 b7421000-b750 ---p  00:00 0
 b7551000-b756d000 r-xp  08:03 4486578/usr/lib/libgcc_s.so.1
 b756d000-b756e000 rw-p 0001c000 08:03 4486578/usr/lib/libgcc_s.so.1
 b756e000-b773b000 r--p  08:03 54577410
 /usr/lib/locale/locale-archive
 b773b000-b7745000 r-xp  08:03 4303501/lib/
 libnss_files-2.11.1.so
 b7745000-b7746000 r--p 9000 08:03 4303501/lib/
 libnss_files-2.11.1.so
 b7746000-b7747000 rw-p a000 08:03 4303501/lib/
 libnss_files-2.11.1.so
 b7747000-b7748000 rw-p  00:00 0
 b7748000-b774a000 r-xp  08:03 4328458/lib/libdl-2.11.1.so
 b774a000-b774b000 r--p 1000 08:03 4328458/lib/libdl-2.11.1.so
 b774b000-b774c000 rw-p 2000 08:03 4328458/lib/libdl-2.11.1.so
 b774c000-b788d000 r-xp  08:03 4303498/lib/libc-2.11.1.so
 b788d000-b788f000 r--p 0014 08:03 4303498/lib/libc-2.11.1.so
 b788f000-b789 rw-p 00142000 08:03 4303498/lib/libc-2.11.1.so
 b789-b7893000 rw-p  00:00 0
 b7893000-b789e000 r-xp  08:03 17009921
 /usr/lib/libfakeroot/fakechroot/libfakechroot.so
 b789e000-b789f000 rw-p a000 08:03 17009921
 /usr/lib/libfakeroot/fakechroot/libfakechroot.so
 b789f000-b78a rw-p  00:00 0
 b78a-b78a1000 r-xp  00:00 0  [vdso]
 b78a1000-b78bd000 r-xp  08:03 4330037/lib/ld-2.11.1.so
 b78bd000-b78be000 r--p 0001b000 08:03 4330037/lib/ld-2.11.1.so
 b78be000-b78bf000 rw-p 0001c000 08:03 4330037/lib/ld-2.11.1.so
 bffc9000-bffde000 rw-p  00:00 0  [stack]
 Aborted

 gdb /bin/true crashes similarly.

 The bug is caused by the newenvp array overflowing in execve() and can
 be fixed by replacing i with (i+1) in execve()'s realloc() call.

 However, I found out that the bug is already fixed in SVN, which makes
 me concerned that the fix wasn't released yet. If it's because the
 trunk is unstable at the moment, please consider doing a separate
 bugfix release. Building software is one of the main uses of
 fakechroot, and being unable to use gcc (together with
 FAKECHROOT_EXCLUDE_PATH) seriously reduces its functionality.

 I am using fakechroot-2.9 compiled from source on ArchLinux.



-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


Bug#596637: fakechroot: FTBFS on kfreebsd-*: test failures

2010-09-20 Thread Piotr Roszatycki
tags 596637 pending
thanks

Patch with solution was applied to upstream's trunk. It will be ported to
Debian package soon.

2010/9/13 Cyril Brulebois k...@debian.org

 Source: fakechroot
 Version: 2.11-1
 Severity: serious
 Justification: FTBFS
 User: debian-...@lists.debian.org
 Usertags: kfreebsd

 Hi,

 your package no longer builds on kfreebsd-* due to test failures:
 | if [ -n prove ]; then \
 |   srcdir=../../test SEQ= prove ../../test/t; \
 |   else \
 |   make  check-TESTS; \
 |   fi
 | ../../test/t/00echo.t .. ok
 | ../../test/t/canonicalize_file_name.t .. ok
 | ../../test/t/chdir.t ... ok
 | ../../test/t/chroot.t .. ok
 | ../../test/t/cmd-subst.t ... ok
 | ../../test/t/cp.t .. ok
 | ../../test/t/escape-nested-chroot.t  ok
 | ../../test/t/host.t  ok
 | ../../test/t/popen.t ...
 | Dubious, test returned 1 (wstat 256, 0x100)
 | Failed 1/4 subtests
 |   (less 2 skipped subtests: 1 okay)
 | ../../test/t/pwd.t . ok
 | ../../test/t/readlink.t  ok
 | ../../test/t/socket-af_unix.t .. ok
 | ../../test/t/symlink.t . ok
 | ../../test/t/system.t ..
 | Dubious, test returned 1 (wstat 256, 0x100)
 | Failed 1/4 subtests
 |   (less 2 skipped subtests: 1 okay)
 | ../../test/t/touch.t ... ok
 |
 | Test Summary Report
 | ---
 | ../../test/t/popen.t (Wstat: 256 Tests: 4 Failed: 1)
 |   Failed test:  3
 |   Non-zero exit status: 1
 | ../../test/t/system.t(Wstat: 256 Tests: 4 Failed: 1)
 |   Failed test:  3
 |   Non-zero exit status: 1
 | Files=15, Tests=481, 35 wallclock secs ( 0.17 usr  0.07 sys +  2.02 cusr
  5.08 csys =  7.33 CPU)
 | Result: FAIL
 | make[3]: *** [test] Error 1

 Full build logs:
  https://buildd.debian.org/status/package.php?p=fakechroot

 Mraw,
 KiBi.





-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


Bug#519391: libgcrypt11: SIGILL on _gcry_detect_hw_features

2009-05-18 Thread Piotr Roszatycki
Hi. Sorry for delay.

I can't compile this code:

$ gcc -o cpuid2 cpuid2.c
cpuid2.c: Assembler messages:
cpuid2.c:16: Error: suffix or operands invalid for `pushf'
cpuid2.c:16: Error: suffix or operands invalid for `pushf'
cpuid2.c:16: Error: suffix or operands invalid for `pop'
cpuid2.c:16: Error: suffix or operands invalid for `push'
cpuid2.c:16: Error: suffix or operands invalid for `popf'
cpuid2.c:16: Error: suffix or operands invalid for `pushf'
cpuid2.c:16: Error: suffix or operands invalid for `pop'
cpuid2.c:16: Error: suffix or operands invalid for `popf'

Perhaps you could send me binary to run?

2009/5/17 Andreas Metzler ametz...@downhill.at.eu.org:
 There is a second, slightly diffeent instance of the same code in
 boot/cpucheck.c. Does this one also prodecue the Illegal instruction
 error?

 cu and- doesn't speak ASM -reas

 Ping...




-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-



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



Bug#519391: libgcrypt11: SIGILL on _gcry_detect_hw_features

2009-03-12 Thread Piotr Roszatycki
Package: libgcrypt11
Version: 1.4.4-2
Severity: grave

I've found this bug calling lpstat from cupsys:

$ gdb lpstat

Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0xb7b9c6e0 (LWP 2196)]
0xb7bae10e in _gcry_detect_hw_features () at hwfeatures.c:78
78  hwfeatures.c: No such file or directory.
in hwfeatures.c

It means the libgcrypt11 uses opcodes illegal on real 486-compatible
machine, like Vortex86SX:

$ cat /proc/cpuinfo
processor   : 0
vendor_id   : unknown
cpu family  : 4
model   : 0
model name  : 486
stepping: unknown
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : no
fpu_exception   : no
cpuid level : -1
wp  : yes
flags   :
bogomips: 98.30
clflush size: 32


-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-



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



Bug#519391: libgcrypt11: SIGILL on _gcry_detect_hw_features

2009-03-12 Thread Piotr Roszatycki
I read the source for kernel 2.6.24 and found that it uses similar
technic for CPUID detection. I've copied to one simple test program
(attached) and I worried why it doesn't work on Vortex correcty:

$ ./cpuid
This CPU has CPUID opcode
Illegal instruction


 Any ideas?  Would anyone be so kind and compare it to the Linux code?

-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-
#include stdio.h

#define __cold			__attribute__((__cold__))
#define __section(S) __attribute__ ((__section__(#S)))
#define __cpuinit__section(.cpuinit.text) __cold

#define X86_EFLAGS_ID   0x0020 /* CPUID detection flag */

typedef unsigned int u32;

/* Standard macro to see if a specific flag is changeable */
static inline int flag_is_changeable_p(u32 flag)
{
u32 f1, f2;

asm(pushfl\n\t
pushfl\n\t
popl %0\n\t
movl %0,%1\n\t
xorl %2,%0\n\t
pushl %0\n\t
popfl\n\t
pushfl\n\t
popl %0\n\t
popfl\n\t
: =r (f1), =r (f2)
: ir (flag));

return ((f1^f2)  flag) != 0;
}

/* Probe for the CPUID instruction */
static int __cpuinit have_cpuid_p(void)
{
return flag_is_changeable_p(X86_EFLAGS_ID);
}

/* Generix CPUID */
static inline void cpuid(unsigned int op, unsigned int *eax, unsigned int *ebx, unsigned int *ecx, unsigned int *edx)
{
__asm__(cpuid
: =a (*eax),
  =b (*ebx),
  =c (*ecx),
  =d (*edx)
: 0 (op), c(0));
}

int main() {
int id0, id1, id2, id3;

printf(This CPU %s CPUID opcode\n, (have_cpuid_p ? has : has not));

/* Get vendor name and crash on Vortex86SX */
cpuid(0x, id0, (int *)id1, (int *)id2, (int *)id3);
}


Bug#586319: evolution-mapi: Wrong encoding for attachments [PATCH]

2010-06-18 Thread Piotr Roszatycki
Package: evolution-mapi
Version: 0.28.3-2
Severity: important
Tags: patch

MAPI plugin shows wrong encoding for mail attachments:

--=-gYymIHc0eSNdpNzzCwnt
Content-Transfer-Encoding: 8bit
Content-Type: text/html; charset=CP28592

should be:

Content-Type: text/html; charset=ISO-8859-2

This bug makes this plugin unusable for non-ASCII and non-UTF-8 mails.

The patch is included.

-- 
.''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
 `-
Translate CP28591 to ISO-8859-2, etc.

diff -Nru evolution-mapi-0.28.3/src/camel/camel-mapi-folder.c evolution-mapi-0.28.3-patch/src/camel/camel-mapi-folder.c
--- evolution-mapi-0.28.3/src/camel/camel-mapi-folder.c	2010-03-01 14:28:12.0 +0100
+++ evolution-mapi-0.28.3-patch/src/camel/camel-mapi-folder.c	2010-06-17 17:23:09.0 +0200
@@ -1509,7 +1509,17 @@
 text/plain : text/html;
 
 		if (item-header.cpid) {
-			if (item-header.cpid == 65001)
+			if (item-header.cpid == 20127)
+buff = g_strdup_printf (%s; charset=\us-ascii\, type);
+			else if (item-header.cpid = 28591  item-header.cpid = 28599)
+buff = g_strdup_printf (%s; charset=\ISO-8859-%d\, type, item-header.cpid % 10);
+			else if (item-header.cpid == 28603)
+buff = g_strdup_printf (%s; charset=\ISO-8859-13\, type);
+			else if (item-header.cpid == 28605)
+buff = g_strdup_printf (%s; charset=\ISO-8859-15\, type);
+			else if (item-header.cpid == 65000)
+buff = g_strdup_printf (%s; charset=\UTF-7\, type);
+			else if (item-header.cpid == 65001)
 buff = g_strdup_printf (%s; charset=\UTF-8\, type);
 			else
 buff = g_strdup_printf (%s; charset=\CP%d\, type, item-header.cpid);


Bug#511296: fakechroot: Fails to find rpl_malloc when called as i386 from amd64

2010-08-14 Thread Piotr Roszatycki
tags 511296 pending
thanks

Applied to git repository. I've dropped AC_FUNC_MALLOC from configure.ac.

Thank you for your bug report.

2009/1/9 Raúl Sánchez rsanch...@infoglobal.es

 Package: fakechroot
 Version: 2.8-1.1
 Severity: important

 Hello:

 I came here when trying to use debirf to create a i386 initrd image from
 amd64.

 debirf is a system that will create diskless, all-in-ram images (kernel and
 initramfs) that boot entirely into ram and leave the user in a fully
 functional
 Debian system. [0]

 It is made up of a series of bash scripts which in turns uses debootstrap,
 fakeroot, fakechroot. Building of cross initramfs images was recently
 added,
 in
 version 0.22 which is not currentl on sid, but can be installed from cmrg
 apt
 repository:
 deb http://cmrg.fifthhorseman.net/debian unstable debirf

 This is a description of my test case:

 mkdir ~/test
 cd ~/test
 tar xvfz /usr/share/doc/debirf/example-profiles/minimal.tgz
 wget
 http://localhost:3142/ftp.de.debian.org/debian/pool/main/l/linux-2.6/linux-
 image-2.6.26-1-486_2.6.26-12_i386.deb
 DEBIRF_ARCH=i386 DEBIRF_MIRROR=
 http://localhost:3142/ftp.de.debian.org/debian
 debirf make -k ~/test/linux-image-2.6.26-1-486_2.6.26-12_i386.deb minimal

 In this case I've specified a local mirror/cacher http://localhost:3142but you
 can connect directly to any other debian mirror.

 Once you do this, it start processing until it stalls with this error:

 W: Failure trying to run: chroot /home/rasasi/Vortex/debirf/rescue/root
 dpkg
 --force-depends
 --install var/cache/apt/archives/base-files_5_i386.deb
 var/cache/apt/archives/base-passwd_3.5.19_i386.deb

 When I inspect the debootstrap log file I have some messages like this(find
 attached the whole log):
 cp: symbol lookup error: /usr/lib32/fakechroot/libfakechroot.so: undefined
 symbol: rpl_malloc

 I'll write shortly an analysis of what I think it's happening and a
 possible
 workaround which is working for me.

 Regards,

 [0] http://cmrg.fifthhorseman.net/wiki/debirf

 -- System Information:
 Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing'), (80, 'unstable')
 Architecture: amd64 (x86_64)

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

 Versions of packages fakechroot depends on:
 ii  libc6 2.7-16 GNU C Library: Shared
 libraries

 fakechroot recommends no packages.

 fakechroot suggests no packages.

 -- no debconf information




-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


Bug#582847: popen function not implemented

2010-08-19 Thread Piotr Roszatycki
tags 582847 pending
thanks

Already applied to git repository with additional test unit.

Thank you.

2010/5/24 Jonathan Conder j...@skurvy.no-ip.org

 Package: fakechroot
 Version: 2.9

 When popen (see the manual page popen(3)) is called inside a fake
 chroot, the shell used is /bin/sh rather than /path/to/root/bin/sh. This
 is on Arch Linux (May 2010), but looking at the source to fakechroot I
 see no reason why it isn't present on Debian as well.

 The project I am working on only discovered this when moving from popen
 to execl, so I don't have a patch or anything, but I thought you should
 be aware of this bug. Thanks.






-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


Bug#548691: fakechroot: getcwd fails to return proper path for relatively-specified roots

2010-08-21 Thread Piotr Roszatycki
tags 548691 pending
thanks

Already applied to github repository with proper test unit.

Thank you very much!

2009/9/28 Jameson Graef Rollins jroll...@finestructure.net

 Package: fakechroot
 Version: 2.9-1
 Severity: normal

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 So we (debirf maintainers) have stumbled upon a strangeness in the
 behavior of getcwd() under fakechroot.  It appears that the path gets
 confused depending on if the chroot root path has been specified as a
 relative path or not:

 servo:/srv/debirf/rescue 0$ fakeroot fakechroot chroot root pwd
 /
 servo:/srv/debirf/rescue 0$ fakeroot fakechroot chroot
 /srv/debirf/rescue/root pwd
 /
 servo:/srv/debirf/rescue 0$ fakeroot fakechroot chroot ./root pwd
 /srv/debirf/rescue/root
 servo:/srv/debirf/rescue 0$

 In the last case, where the root is specified as a relative path to
 the current path, getcwd() in the fakechroot (as called from 'pwd')
 returns a jailbroken path.  This causes problems for some programs,
 most notably apt-get:

 servo:/srv/debirf/rescue 0$ fakeroot fakechroot chroot ./root apt-get
 update
 Get: 1 http://mirrors.kernel.org squeeze Release.gpg [835B]
 Ign http://mirrors.kernel.org squeeze/main Translation-en_US
 Get: 2 http://mirrors.kernel.org squeeze Release [96.5kB]
 Get: 3 http://mirrors.kernel.org squeeze/main Packages/DiffIndex [2,038B]
 Get: 4 http://mirrors.kernel.org squeeze/main 2009-09-28-0316.44.pdiff
 [11.9kB]
 Get: 5 http://mirrors.kernel.org squeeze/main 2009-09-28-0316.44.pdiff
 [11.9kB]
 Get: 6 http://mirrors.kernel.org squeeze/main 2009-09-28-0316.44.pdiff
 [11.9kB]
 Fetched 111kB in 16s (6,603B/s)
 E: Unable to change to /srv/debirf/rescue/root/ - chdir (2: No such file or
 directory)
 servo:/srv/debirf/rescue 100$

 (curiously aptitude does not seem bothered).  I imagine there might be
 an easy fix to this, but more skilled eyes can probably come up with
 one much quicker than I ever could.

 Thanks for the help, and thanks for maintaining an important tool.

 jamie.


-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


Bug#566653: fakechroot: diff for NMU version 2.9-1.1

2010-08-21 Thread Piotr Roszatycki
tags 566653 pending
thanks

Already applied to github repository (patch for scandir) and launchpad
repository (new path for biarch library). Thank you very much.

2010/1/24 Luk Claes l...@debian.org

 Package: fakechroot
 Version: 2.9-1
 Severity: normal
 Tags: patch

 Hi,

 Attached is the diff for my fakechroot 2.9-1.1 NMU which I'll upload
 later today or tomorrow.

 Cheers

 Luk




-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


Bug#588508: bootstrapping Debian within fakechroot fails

2010-08-21 Thread Piotr Roszatycki
tags 588508 pending
thanks

Already fixed in github repository. Additional function utimensat(2) was
added which is required by new cp -dp command.

2010/7/9 Michal Suchanek michal.sucha...@ruk.cuni.cz

 Package: fakechroot
 Version: 2.9-1.1
 Severity: normal

 /scratch $ PATH=${PATH}:/sbin:/usr/sbin fakeroot -s i386.perm
 fakechroot /usr/sbin/debootstrap --variant=fakechroot --arch=i386
 squeeze i386 http://debian.sh.cvut.cz/debian
 I: Retrieving Release
 I: Retrieving Packages
 I: Validating Packages
 W: Failure trying to run: chroot /scratch/i386 dpkg --force-depends
 --install /var/cache/apt/archives/base-files_5.7_i386.deb
 /var/cache/apt/archives/base-passwd_3.5.22_i386.deb


 -- System Information:
 Debian Release: 5.0.5
  APT prefers stable
  APT policy: (900, 'stable'), (700, 'testing'), (500, 'oldstable'), (500,
 'unstable'), (200, 'experimental')
 Architecture: amd64 (x86_64)

 Kernel: Linux 2.6.34-1-amd64 (SMP w/4 CPU cores)
 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored:
 LC_ALL set to en_US.UTF-8)
 Shell: /bin/sh linked to /bin/bash

 Versions of packages fakechroot depends on:
 ii  libc6 2.11.2-2   Embedded GNU C Library: Shared
 lib

 fakechroot recommends no packages.

 fakechroot suggests no packages.

 -- no debconf information





-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


Bug#572111: fakechroot's setuid lib might not be necessary any more

2010-08-21 Thread Piotr Roszatycki
tags 572111 pending
thanks

Indeed the latest Ubuntu and Debian doesn't require fake fakechroot library,
so it will be removed completly from package.
Already applied to the launchpad's fakechroot repository.

Thanks!

2010/5/21 Daniel Kahn Gillmor d...@fifthhorseman.net

 Package: fakechroot
 Severity: normal

 It's possible that the setuid lib supplied by fakechroot is no longer
 needed.  The corresponding arrangement in fakeroot was removed back in
 2007, since it is apparently not needed any more.

 See commit 2ce687e0de6362e57b6144f762d919024dd438ea from Clint
 Adams' fakeroot git repo:
 git://git.debian.org/git/private/schizo/fakeroot.git


 http://git.debian.org/?p=private/schizo/fakeroot.git;a=commit;h=2ce687e0de6362e57b6144f762d919024dd438ea

 hth,

--dkg

 -- System Information:
 Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
 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

 Versions of packages fakechroot depends on:
 ii  libc6 2.10.2-6   Embedded GNU C Library: Shared
 lib

 fakechroot recommends no packages.

 fakechroot suggests no packages.

 -- no debconf information





-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


Bug#532091: fakechroot: example session from manpage doesn't work in 'copy-paste' mode

2010-08-22 Thread Piotr Roszatycki
tags 532091 pending
thanks

I removed savemode.sh from manual page as it is not necessary for setting
chroot environment.

Thanks!

2009/6/6 Javier Barroso javibarr...@gmail.com

 Package: fakechroot
 Version: 2.8-1
 Severity: minor

 Hi,

 In 'man fakechroot' appears in session example section:

 $ fakeroot -i fakechroot.save fakechroot chroot /tmp/sarge /bin/bash
 # cd /
 # sh /usr/share/doc/fakechroot/examples/savemode.sh

 In a recently chroot installed this script doesn't exists and if you
 copy it and exec it didn't find your homedir.

 Thank you very much





-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


Bug#561991: patch for debian bug #561991

2010-08-13 Thread Piotr Roszatycki
tags 561991 pending
thanks

Already applied to git repository with proper test unit.

Thank you very much for fixing that.

2010/7/7 Guido Günther a...@sigxcpu.org

 Hi,
 On Thu, May 20, 2010 at 10:29:44PM -0400, Daniel Kahn Gillmor wrote:
  tags 561991 + patch
  thanks
 
  The attached patch should resolve debian bug 561991 by aligning the
  value stored by fakechrooted lstat() in buf.st_size with the length
  returned by the fakechroot'ed readlink().
 
  This is the resolution option i numbered as 1 in my previous e-mail.
 
  hope this helps,
 Daniel's patch looks good to me. Will this be fixed?
 Cheers,
  -- Guido




-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


Bug#552258: fakechroot: crash on readlink for long target names

2010-08-14 Thread Piotr Roszatycki
tags 552258 pending
thanks

Already applied with additional test unit to git repository.

Thank you for your report.

2009/10/24 Stefaan De Roeck stefaan.dero...@esaturnus.com

 Package: fakechroot
 Version: 2.9-1
 Severity: normal


 when running the following script called crash.sh:

  
 longname=aa
ln -fs $longname dest
fakechroot readlink dest


-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


Bug#635625: fakechroot: FTBFS[adm64]: fatal error: sys/cdefs.h not found

2011-09-23 Thread Piotr Roszatycki
tag 635625 unreproducible
thanks

Can't reproduce this bug. The patch is wrong because BIARCH_LIBDIR means
32-bit libdir for 64-bit arch and 64-bit libdir for 32-bit arch.

BTW, after fixing #632954 the debian/rules will be completely rewritten and
will use multiarch support in debhelper.

2011/7/27 Geert Stappers stapp...@stappers.nl

 Package: fakechroot
 Version: 2.14-1
 Severity: important

 Hello,

 On an amd64 I get from `fakeroot debian/rules binary` this fatal output

 Making all in src
 make[4]: Entering directory
 `/usr/src/fakechroot-2.14/build-tree-lib-biarch/src'
 /bin/sh ../libtool --tag=CC   --mode=compile gcc -m32 -DHAVE_CONFIG_H -I.
 -I../../src -I..-g -Wall -Wno-deprecated-declarations -g -O2 -c -o
 access.lo ../../src/access.c
 libtool: compile:  gcc -m32 -DHAVE_CONFIG_H -I. -I../../src -I.. -g -Wall
 -Wno-deprecated-declarations -g -O2 -c ../../src/access.c  -fPIC -DPIC -o
 .libs/access.o
 In file included from /usr/include/errno.h:29:0,
 from ../../src/libfakechroot.h:21,
 from ../../src/access.c:23:
 /usr/include/features.h:356:25: fatal error: sys/cdefs.h: No such file or
 directory
 compilation terminated.
 make[4]: *** [access.lo] Error 1
 make[4]: Leaving directory
 `/usr/src/fakechroot-2.14/build-tree-lib-biarch/src'
 make[3]: *** [all-recursive] Error 1

 It is a Fails To Build From Source ...


 -- System Information:
 Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
 Architecture: amd64 (x86_64)

 Kernel: Linux 2.6.39-2-amd64 (SMP w/4 CPU cores)
 Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/bash

 Versions of packages fakechroot depends on:
 ii  libc6 2.13-11Embedded GNU C Library: Shared
 lib

 fakechroot recommends no packages.

 Versions of packages fakechroot suggests:
 ii  libc6-i3862.13-11Embedded GNU C Library: 32-bit
 sha

 -- no debconf information

 --
  .''`.Piotr Roszatycki
 : :' :mailto:piotr.roszaty...@gmail.com
 `. `' mailto:dex...@debian.org
   `-
 bsp; `-



Bug#696414: git-buildpackage: new option --symlink-orig-name [PATCH]

2012-12-20 Thread Piotr Roszatycki
Package: git-buildpackage
Version: 0.6.0~git20121124
Severity: wishlist
Tags: patch

I would like to use git-import-orig tools to import upstream tarballs
for non-Debian packages. I missed an option which would allow me to
import tarballs with other naming schema than the default
../%s_%s.orig.tar%s

This is a patch
(https://github.com/dex4er/git-buildpackage/commit/633f809b730e64f485a0f62776e9ccfb6d2f6138)
which implements a new option --symlink-orig-name. It allows me to
import CPAN packages into Git repository (attached cpan-import.sh). I
found a git-buildpackage as a more universal tool.

Thanks!
--
Piotr Roszatycki


symlink-orig-name.diff
Description: Binary data


cpan-import.sh
Description: Bourne shell script


Bug#636192: make fakeroot multiarch

2013-11-27 Thread Piotr Roszatycki
block 694827 by 636192
thanks

As far as fakeroot doesn't support multiarch, this bug for fakechroot
can't be fixed.

fakechroot supported multiarch for long time. I'm wondering why author
of fakeroot can't implement it for a months even if he'd got a proper
patch in this bug report #636192

Regards,

-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


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



Bug#636192: Bug#694827: Bug#636192: make fakeroot multiarch

2013-11-27 Thread Piotr Roszatycki
2013/11/27 Clint Adams cl...@debian.org:
 Running find on every invocation is pretty annoying, but I'll take
 a look shortly.

There is another possibility: use the default dynamic linker feature
and simply add the path to fakeroot library to /etc/ld.so.conf.d so it
should work with empty LD_LIBRARY_PATH

binary_arch:
# ...
echo /usr/lib/$(DEB_HOST_MULTIARCH)/libfakeroot 
debian/libfakeroot/etc/ld.so.conf.d/fakeroot-$(DEB_HOST_MULTIARCH).conf

You can see the difference between fakeroot and fakechroot:

(sid)dexter@sony-vaio-sve1112m1ep:/$ fakeroot env | grep LD | sort
LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot
LD_PRELOAD=libfakeroot-sysv.so

(sid)dexter@sony-vaio-sve1112m1ep:/$ fakechroot env | grep LD | sort
LD_LIBRARY_PATH=
LD_PRELOAD=libfakechroot.so

(sid)dexter@sony-vaio-sve1112m1ep:/$ cat
/etc/ld.so.conf.d/fakechroot-x86_64-linux-gnu.conf
/usr/lib/x86_64-linux-gnu/fakechroot

(sid)dexter@sony-vaio-sve1112m1ep:/$ cat
/etc/ld.so.conf.d/fakechroot-i386-linux-gnu.conf
/usr/lib/i386-linux-gnu/fakechroot

Each architecture adds own ld.so.conf config so dynamic linker can
load proper file by itself.

Regards,
-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


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



Bug#636192: Bug#694827: Bug#636192: make fakeroot multiarch

2013-11-27 Thread Piotr Roszatycki
2013/11/27 Clint Adams cl...@debian.org:
 On Wed, Nov 27, 2013 at 07:08:56PM +0100, Piotr Roszatycki wrote:
 There is another possibility: use the default dynamic linker feature
 and simply add the path to fakeroot library to /etc/ld.so.conf.d so it
 should work with empty LD_LIBRARY_PATH

 Doesn't that defeat the purpose of having a separate directory?
 If so we might as well put libfakeroot into /usr/lib/$triple
 and be done with it.

There is a reason to put it separately. I think it doesn't mess with
gcc because libfakeroot.so or libfakechroot.so are not intended to
linking by compile time.
I'm afraid that such shared library in standard directory would also
violate the Debian Policy because it hadn't proper symlink
(libfakeroot.so.0 or something) and archive file (libfakechroot.a).

-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


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



Bug#650234: Use chroot's ld.so to do loading?

2013-11-27 Thread Piotr Roszatycki
2012/10/24 Jonathan Nieder jrnie...@gmail.com:
 Thanks.  Indeed, ideally fakechroot's execve should look up the
 interpreter filename from the ELF .interp section, map it according to
 the faked chroot, and set argv[0].  The hard part is the ELF parsing.

It doesn't work correctly:

1. The glibc dynamic loader can't change argv[0] to other value than
the file name. It means that some apps are broken, ie. busybox. See
https://sourceware.org/bugzilla/show_bug.cgi?id=16124

2. Using dynamic loader directly from command line is possible but the
loader is less stable and coredumps sometimes.

You can test it already, eg. calling

FAKECHROOT_ELFLOADER=/lib64/ld-linux-x86-64.so.2

from test directory of fakechroot source. You should expect that
debootstrap environment can be created but calling debian/rules or
even ./configure in such environment fails.

Perhaps there is another possibility: to change .interp section for
every binary file in fake chroot environment: off-line or even
on-the-fly. I think about similar to chrpath tool which can change
another ELF section.


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



Bug#730981: fakechroot manual is mainly gibberish

2013-11-30 Thread Piotr Roszatycki
The most current version of fakechroot manual is hosted on github at
https://github.com/dex4er/fakechroot/blob/master/man/fakechroot.pod

Could you look at it? It is slighly reedited but I'd love to release
new version of fakechroot with improved manual.

Thanks,


2013/11/30 Ken Sharp imwellcushtymel...@googlemail.com:
 Package: fakechroot
 Version: 2.16-1
 Severity: normal
 Tags: l10n
 Usertags: manpage

 The English fakechroot manpage is mainly gibberish and needs dramatic
 improvement. Preferably someone with a command of the English language.



-- 
Piotr Roszatycki


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



Bug#730981: fakechroot manual is mainly gibberish

2013-12-01 Thread Piotr Roszatycki
2013/12/1 Ken Sharp imwellcushtymel...@googlemail.com:
 It is a dramatic improvement over the current manual but it still needs
 improvement. Incorrect were straight away. I'll take another look at this
 later but this is definitely a good start.

Ok, I can wait for these fixes before next release.

Thanks


-- 
Piotr Roszatycki


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



Bug#731183: ITP: libplack-app-proxy-perl -- Plack::App::Proxy - middleware-aware proxy application for Plack

2013-12-02 Thread Piotr Roszatycki
Package: wnpp
Severity: wishlist
Owner: Piotr Roszatycki dex...@debian.org

* Package name: libplack-app-proxy-perl
  Version : 0.29
  Upstream Author : Lee Aylward lee...@cpan.org
* URL : https://metacpan.org/release/Plack-App-Proxy
* License : GPL-1+ or Artistic
  Programming Lang: Perl
  Description : Plack::App::Proxy - middleware-aware proxy application for 
Plack

A streaming capable proxy for Plack.

This application is just like a normal PSGI application and is
middleware aware, which means you can modify proxy requests (and
responses) using Plack middleware stack.


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



Bug#731232: ITP: libplack-middleware-cache-perl -- Plack::Middleware::Cache - Plack middleware that cache responses

2013-12-03 Thread Piotr Roszatycki
Package: wnpp
Severity: wishlist
Owner: Piotr Roszatycki dex...@debian.org

* Package name: libplack-middleware-cache-perl
  Version : 0.12
  Upstream Author : Ingy döt Net i...@cpan.org
* URL : https://metacpan.org/release/Plack-Middleware-Cache
* License : Artistic or GPL-1+
  Programming Lang: Perl
  Description : Plack::Middleware::Cache - Plack middleware that cache 
responses

A streaming capable proxy for Plack.

This application is just like a normal PSGI application and is middleware
aware, which means you can modify proxy requests (and responses) using Plack
middleware stack.


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



Bug#731376: ITP: libextutils-typemap-perl -- ExtUtils::Typemap - Read/Write/Modify Perl/XS typemap files

2013-12-04 Thread Piotr Roszatycki
Package: wnpp
Severity: wishlist
Owner: Piotr Roszatycki dex...@debian.org

* Package name: libextutils-typemap-perl
  Version : 1.00
  Upstream Author : Steffen Mueller smuel...@cpan.org
* URL : https://metacpan.org/release/ExtUtils-Typemap
* License : Artistic or GPL-1+
  Programming Lang: Perl
  Description : ExtUtils::Typemap - Read/Write/Modify Perl/XS typemap files

ExtUtils::Typemap exists merely as a compatibility wrapper
around ExtUtils::Typemaps. In a nutshell, ExtUtils::Typemap was renamed to
ExtUtils::Typemaps because the Typemap directory in lib/ could collide with the
typemap file on case-insensitive file systems.

This package is required by Slic3r - G-code generator for 3D printers.


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



Bug#731379: ITP: libio-socket-portstate-perl -- IO::Socket::PortState - checking the status of a port

2013-12-04 Thread Piotr Roszatycki
Package: wnpp
Severity: wishlist
Owner: Piotr Roszatycki dex...@debian.org

* Package name: libio-socket-portstate-perl
  Version : 0.03
  Upstream Author : Daniel Muey dm...@cpan.org
* URL : https://metacpan.org/release/IO-Socket-PortState
* License : Artistic or GPL-1+
  Programming Lang: Perl
  Description : IO::Socket::PortState - checking the status of a port

You can use it to check if a port is open or closed for a given host and
protocol.

This package is required by Slic3r - G-code generator for 3D printers.


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



Bug#728670: ITP: libwx-glcanvas-perl -- Perl interface to wxWidgets' OpenGL canvas

2013-12-04 Thread Piotr Roszatycki
Hi,

What is the status of your package? Will it be uploaded to incoming queue?

This package is required by Slic3r - the software for 3D printers, so
it would be nice to see it in Debian soon.

Thanks,

-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


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



Bug#731376: ITP: libextutils-typemap-perl -- ExtUtils::Typemap - Read/Write/Modify Perl/XS typemap files

2013-12-04 Thread Piotr Roszatycki
2013/12/4 Nicolas Dandrimont ol...@debian.org:
 * Package name: libextutils-typemap-perl
 This package is required by Slic3r - G-code generator for 3D printers.

 Hi,

 Isn't all this already in libextutils-typemaps-default-perl? Slic3r works
 fine with that package.

Slic3r requires both of them: ExtUtils::Typemap and
ExtUtils::Typemaps::Default. At least the latest beta of Slic3er.

git-blame [1] tells it requires ExtUtils::Typemap since 2013-06-23

[1] https://github.com/alexrj/Slic3r/blame/master/xs/Build.PL

-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


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



Bug#731376: ITP: libextutils-typemap-perl -- ExtUtils::Typemap - Read/Write/Modify Perl/XS typemap files

2013-12-05 Thread Piotr Roszatycki
2013/12/5 Nicolas Dandrimont ol...@debian.org:
 Slic3r requires both of them: ExtUtils::Typemap and
 ExtUtils::Typemaps::Default. At least the latest beta of Slic3er.

 I'm not convinced that this dependency is right at all. EU::Typemap is
 never used in the codebase, and I'd expect any potential code generated
 by ParseXS to yield a dependency on EU::Typemap*s*, as it bundles that
 module.

 I think that just dropping the EU::Typemap dependency in Build.PL would
 be fine.

Could you report your patch to upstream, please? It would be nice to
have a possibility to compile the upstream code without additional
patches. Even if Debian package with Slic3r doesn't need the
ExtUtils::Typemap module, the original version still requires it.

-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


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



Bug#731794: FBFTS: AnyEvent fails t/81_hosts.t on system with OpenDNS

2013-12-09 Thread Piotr Roszatycki
Package: libanyevent-perl
Version: 7.050-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

The AnyEvent fails on system which uses OpenDNS (208.67.222.222 208.67.220.220)
in its /etc/resolv.conf.

The result:

#   Failed test 'resolved on first attempt'
#   at t/81_hosts.t line 29.
#  got: '67.215.65.132'
# expected: '127.9.9.9'

#   Failed test 'resolved on second attempt'
#   at t/81_hosts.t line 30.
#  got: '67.215.65.132'
# expected: '127.9.9.9'
# Looks like you failed 2 tests of 2.
t/81_hosts.t ... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests 


The upstream author don't want to disable this test because he belive that
OpenDNS servers don't work properly.

See http://lists.schmorp.de/pipermail/anyevent/2013q4/000535.html

I think it is much safer to disable this test in Debian package.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11.0-14-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages libanyevent-perl depends on:
ii  perl  5.18.1-4

Versions of packages libanyevent-perl recommends:
ii  libasync-interrupt-perl  1.10-1+b1
ii  libev-perl   4.15-1
ii  libguard-perl1.022-1+b2

Versions of packages libanyevent-perl suggests:
ii  libev-perl  4.15-1
pn  libevent-perl   none
pn  libio-async-perlnone
pn  libjson-perl | libjson-xs-perl  none
ii  libnet-ssleay-perl  1.55-1+b2
pn  libpoe-perl none
pn  libtask-weaken-perl none

-- 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#731794: FBFTS: AnyEvent fails t/81_hosts.t on system with OpenDNS

2013-12-11 Thread Piotr Roszatycki
tags 731794 patch
thanks

It seems that upstream fixed this issue with following patch:

diff --git a/t/81_hosts.t b/t/81_hosts.t
index f2e50b6..bf68a25 100644
--- a/t/81_hosts.t
+++ b/t/81_hosts.t
@@ -1,7 +1,7 @@
 use File::Temp qw(tempfile);
 use Test::More tests = 2;

-my $test_host = 'test.invalid.tld';
+my $test_host = 'test.invalid.';
 my $test_addr = '127.9.9.9';

 my ($hosts_fh, $hosts_file) = tempfile UNLINK = 1;

-- 
 .''`.Piotr Roszatycki
: :' :mailto:piotr.roszaty...@gmail.com
`. `' mailto:dex...@debian.org
  `-


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



Bug#505168: fakechroot: libc nameservice calls not properly faked on systems running nscd

2013-11-26 Thread Piotr Roszatycki
reassign 505168 libc6
thanks

The GNU Libc has hardcoded path to nscd socket, so there is no possibility
to use nscd with fakechroot environment.

The Scratchbox2 project provides some patches for Libc:

https://maemo.gitorious.org/scratchbox2/scratchbox2/source/173e4b7081bb5f5965ca90bee037231ab4e88c64:external_patches/glibc-2.10-nscd-socket-location.4.patch

Perhaps libc6 maintaners could accept this patch. If not, there is no other
way to deal with this problem.

Regards,



2008/11/10 Jameson Graef Rollins jroll...@finestructure.net

 Package: fakechroot
 Version: 2.8-1
 Severity: important

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I have found that on systems running nscd, certain (all?) nameservice
 calls are not properly faked when running fakechroot, which can cause
 improper failures in the chrooted environment.  For instance, useradd
 fails in a fakechroot when the host system is running nscd:

 hydra:/scratch/jrollins 0$ PC -eFH | grep [n]scd
 root 28566 1  0 44073  3416   6 Oct30 ?00:01:05
 /usr/sbin/nscd
 hydra:/scratch/jrollins 0$ getent passwd | grep jrollins
 jrollins:x:2000:2000:Jamie Rollins:/home/jrollins:/bin/bash
 hydra:/scratch/jrollins 0$ fakeroot fakechroot chroot testroot
 root@hydra:/# PS1='$? \h:\w\$ '
 0 hydra:/# getent passwd | grep jrollins
 1 hydra:/# useradd jrollins
 useradd: user jrollins exists
 9 hydra:/# exit
 exit
 hydra:/scratch/jrollins 9$

 This is particularly problematic when running debootstrap with the
 fakechroot variant, ie:

 fakeroot fakechroot debootstrap --variant=fakechroot lenny testroot

 Postinst scripts that call useradd to add users that already exist in
 the meta system will fail, causing the debootstrap to fail.  This
 makes the debootstrap fakechroot variant unusable on systems running
 nscd.

 I believe that this bug is somewhat related to 413918 [0], but since
 systems with nscd are still failing with fakechroot 2.8, the problem
 persists.

 I wish I understood this stuff better to be able to speak to what the
 problem could be.  Hopefully smarter people can.

 Thanks much for maintaining fakechroot.

 jamie.

 [0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413918


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

 Kernel: Linux 2.6.26-1-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 fakechroot depends on:
 ii  libc6 2.7-15 GNU C Library: Shared
 libraries

 fakechroot recommends no packages.

 fakechroot suggests no packages.

 - -- no debconf information

  LocalWords:  eFH grep

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)

 iQIcBAEBAgAGBQJJF72WAAoJEO00zqvie6q8aDkQAK2v6fUdb8W6l2TX24I9JjGd
 dNFRMQbJ/U1RkDp2ZBsXqPB1wIiW+InqPLVbHDT4H5oVYXKXs531ZptoPMnDaFK9
 6fP4teAwblHRPhY7asOdjdUEWhuJqcQ0NhMUbDk8S4zyamspltLhwB3gzIxZGI2p
 f2MZjUZXmQ1pwSHNp21Wvo7mWfY/R3Dwxkm0yvUc3rdEeNkZNH8C3wkqfeOcoTtv
 S7K+PLsTxZpyOCqR1DqJHIHljXcScLerkhzVrcRvtn0QbVCk7kFnBxN11Oeo3z12
 i2WAyLuTa/zTouPgfQQfpCtR6ALXrCkzfrlyd7sydTuuIqZLC3HW+pLWJvyaDbUI
 nA4UvkKa4EvE+UgWNZZPRxLQAb58YAjSZsY/3xbELQLQ0Te6G0edCfECH8kLErSw
 JtXoZikdIkzod2dBL2WiAKpZM5UqylPIgxU9gnHrUCMOEnJUbNJSNVkuWVtBfEC5
 j+BzPPYc1HAlhbC9qabtR/xLcwuQZMcZFi3XV8j6IBDPOWmXQI3oWED/PTlmBYEj
 mLrV/joqlOuzPGBvNAZj4t0N4U9Gipua6Rpo4FkTRyHI8Sxi0K52Rf6WKpFVD/tf
 e8MlTw3NkdtN9mJr/KwI9BXCP2Qk1G1hfB/TfVQEv8X2z12S8PHwKW54Ol/eovVw
 51sDGnPZ4UeCvTnHm3nL
 =yDUP
 -END PGP SIGNATURE-





-- 
Piotr Roszatycki


<    1   2   3   4   >