Bug#923024: libteam-utils: teamd can not be run as root

2019-02-22 Thread Arthur Gautier
Package: libteam-utils
Version: 1.26-1
Severity: important

Dear Maintainer,

Teamd reports a message like:
  This program is not intended to be run as root.
When trying to run. Teamd cannot be run as a simple user either because
it needs permissions you don't get as user.

Instead, I believe it must be compiled with `configure 
--with-user=randomuser` so that it may downgrade its permissions.

The commit that introduced it is:
  
https://github.com/jpirko/libteam/commit/a6e7faccf949c1650c4f3da765459a113c454b19

I believe the patch attached fixes the issue. A fix for stretch would
be very much appreciated if possible.

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

Kernel: Linux 4.18.5+ (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: default

Versions of packages libteam-utils depends on:
ii  libc6 2.28-7
ii  libdaemon00.14-7
ii  libdbus-1-3   1.12.12-1
ii  libjansson4   2.12-1
pn  libteam5  
ii  libteamdctl0  1.28-1

libteam-utils recommends no packages.

libteam-utils suggests no packages.
diff -Nur a/debian/control b/debian/control
--- a/debian/control2016-08-27 12:18:08.0 +
+++ b/debian/control2019-02-23 04:36:47.336504690 +
@@ -11,6 +11,7 @@
   ,libnl-genl-3-dev
   ,libnl-route-3-dev (>= 3.2.19)
   ,pkg-config
+  ,libcap-dev
 Standards-Version: 3.9.8
 Homepage: http://libteam.org
 Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/libteam.git
@@ -90,7 +91,7 @@
 
 Package: libteam-utils
 Architecture: linux-any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: adduser, ${shlibs:Depends}, ${misc:Depends}
 # if-pre-up, if-post-down:
 #,jq
 Recommends:
diff -Nur a/debian/libteam-utils.postinst b/debian/libteam-utils.postinst
--- a/debian/libteam-utils.postinst 1970-01-01 00:00:00.0 +
+++ b/debian/libteam-utils.postinst 2019-02-23 04:31:34.820251196 +
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+configure|reconfigure)
+adduser --system --disabled-password --disabled-login --home 
/var/run/teamd \
+   --no-create-home --quiet --force-badname --group _teamd
+;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff -Nur a/debian/libteam-utils.postrm b/debian/libteam-utils.postrm
--- a/debian/libteam-utils.postrm   1970-01-01 00:00:00.0 +
+++ b/debian/libteam-utils.postrm   2019-02-23 06:35:52.419126722 +
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+case "$1" in
+purge)
+rm -rf /var/run/teamd
+;;
+*)
+;;
+esac
+
+exit 0
diff -Nur a/debian/rules b/debian/rules
--- a/debian/rules  2013-12-04 17:21:55.0 +
+++ b/debian/rules  2019-02-23 04:29:37.496156030 +
@@ -11,7 +11,9 @@
#./autogen.sh
dh_auto_configure -- \
   --disable-silent-rules \
-  --enable-static=no
+  --enable-static=no \
+  --with-user=_teamd \
+  --with-group=_teamd \
 
 override_dh_auto_install:
dh_auto_install --destdir=$(CURDIR)/debian/tmp


Bug#883007: [Pkg-mutt-maintainers] Bug#883007: neomutt: sendmail configuration

2017-11-28 Thread Arthur Gautier
On Tue, Nov 28, 2017 at 07:03:06PM +0100, Elimar Riesebieter wrote:
> * Arthur Gautier <ba...@gandi.net> [2017-11-28 17:21 +]:
> 
> > Package: neomutt
> > Version: 20171027+dfsg.1-1
> > Severity: normal
> > 
> > Dear Maintainer,
> > 
> > The default neomutt configuration differs from mutt.
> > 
> > $ neomutt -D | grep sendmail
> > sendmail="false -oem -oi"
> > sendmail_wait=0
> 
> This I can't reproduce. The default after a fresh install should be
> 
>   sendmail="/usr/sbin/sendmail -oem -oi"
> 
> According to the manual see [0]
> 
> [0] https://www.neomutt.org/guide/reference.html#sendmail
> 

I agree with you this should be the default, to ensure nothing
was wrong I my environment, I tried with an (almost) clean one
(via docker):

$ docker run -it debian:sid bash
root@64f3cca9966e:/# apt update
Get:1 http://cdn-fastly.deb.debian.org/debian sid InRelease [234 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian sid/main amd64 Packages [10.5 MB]
Fetched 10.7 MB in 2s (4355 kB/s)   
Reading package lists... Done
Building dependency tree... Done
101 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@64f3cca9966e:/# apt install neomutt
Reading package lists... Done
Building dependency tree... Done
The following additional packages will be installed:
  bzip2 dirmngr file gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client 
gpg-wks-server gpgconf gpgsm gpgv krb5-locales libassuan0 libbz2-1.0 libc-bin 
libc-l10n libc6 libffi6 libgcrypt20 libglib2.0-0 libglib2.0-data libgmime-3.0-0 
libgmp10 libgnutls30 libgpg-error0
  libgpgme11 libgssapi-krb5-2 libhogweed4 libicu57 libidn11 libidn2-0 
libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libksba8 libldap-2.4-2 
libldap-common liblua5.3-0 liblzma5 libmagic-mgc libmagic1 libnettle6 
libnotmuch5 libnpth0 libp11-kit0 libreadline7 libsasl2-2
  libsasl2-modules libsasl2-modules-db libsqlite3-0 libssl1.1 libtalloc2 
libtasn1-6 libtokyocabinet9 libunistring2 libxapian30 libxml2 locales 
mime-support pinentry-curses shared-mime-info xdg-user-dirs xz-utils
Suggested packages:
  bzip2-doc dbus-user-session libpam-systemd pinentry-gnome3 tor parcimonie 
xloadimage scdaemon glibc-doc rng-tools gnutls-bin krb5-doc krb5-user 
libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal 
libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql
  xapian-tools default-mta | mail-transport-agent urlview aspell | ispell 
mixmaster openssl ca-certificates pinentry-doc
Recommended packages:
  manpages
The following NEW packages will be installed:
  bzip2 dirmngr file gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client 
gpg-wks-server gpgconf gpgsm krb5-locales libassuan0 libc-l10n libffi6 
libglib2.0-0 libglib2.0-data libgmime-3.0-0 libgmp10 libgnutls30 libgpgme11 
libgssapi-krb5-2 libhogweed4 libicu57 libidn11
  libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libksba8 
libldap-2.4-2 libldap-common liblua5.3-0 libmagic-mgc libmagic1 libnettle6 
libnotmuch5 libnpth0 libp11-kit0 libreadline7 libsasl2-2 libsasl2-modules 
libsasl2-modules-db libsqlite3-0 libssl1.1
  libtalloc2 libtasn1-6 libtokyocabinet9 libunistring2 libxapian30 libxml2 
locales mime-support neomutt pinentry-curses shared-mime-info xdg-user-dirs 
xz-utils
The following packages will be upgraded:
  gnupg gpgv libbz2-1.0 libc-bin libc6 libgcrypt20 libgpg-error0 liblzma5
8 upgraded, 59 newly installed, 0 to remove and 93 not upgraded.
Need to get 40.5 MB of archives.
After this operation, 111 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://cdn-fastly.deb.debian.org/debian sid/main amd64 libc6 amd64 2.25-2 
[2727 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian sid/main amd64 libc-bin amd64 
2.25-2 [788 kB]
Get:3 http://cdn-fastly.deb.debian.org/debian sid/main amd64 liblzma5 amd64 
5.2.2-1.3 [234 kB]
Get:4 http://cdn-fastly.deb.debian.org/debian sid/main amd64 libgpg-error0 
amd64 1.27-5 [115 kB]
Get:5 http://cdn-fastly.deb.debian.org/debian sid/main amd64 libassuan0 amd64 
2.4.4-1 [46.6 kB]
Get:6 http://cdn-fastly.deb.debian.org/debian sid/main amd64 libgcrypt20 amd64 
1.8.1-4 [550 kB]
Get:7 http://cdn-fastly.deb.debian.org/debian sid/main amd64 libreadline7 amd64 
7.0-3 [151 kB]
Get:8 http://cdn-fastly.deb.debian.org/debian sid/main amd64 libgmp10 amd64 
2:6.1.2+dfsg-1.1 [254 kB]
Get:9 http://cdn-fastly.deb.debian.org/debian sid/main amd64 libnettle6 amd64 
3.3-2 [191 kB]
Get:10 http://cdn-fastly.deb.debian.org/debian sid/main amd64 libhogweed4 amd64 
3.3-2 [136 kB]
Get:11 http://cdn-fastly.deb.debian.org/debian sid/main amd64 libunistring2 
amd64 0.9.7-2 [377 kB]
Get:12 http://cdn-fastly.deb.debian.org/debian sid/main amd64 libidn2-0 amd64 
2.0.4-1.1 [61.4 kB]
Get:13 http://cdn-fastly.deb.debian.org/debian sid/main amd64 libffi6 amd64 
3.2.1-6 [20.4 kB]
Get:14 http://cdn-fastly.deb.debian.org/debian sid/m

Bug#883007: neomutt: sendmail configuration

2017-11-28 Thread Arthur Gautier
Package: neomutt
Version: 20171027+dfsg.1-1
Severity: normal

Dear Maintainer,

The default neomutt configuration differs from mutt.

$ neomutt -D | grep sendmail
sendmail="false -oem -oi"
sendmail_wait=0

$ mutt -D | grep sendmail
sendmail="/usr/sbin/sendmail -oem -oi"
sendmail_wait=0

This makes it impossible to send mail by default without fixing this
configuration manually in the user's configuration.

The fix is quite simple:
set "/usr/sbin/sendmail -oem -oi"
in .muttrc

-- Package-specific info:
NeoMutt 20171027
Copyright (C) 1996-2016 Michael R. Elkins and others.
NeoMutt comes with ABSOLUTELY NO WARRANTY; for details type `neomutt -vv'.
NeoMutt is free software, and you are welcome to redistribute it
under certain conditions; type `neomutt -vv' for details.

System: Linux 4.13.4 (x86_64)
ncurses: ncurses 6.0.20170902 (compiled with 6.0)
libidn: 1.33 (compiled with 1.33)
hcache backends: tokyocabinet

Compiler:
Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 7.2.0-16' 
--with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs 
--enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr 
--with-gcc-major-version-only --program-suffix=-7 
--program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id 
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-libstdcxx-time=yes 
--with-default-libstdcxx-abi=new --enable-gnu-unique-object 
--disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie 
--with-system-zlib --with-target-system-zlib --enable-objc-gc=auto 
--enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic 
--enable-offload-targets=nvptx-none --without-cuda-driver 
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-g
 nu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.2.0 (Debian 7.2.0-16) 

Configure options: --with-mailpath=/var/mail --logging --enable-fcntl --gpgme 
--lua --notmuch --with-ui --gnutls --gss --idn --mixmaster --sasl --tokyocabinet

Compilation CFLAGS: -g -O2 
-fdebug-prefix-map=/build/neomutt-cdiECR/neomutt-20171027+dfsg.1=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c99 
-D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -I/usr/include 
-I/usr/include/lua5.3  -isystem /usr/include/mit-krb5

Default options:
  +attach_headers_color +compose_to_sender +compress +cond_date 
  +encrypt_to_self +forgotten_attachments +forwref +ifdef +imap +index_color 
  +initials +limit_current_thread +multiple_fcc +nested_if +new_mail +nntp +pop 
  +progress +quasi_delete +regcomp +reply_with_xorig +sensible_browser +sidebar 
  +skip_quoted +smtp +status_color +timeout +tls_sni +trash 

Compile options:
  +bkgdset +color +curs_set +debug +fcntl -flock -fmemopen +futimens 
  +getaddrinfo +gnutls +gpgme +gss +hcache -homespool +idn -locales_hack +lua 
  +meta +mixmaster +nls +notmuch -openssl +pgp +resizeterm +sasl +smime 
  +start_color +sun_attachment +typeahead 
MAILPATH="/var/mail"
MIXMASTER="mixmaster"
PKGDATADIR="/usr/share/neomutt"
SENDMAIL="false"
SYSCONFDIR="/etc"

To learn more about NeoMutt, visit: http://www.neomutt.org/
If you find a bug in NeoMutt, please raise an issue at:
https://github.com/neomutt/neomutt/issues
or send an email to: 


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

Kernel: Linux 4.13.4 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages neomutt depends on:
ii  libc6 2.25-1
ii  libcomerr21.43.7-1
ii  libgnutls30   3.5.16-1
ii  libgpgme111.9.0-6
ii  libgssapi-krb5-2  1.15.2-2
ii  libidn11  1.33-2
ii  libk5crypto3  1.15.2-2
ii  libkrb5-3 1.15.2-2
ii  liblua5.3-0   5.3.3-1
ii  libncursesw5  6.0+20170902-1
ii  libnotmuch5   0.25.2-1
ii  libsasl2-22.1.27~101-g0780600+dfsg-3
ii  libtinfo5 6.0+20170902-1
ii  libtokyocabinet9  1.4.48-11+b1

Versions of packages neomutt recommends:
ii  libsasl2-modules  2.1.27~101-g0780600+dfsg-3
ii  locales   2.25-1
ii  mime-support  3.60

Versions of packages neomutt suggests:
ii  ca-certificates 20170717
ii  gnupg   2.2.2-1
ii  ispell  3.4.00-6
pn  mixmaster   
ii  openssl 1.1.0g-2
ii  postfix [mail-transport-agent]  3.2.3-1
pn  urlview

Bug#859152: libsystemd-dev: Dependency error, lib-dev should not depend on systemd

2017-03-30 Thread Arthur Gautier
Package: libsystemd-dev
Version: 232-22
Severity: normal

Dear maintainer,

One should be able to install libsystemd and libsystemd-dev without having
systemd.

When using a build machine with sysvinit instead of systemd, we can't build
packages depending on libsystemd-dev without installing first systemd.

libsystemd-dev is only headers for the library and should not depend
on the binary itself. I believe this is an error. Would it be possible
to avoid such dependency?

I believe it to be caused by files shipped with libsystemd-dev in the
/usr/lib/x86_64-linux-gnu/systemd/tests/ directory, some of them depends on
libsystemd-shared.so which is shipped by systemd package.

A patch like:
diff --git a/debian/rules b/debian/rules
index aabe69e13401e..f1b76684cc765 100755
--- a/debian/rules
+++ b/debian/rules
@@ -324,6 +324,7 @@ override_dh_installinit:
 # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753589
 override_dh_shlibdeps:
dh_shlibdeps -psystemd -- -dPre-Depends -edebian/systemd/bin/systemctl 
-dDepends
+   dh_shlibdeps -plibsystemd-dev -Xtests
dh_shlibdeps --remaining-packages -Lsystemd
 
 override_dh_makeshlibs:

Would ignore the directory from being scanned by dh_shlibdeps.
One would not be able to launch tests without systemd, I'm
not sure this is okay or not.

Let me know what you think,

Thank you,

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

Kernel: Linux 4.10.0 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)



Bug#845383: connman: libxtables11 vs. libxtables12

2016-11-28 Thread Arthur Gautier
Hi,

I just rebuilt a package with sbuild and this bumped the
dependency from libxtables11 to libxtables12.

It's also appears the package is missing a dependency on iptables
connmand won't start without xtables/libxt_standard.so which is
provided by iptables.

-- 
\o/ Arthur
 G  Gandi.net



Bug#841420: Patch to allow build

2016-10-31 Thread Arthur Gautier
On Sun, Oct 30, 2016 at 01:32:14AM -0300, Raymond Burkholder wrote:
> Step 1:
> 
> scripts/config --disable CC_STACKPROTECTOR_STRONG

This cannot be a serious step.

The original commit message and message on LKML:
http://lkml.iu.edu/hypermail/linux/kernel/1312.2/03960.html

This is a step forward security, we can not just disable it on
production systems.



-- 
\o/ Arthur
 G  Gandi.net



Bug#841420: --enable-default-pie breaks kernel builds

2016-10-21 Thread Arthur Gautier
On Fri, Oct 21, 2016 at 08:07:03AM -0500, S. R. Wright wrote:
> As the kernel is the most important code gcc is ever likely to compile on
> debian or any other distro for that matter,  this change should be backed
> out,  and not reintroduced UNTIL the *official* kernel source is ready for
> it.

I agree with this, I would also recommend to wait for patchs to hit
the LTS releases of the kernel (4.4, 4.1). As those are used on
production systems.

I also tried the patched mentioned earlier without luck:
diff --git a/Makefile b/Makefile
index 0f9cb36d45c2c..b95a6774e4600 100644
--- a/Makefile
+++ b/Makefile
@@ -341,8 +341,8 @@ include scripts/Kbuild.include
 
 # Make variables (CC, etc...)
 AS = $(CROSS_COMPILE)as
-LD = $(CROSS_COMPILE)ld
-CC = $(CROSS_COMPILE)gcc
+LD = $(CROSS_COMPILE)ld -no-pie
+CC = $(CROSS_COMPILE)gcc -no-pie
 CPP= $(CC) -E
 AR = $(CROSS_COMPILE)ar
 NM = $(CROSS_COMPILE)nm

This does not work with gcc 6.2.0-7 on my environment.

For now I've rollbacked to 6.2.0-6 which works as expected:
$ cat /etc/apt/preferences.d/02_broken_kernel_builds
Package: gcc-6-base
Pin: version 6.2.0-7
Pin-Priority: -10


-- 
\o/ Arthur
 G  Gandi.net



Bug#833182: xserver-xorg-core regression on Intel HD Graphics: drmSetMaster(): Permission denied

2016-08-23 Thread Arthur Gautier
I hit the very same bug, I believe it has something to do with an extra
trailing / here (shown in strace):

[pid 12372] stat("/usr/lib/xorg/modules/drivers/intel_drv.so/", 0x7ffe8ae03470) 
= -1 ENOTDIR (Not a directory)
[pid 12372] stat("/usr/lib/xorg/modules/drivers/modesetting_drv.so/", 
0x7ffe8ae03470) = -1 ENOTDIR (Not a directory)

pid 12372 is /usr/lib/xorg/Xorg

-- 
\o/ Arthur
 G  Gandi.net



Bug#823456: dnspython: python3 branch dropped, python2/3 compatible codebase

2016-05-04 Thread Arthur Gautier
Source: dnspython
Version: 1.12
Severity: normal

Dear Maintainers,

Just a gentle notification to let you know that
https://github.com/rthalley/dnspython/pull/148 has been merged upstream
and you could most probably drop source package dnspython3 to make a
python2/python3 build from the same source.

Bob is currently preparing 1.13 release for that, see
https://github.com/rthalley/dnspython/commit/9d9c9f520d4d15a8c2759dbeabad15e4dec9043e

Thanks!

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

Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)



Bug#820008: fixed in linux 4.5.1-1

2016-04-19 Thread Arthur Gautier
On Tue, Apr 19, 2016 at 10:48:51PM +0100, Ben Hutchings wrote:
> On Tue, 2016-04-19 at 19:15 +0000, Arthur Gautier wrote:
> > On Thu, 14 Apr 2016 15:00:55 + Ben Hutchings wrote:
> > > 
> > > Source: linux
> > > Source-Version: 4.5.1-1
> > > 
> > > We believe that the bug you reported is fixed in the latest version of
> > > linux, which is due to be installed in the Debian FTP archive.
> > > 
> > Hello,
> > 
> > As far as I tested, I believe the bug is incorrectly fixed. The modules
> > are not signed and fails to load with secureboot. insmod fails to load 
> > modules with "required key not available" error message.
> 
> You have to install the corresponding linux-modules-*-signed package
> from experimental, and my modified version of kmod from
> people.debian.org.  Full instructions will be on planet.debian.org
> soon.
> 

Hello Ben,
I can confirm this is working as expected. I haven't seen the
linux-signed package. Sorry for the noise.

Thanks!

-- 
\o/ Arthur
 G  Gandi.net



Bug#820008: fixed in linux 4.5.1-1

2016-04-19 Thread Arthur Gautier
On Thu, 14 Apr 2016 15:00:55 + Ben Hutchings wrote:
> Source: linux
> Source-Version: 4.5.1-1
>
> We believe that the bug you reported is fixed in the latest version of
> linux, which is due to be installed in the Debian FTP archive.
>

Hello,

As far as I tested, I believe the bug is incorrectly fixed. The modules
are not signed and fails to load with secureboot. insmod fails to load 
modules with "required key not available" error message.

# hexdump -C /lib/modules/4.5.0-1-amd64//kernel/drivers/ata/ahci.ko | tail
00011560  00 00 00 00 00 00 00 00  01 00 00 00 02 00 00 00  ||
00011570  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ||
00011580  60 ad 00 00 00 00 00 00  d8 27 00 00 00 00 00 00  |`'..|
00011590  1d 00 00 00 59 01 00 00  08 00 00 00 00 00 00 00  |Y...|
000115a0  18 00 00 00 00 00 00 00  09 00 00 00 03 00 00 00  ||
000115b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ||
000115c0  38 d5 00 00 00 00 00 00  7b 1f 00 00 00 00 00 00  |8...{...|
000115d0  00 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  ||

This should read a signature like:
# hexdump -C /lib/modules/4.6.0-rc4/kernel/drivers/ata/ahci.ko | tail
000118c0  1b 82 ea 02 4a d3 0d a7  00 8d 3e ab 7a f0 b2 0b  |J.>.z...|
000118d0  00 48 0d 2d 0e f4 af fb  6d 36 2d 48 c7 8e ec fa  |.H.-m6-H|
000118e0  f2 62 49 18 84 a8 4e d3  79 9d 86 01 44 27 ad c0  |.bI...N.y...D'..|
000118f0  66 24 fc eb bb 6f de 1f  df b1 79 70 a8 22 35 2e  |f$...oyp."5.|
00011900  bf a1 03 5f 1e 71 0f 03  8b d7 b1 3a 33 60 b1 61  |..._.q.:3`.a|
00011910  81 c3 1a d3 e5 17 13 3c  86 71 74 23 d8 9b c2 6f  |...<.qt#...o|
00011920  f6 1d 00 00 02 00 00 00  00 00 00 00 02 82 7e 4d  |..~M|
00011930  6f 64 75 6c 65 20 73 69  67 6e 61 74 75 72 65 20  |odule signature |
00011940  61 70 70 65 6e 64 65 64  7e 0a|appended~.|

This may be cause by two reasons:
 1/ required config is missing (CONFIG_MODULE_SIG_KEY)
I believe this settings should point to a file containing both
private key and public key in PEM format.

 2/ modules get stripped
from https://www.kernel.org/doc/Documentation/module-signing.txt

SIGNED MODULES AND STRIPPING


A signed module has a digital signature simply appended at the end.  The 
string
"~Module signature appended~." at the end of the module's file confirms 
that a
signature is present but it does not confirm that the signature is valid!

Signed modules are BRITTLE as the signature is outside of the defined ELF
container.  Thus they MAY NOT be stripped once the signature is computed and
attached.  Note the entire module is the signed payload, including any and 
all
debug information present at the time of signing.

-- 
\o/ Arthur
 G  Gandi.net



Bug#794049: udhcpc: option domain with dns labels starting by numbers

2015-07-29 Thread Arthur Gautier
Package: busybox
Version: 1:1.22.0-15
Severity: normal
Tags: d-i patch

Dear Maintainer,

When running udhcpc with option domain-name like 0x1.net, the udhcpc
fails to parse it and replace it with bad. The fix has been applied
upstream:
http://git.busybox.net/busybox/commit/?id=c29021e2a594fb29471c8c7e61ab8f45296622ba

Would it be possible to apply this patch in debian/patches?

Thanks!

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

Kernel: Linux 4.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages busybox depends on:
ii  libc6  2.19-18

busybox recommends no packages.

busybox suggests no packages.

-- no debconf information


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



Bug#789475: udhcpc: valid rfc1123 hostname recognized as bad

2015-07-29 Thread Arthur Gautier
On Sun, 21 Jun 2015 19:55:50 +0200 (CEST) Bodo Eggert 7egg...@online.de wrote:
 On Sun, 21 Jun 2015, Geert Stappers wrote:
  Control: tag -1 moreinfo
  On Sun, Jun 21, 2015 at 02:14:17PM +0200, Bodo Eggert wrote:
 
   The valid hostname 52-54-0-12-34-56 is recognized as bad
   while it should be valid according to rfc1123 (Section 2.1).
  
  What programma and/or device did recognize 52-54-0-12-34-56 as bad?
 
 udhcpc, which is part of busybox
 
  How was the error encountered?  Any error messages?
 
 The debian installer will use the hostname bad, because that's what it's 
 told by udhcpc.
 
  Please elaborate what the reason for this bugreport is.
 
 busybox/udhcpc should recognize this hostname as being valid since it 
 conforms to current network standards (I cheked it). The old standard did 
 disallow a number in the first character.
 
   Capture of the DHCP reply:
   be1.lrz.bootps  192.168.7.107.bootpc: BOOTP/DHCP, Reply, length 300, 
   xid 0x4cc35164, Flags [none]
 Vendor-rfc1048 Extensions
   DHCP-Message Option 53, length 1: ACK
   Hostname Option 12, length 16: 52-54-0-12-34-56
  
  That is content from a network packet sent by a DHCP server,
  which might be configured for providing such hostname.
 
 Yes, that's my dhcp server. I figured knowing the DHCP reply might help.
 
 

Hello,

I believe the fix is available upstream in the patch I reference in the
following bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=794049

I'm not sure this is a duplicate bug of this one, I didn't try with a
hostname.

-- 
\o/ Arthur
 G  Gandi.net


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



Bug#793942: rootskel: Support `hostname -f` command when unavailable in dns

2015-07-29 Thread Arthur Gautier
Package: rootskel
Severity: normal
Tags: d-i patch

Dear Maintainer,

When running d-i in a dhcp environment and when fqdn is only provided
with dhcp and not available dns, udhcpc will drop the domainname in
/etc/hosts like:
 127.0.1.1 hostname.acme.com hostname

But `hostname -d` will never read this file because the nsswitch.conf is
incorrectly configured (will only query dns by default). A patch is
provided to fix this.

Thanks!

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

Kernel: Linux 4.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
--- a/src/etc/nsswitch.conf
+++ b/src/etc/nsswitch.conf
@@ -1,3 +1,4 @@
 passwd: files
 group: files
 shadow: files
+hosts: files dns


Bug#729860: nginx: Allow nginx and nginx-extras to be installed at the same time

2013-11-18 Thread Arthur Gautier
Package: nginx
Version: 1.4.1-3
Severity: wishlist

Dear Maintainer,

I am wondering why the package nginx only depends on nginx-full |
nginx-light. This choice make impossible to install nginx and
nginx-extras (for automation purpose).

I would like to be able to `apt-get install nginx nginx-extras`. Would
it be acceptable to add:
  Depends: nginx-full | nginx-light | nginx-extras | nginx-naxsi |nginx-naxsi-ui

Thanks !

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

Kernel: Linux 3.9-1-amd64 (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 nginx depends on:
ii  nginx-full  1.4.1-3+b1

nginx recommends no packages.

nginx suggests no packages.

-- debconf-show failed


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



Bug#692578: RFA: shinken

2012-11-07 Thread Arthur Gautier
On Wed, Nov 07, 2012 at 05:19:07PM +, Bart Martens wrote:
 Hi Sylvestre,
 
 If the package is no longer maintained, shouldn't this bug be an O-bug instead
 of an RFA-bug ?  I don't object against removing it, but maybe Vincent and
 Raphael in cc are interested to keep it in Debian.


Actually, the current version of shinken in debian is the last one which
doesn't depend strongly on pyro4 which is itself not in debian.

Some updated work is available in the git repository for updated
version. See:
https://github.com/baloo/shinken/tree/debian/1.0-x

Packaging code available there is reported to work with updated pyro.

 
 Regards,
 
 Bart Martens
 

-- 
Arthur Gautier


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



Bug#645831: shinken-core: auto-discovery fails because nmap_discovery_runner.py is not searched at the right place

2011-10-24 Thread Arthur Gautier
On Tue, Oct 18, 2011 at 10:10:15PM +, Raphael Enrici wrote:
 Package: shinken-core
 Version: 0.6.5-2
 Severity: normal
 
 Hi,
 
 while running shinken-discovery -o /etc/shinken/objects/discovery -r nmap
 after a fresh install of shinken packages, the discovery fails with the
 following message:
 Debug : Error in launching command: 
 /usr/lib64/nagios/plugins/nmap_discovery_runner.py -t localhost 
 172.16.40.0/24 [Errno 2] No such file or directory False
 
 I rechecked and the nmap_discovery_runner.py is installed in
 /usr/lib/shinken/plugins
 and the debian/config-files/etc/shinken/commands.cfg refers to $USER1$
 defined in debian/config-gile/etc/shinken/resource.cfg which points to
 /usr/lib64/nagios/plugins/.
 
 The problem can be solved by adding a $USERSHINKEN1$ variable to resource.cfg
 and modifying commands.cfg so that shinken specific plugins use this variable.
 (I'm not sure this is the right way to fix that...Maybe shinken should install
 files in the another location?)
 
 Attached is a patch that should fix this and make the autodiscovery work after
 a fresh install of the package.
 
 Please note that I also modified calls to the check.sh and check_dummy.sh as 
 they
 are installed by shinken. I did not test these particular ones, feel free to 
 ignore
 this part of the patch if you feel like it's stupid.
 
 Regards,
 Rapha??l
 

Hi, i've been working on a refactoring of packaging this weekend (change
of owner, and other things). It's not complete yet, but your bug is fixed in
this version, thanks for the bug report.

I'll be shipping an updated version of the package as soon as possible.


-- 
Arthur Gautier



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



Bug#642297: shinken-arbiter: fails removal

2011-09-22 Thread Arthur Gautier
On Wed, Sep 21, 2011 at 11:52:49AM +0200, Tshepang Lekhonkhobe wrote:
 Package: shinken-arbiter
 Version: 0.6.5-1
 Severity: serious
 Justification: Policy 6.8.7
 
 Here's what I got when I tried purging shinken-arbiter:
 
 Reading package lists... Done
 Building dependency tree   
 Reading state information... Done
 The following packages will be REMOVED:
   shinken-arbiter* shinken-broker* shinken-poller* shinken-reactionner* 
 shinken-receiver* shinken-scheduler*
 0 upgraded, 0 newly installed, 6 to remove and 1 not upgraded.
 After this operation, 2,154 kB disk space will be freed.
 Do you want to continue [Y/n]? 
 (Reading database ... 185107 files and directories currently installed.)
 Removing shinken-arbiter ...
 Stopping arbiter
 Couldn't get status of arbiter : arbiter NOT RUNNING (pidfile 
 (/var/run/shinken/arbiterd.pid) not exist) ... failed!
  failed!
 invoke-rc.d: initscript shinken-arbiter, action stop failed.
 dpkg: error processing shinken-arbiter (--purge):
  subprocess installed pre-removal script returned error exit status 3
 configured to not write apport reports
   
 /var/lib/dpkg/info/shinken-arbiter.postinst: undocumented call to `postinst 
 abort-remove'
 Removing shinken-broker ...
 Stopping broker
 Couldn't get status of broker : broker NOT RUNNING (pidfile 
 (/var/run/shinken/brokerd.pid) not exist) ... failed!
  failed!
 invoke-rc.d: initscript shinken-broker, action stop failed.
 dpkg: error processing shinken-broker (--purge):
  subprocess installed pre-removal script returned error exit status 3
 configured to not write apport reports
   
 /var/lib/dpkg/info/shinken-broker.postinst: undocumented call to `postinst 
 abort-remove'
 Removing shinken-poller ...
 Stopping poller
 Couldn't get status of poller : poller NOT RUNNING (pidfile 
 (/var/run/shinken/pollerd.pid) not exist) ... failed!
  failed!
 invoke-rc.d: initscript shinken-poller, action stop failed.
 dpkg: error processing shinken-poller (--purge):
  subprocess installed pre-removal script returned error exit status 3
 configured to not write apport reports
   
 /var/lib/dpkg/info/shinken-poller.postinst: undocumented call to `postinst 
 abort-remove'
 Removing shinken-reactionner ...
 Stopping reactionner
 Couldn't get status of reactionner : reactionner NOT RUNNING (pidfile 
 (/var/run/shinken/reactionnerd.pid) not exist) ... failed!
  failed!
 invoke-rc.d: initscript shinken-reactionner, action stop failed.
 dpkg: error processing shinken-reactionner (--purge):
  subprocess installed pre-removal script returned error exit status 3
 configured to not write apport reports
   
 /var/lib/dpkg/info/shinken-reactionner.postinst: undocumented call to 
 `postinst abort-remove'
 Removing shinken-receiver ...
 Stopping receiver
 Couldn't get status of receiver : receiver NOT RUNNING (pidfile 
 (/var/run/shinken/receiverd.pid) not exist) ... failed!
  failed!
 invoke-rc.d: initscript shinken-receiver, action stop failed.
 dpkg: error processing shinken-receiver (--purge):
  subprocess installed pre-removal script returned error exit status 3
 configured to not write apport reports
   
 /var/lib/dpkg/info/shinken-receiver.postinst: undocumented call to `postinst 
 abort-remove'
 Removing shinken-scheduler ...
 Stopping scheduler
 Couldn't get status of scheduler : scheduler NOT RUNNING (pidfile 
 (/var/run/shinken/schedulerd.pid) not exist) ... failed!
  failed!
 invoke-rc.d: initscript shinken-scheduler, action stop failed.
 dpkg: error processing shinken-scheduler (--purge):
  subprocess installed pre-removal script returned error exit status 3
 configured to not write apport reports
   
 /var/lib/dpkg/info/shinken-scheduler.postinst: undocumented call to `postinst 
 abort-remove'
 Errors were encountered while processing:
  shinken-arbiter
  shinken-broker
  shinken-poller
  shinken-reactionner
  shinken-receiver
  shinken-scheduler
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 
 
 -- System Information:
 Debian Release: wheezy/sid
   APT prefers unstable
   APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
 'experimental')
 Architecture: i386 (i686)
 
 Kernel: Linux 3.0.0-1-686-pae (SMP w/4 CPU cores)
 Locale: LANG=en_ZA.utf8, LC_CTYPE=en_ZA.utf8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/dash
 
 Versions of packages shinken-arbiter depends on:
 ii  python2.6.7-3
 ii  python2.6 2.6.7-4
 ii  python2.7 2.7.2-5
 ii  shinken-core  0.6.5-1
 
 shinken-arbiter recommends no packages.
 
 shinken-arbiter suggests no packages.
 
 -- no debconf information
 
 
 

This should be fixed in the version 0.6.5-2 i asked my sponsor to
upload.

Thank you for bugreport

-- 
Arthur Gautier



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org

Bug#642438: shinken: Wrong user for a nagios related package

2011-09-22 Thread Arthur Gautier
On Thu, Sep 22, 2011 at 06:18:14PM +0200, Alexander Wirt wrote:
 Package: shinken
 Severity: important
 
 Hi,
 
 all nagios related packages should use the nagios user to simplfiy
 usage of nagios related addons like nagvis. Please follow the
 guidelines.
 
 Alex
 
 -- System Information:
 Debian Release: wheezy/sid
   APT prefers unstable
   APT policy: (500, 'unstable'), (500, 'testing'), (200, 'experimental')
 Architecture: amd64 (x86_64)
 
 Kernel: Linux 3.1.0-rc4-amd64 (SMP w/4 CPU cores)
 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/dash
 
severity 642438 minor

Shinken only using libexec in nagios, i followed README.Debian provided
by nagios-plugins-basic and added shinken to an eventual nagios group
(creating it if non-existant).


-- 
Arthur Gautier



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



Bug#599073: One packaging of shinken

2011-05-23 Thread Arthur Gautier
Hi

I'd just finished packaging shinken on my side,
you may find it here : https://github.com/baloo/shinken/tree/debian/master

Any comments welcome :)

-- 
Arthur Gautier

Bug#621064: Upgrade to 2.1

2011-04-06 Thread Arthur Gautier

Package: libzmq0
Version: 2.0

Please upgrade package to 2.1 as it is a recommended upgrade
(http://www.zeromq.org/intro:get-the-software)
Thanks :)



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



Bug#619546: [php-maint] Bug#619546: Bug#619546: php5-fpm init script failing with error code 1 regardless of failure

2011-03-28 Thread Arthur Gautier
 php5-fpm (--install):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for man-db ...
Errors were encountered while processing:
 php5-fpm


The problem is that /etc/init.d/php5-fpm is returning 1.

# bash -x /etc/init.d/php5-fpm start
+ PATH=/sbin:/usr/sbin:/bin:/usr/bin
+ DESC='PHP5 FastCGI Process Manager'
+ NAME=php5-fpm
+ DAEMON=/usr/sbin/php5-fpm
+ DAEMON_ARGS='--fpm-config /etc/php5/fpm/php-fpm.conf'
+ PIDFILE=/var/run/php5-fpm.pid
+ TIMEOUT=30
+ SCRIPTNAME=/etc/init.d/php5-fpm
+ '[' -x /usr/sbin/php5-fpm ']'
+ '[' -r /etc/default/php5-fpm ']'
+ . /lib/init/vars.sh
++ '[' -f /etc/default/rcS ']'
++ . /etc/default/rcS
+++ TMPTIME=0
+++ SULOGIN=no
+++ DELAYLOGIN=no
+++ UTC=yes
+++ VERBOSE=no
+++ FSCKFIX=no
+++ RAMRUN=no
+++ RAMLOCK=no
++ '[' -r /proc/cmdline ']'
+++ cat /proc/cmdline
++ for ARG in '$(cat /proc/cmdline)'
++ case $ARG in
++ for ARG in '$(cat /proc/cmdline)'
++ case $ARG in
++ for ARG in '$(cat /proc/cmdline)'
++ case $ARG in
++ '[' '' ']'
+ . /lib/lsb/init-functions
++ FANCYTTY=
++ '[' -e /etc/lsb-base-logging.sh ']'
++ true
+ case $1 in
+ '[' no '!=' no ']'
+ do_check
++ /usr/sbin/php5-fpm --fpm-config /etc/php5/fpm/php-fpm.conf -t
++ grep '\[ERROR\]'
+ FPM_ERROR=
+ '[' -n '' ']'
+ return 0
+ case $? in
+ do_start
+ start-stop-daemon --start --quiet --pidfile /var/run/php5-fpm.pid 
--exec /usr/sbin/php5-fpm --test
+ start-stop-daemon --start --quiet --pidfile /var/run/php5-fpm.pid 
--exec /usr/sbin/php5-fpm -- --fpm-config /etc/php5/fpm/php-fpm.conf
[28-Mar-2011 09:36:03] WARNING: [pool superbaloo] pm.start_servers is 
not set. It's been set to 3.

+ case $? in
+ '[' no '!=' no ']'
# echo $?
1

The thing i don't get is: While i get a warning on my php-fpm 
configuration. The start-stop-daemon still returns 0 :


# start-stop-daemon --start --quiet --pidfile /var/run/php5-fpm.pid 
--exec /usr/sbin/php5-fpm -- --fpm-config /etc/php5/fpm/php-fpm.conf
[28-Mar-2011 09:40:31] WARNING: [pool superbaloo] pm.start_servers is 
not set. It's been set to 3.

# echo $?
0

Hope this may helps :)


By the way, rm /etc/init.d/php5-fpm  aptitude reinstall php5-fpm fixed 
the problem for me :)


--
Arthur Gautier



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



Bug#619546: [php-maint] Bug#619546: Bug#619546: Bug#619546: php5-fpm init script failing with error code 1 regardless of failure

2011-03-28 Thread Arthur Gautier

On 03/28/2011 10:47 AM, Ondřej Surý wrote:

Hi,

I think it does help a lot.

Does this patch:

diff --git a/debian/php5-fpm.init b/debian/php5-fpm.init
index 25badb3..4e0fdee 100644
--- a/debian/php5-fpm.init
+++ b/debian/php5-fpm.init
@@ -163,3 +163,5 @@ case $1 in
 exit 1
  ;;
  esac
+
+:

help?

Ondrej

That's it :)

# dpkg -i --force-depends /var/cache/apt/archives/php5-fpm_5.3.6-2_i386.deb
dpkg: warning: downgrading php5-fpm from 5.3.6-4 to 5.3.6-2.
(Reading database ... 229931 files and directories currently installed.)
Preparing to replace php5-fpm 5.3.6-4 (using 
.../php5-fpm_5.3.6-2_i386.deb) ...

Unpacking replacement php5-fpm ...
dpkg: php5-fpm: dependency problems, but configuring anyway as you 
requested:

 php5-fpm depends on php5-common (= 5.3.6-2); however:
  Version of php5-common on system is 5.3.6-4.
Setting up php5-fpm (5.3.6-2) ...
Installing new version of config file /etc/php5/fpm/pool.d/www.conf ...

Configuration file `/etc/init.d/php5-fpm'
 == Modified (by you or by a script) since installation.
 == Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
Y or I  : install the package maintainer's version
N or O  : keep your currently-installed version
  D : show the differences between the versions
  Z : start a shell to examine the situation
 The default action is to keep your current version.
*** php5-fpm (Y/I/N/O/D/Z) [default=N] ? Y
Installing new version of config file /etc/init.d/php5-fpm ...
update-rc.d: warning: php5-fpm stop runlevel arguments (0 1 6) do not 
match LSB Default-Stop values (none)
[28-Mar-2011 10:56:16] WARNING: [pool www] pm.start_servers is not set. 
It's been set to 20.
[28-Mar-2011 10:56:16] WARNING: [pool superbaloo] pm.start_servers is 
not set. It's been set to 3.
[28-Mar-2011 10:56:16] NOTICE: configuration file 
/etc/php5/fpm/php-fpm.conf test is successful


Starting PHP5 FPM...[28-Mar-2011 10:56:16] WARNING: [pool www] 
pm.start_servers is not set. It's been set to 20.
[28-Mar-2011 10:56:16] WARNING: [pool superbaloo] pm.start_servers is 
not set. It's been set to 3.

.
Processing triggers for man-db ...
# dpkg -i /var/cache/apt/archives/php5-fpm_5.3.6-4_i386.deb
(Reading database ... 229931 files and directories currently installed.)
Preparing to replace php5-fpm 5.3.6-2 (using 
.../php5-fpm_5.3.6-4_i386.deb) ...
[28-Mar-2011 10:56:23] WARNING: [pool www] pm.start_servers is not set. 
It's been set to 20.
[28-Mar-2011 10:56:23] WARNING: [pool superbaloo] pm.start_servers is 
not set. It's been set to 3.
[28-Mar-2011 10:56:23] NOTICE: configuration file 
/etc/php5/fpm/php-fpm.conf test is successful


Stopping PHP5 FPM
Unpacking replacement php5-fpm ...
Setting up php5-fpm (5.3.6-4) ...
Installing new version of config file /etc/init.d/php5-fpm ...
Installing new version of config file /etc/php5/fpm/pool.d/www.conf ...
update-rc.d: warning: php5-fpm stop runlevel arguments (0 1 6) do not 
match LSB Default-Stop values (none)
[28-Mar-2011 10:56:23] WARNING: [pool superbaloo] pm.start_servers is 
not set. It's been set to 3.

invoke-rc.d: initscript php5-fpm, action start failed.
dpkg: error processing php5-fpm (--install):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for man-db ...
Errors were encountered while processing:
 php5-fpm
# cat - |tee /tmp/php-fpm.patch
--- a/debian/php5-fpm.init
+++ b/debian/php5-fpm.init
@@ -163,3 +163,5 @@ case $1 in
exit 1
 ;;
 esac
+
+:
--- a/debian/php5-fpm.init
+++ b/debian/php5-fpm.init
@@ -163,3 +163,5 @@ case $1 in
exit 1
 ;;
 esac
+
+:
^C
# cat /tmp/php-fpm.patch |patch -p2 /etc/init.d/php5-fpm
patching file /etc/init.d/php5-fpm
Hunk #1 succeeded at 163 with fuzz 1.
# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up php5-fpm (5.3.6-4) ...
update-rc.d: warning: php5-fpm stop runlevel arguments (0 1 6) do not 
match LSB Default-Stop values (none)





i don't understand the colon. Do you have any pointers on it ?

Thanks :)

--
Arthur Gautier



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



Bug#552434: Please apply this patch against the packages

2011-02-17 Thread Arthur Gautier
Hi there, 

could you please apply this patch against the squeeze init-script ? it's really
annoying not to be able to start rabbitmq-server during the boot ...

Moreover, if you get init-scripts that depends on rabbitmq ... the
others init-scripts just failed to install too ...

Thank you

-- 
Arthur Gautier
--- a/rabbitmq-server	2011-02-17 10:56:56.001778596 +0100
+++ b/rabbitmq-server	2011-02-17 10:56:44.613778638 +0100
@@ -10,8 +10,8 @@
 # Provides:  rabbitmq-server
 # Required-Start:$remote_fs $network
 # Required-Stop: $remote_fs $network
-# Default-Start:
-# Default-Stop:
+# Default-Start: 3 5
+# Default-Stop:  0 1 2 6
 # Description:   RabbitMQ broker
 # Short-Description: Enable AMQP service provided by RabbitMQ broker
 ### END INIT INFO


signature.asc
Description: Digital signature


Bug#611393: php-text-template packaging

2011-02-15 Thread Arthur Gautier
Please find my packaging for php-text-template here :
https://github.com/baloo/pkg-php-text-template
-- 
Arthur Gautier


signature.asc
Description: Digital signature


Bug#611394: php-token-stream packaging

2011-02-15 Thread Arthur Gautier
please find my packaging for php-token-stream here :
https://github.com/baloo/pkg-php-token-stream
-- 
Arthur Gautier


signature.asc
Description: Digital signature


Bug#611767: git-buildpackage packaging

2011-02-15 Thread Arthur Gautier
Please find my packaging for this package here :
https://github.com/baloo/pkg-php-timer
-- 
Arthur Gautier


signature.asc
Description: Digital signature


Bug#610676: One packaging of php-codecoverage

2011-01-31 Thread Arthur Gautier
On Fri, Jan 28, 2011 at 09:26:41AM -0500, Luis Uribe wrote:
 Hi Arthur
 
 On Fri, Jan 28, 2011 at 02:50:47PM +0100, Arthur Gautier wrote:
  let me know if it can help
 
 Sure, do you wanna co-maintain the package? I was doing a package too
 but it's better to join forces :)
 
 I just build and install your package but phpunit is still unusable,
 here is why:
 
 debian:/tmp# phpunit 
 PHP Warning:  require_once(File/Iterator/Factory.php): failed to open stream: 
 No such file or directory in /usr/share/php/PHP/CodeCoverage/Filter.php on 
 line 46
 PHP Fatal error:  require_once(): Failed opening required 
 'File/Iterator/Factory.php'
 (include_path='.:/usr/share/php:/usr/share/pear') in 
 /usr/share/php/PHP/CodeCoverage/Filter.php on line 46
 
 I discover that php-codecoverage needs:
 * PHP_TokenStream-1.0.1
 * File_Iterator-1.2.3
 * Text_Template-1.1.0
 All of it from phpunit.de pear channel.
 
 Also when i install them using PEAR, it also downloads:
 * Base-1.8
 * ConsoleTools-1.6.1
 From components.ez.no PEAR channel
 
 So we need to package at least the other three packages from phpunit.de.
 I ask in ez's irc channel and seems that ConsoleTools and Base are not
 needed in order to run PHP_CodeCoverage, but i didn't check it yet. I
 expect to do that this weekend. After that i will create the ITPs and
 start working.
 
 Thanks for your work!
 
 -- 
 Luis
 http://eviled.org
Hi luis, 

a little work after on my debian packages, i need to create a lot of
packages to get phpunit working.
The more i'm using phpunit, the more i get deps errors, i'm actually using the
following tree of dependencies:

- phpunit
  - php-codecoverage
- php-tokenstream
  - php-texttemplate
  - php-timer


Now that i got all those dependencies, everything seems fine 

Could you please open some ITP for php-tokenstream, php-texttemplate and
php-timer ?

Thanks ! 


-- 
Arthur Gautier
Open Web Solutions - http://www.ows.fr
Solutions logiciels libres Internet et réseaux pour les entreprises



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



Bug#610676: dependencies still missing

2011-01-28 Thread Arthur Gautier
On Fri, Jan 28, 2011 at 02:03:03PM +, Debian Bug Tracking System wrote:
 Thank you for the additional information you have supplied regarding
 this Bug report.
 
 This is an automatically generated reply to let you know your message
 has been received.
 
 Your message is being forwarded to the package maintainers and other
 interested parties for their attention; they will reply in due course.
 
 Your message has been sent to the package maintainer(s):
  w...@debian.org
  Luis Uribe a...@eviled.org
 
 If you wish to submit further information on this problem, please
 send it to 610...@bugs.debian.org.
 
 Please do not send mail to ow...@bugs.debian.org unless you wish
 to report a problem with the Bug-tracking system.
 
 -- 
 610676: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610676
 Debian Bug Tracking System
 Contact ow...@bugs.debian.org with problems
 

We still need https://github.com/sebastianbergmann/php-file-iterator
packaging as a depedency of php-codecoverage 

What is the correct way to add another package ? create a new ITP ?

btw, my packaging of php-codecoverage is highly inspired by the one of
phpunit. Do i need to indicate it in the copyright file ?

Thanks

-- 
Arthur Gautier



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



Bug#610676: One packaging of php-codecoverage

2011-01-28 Thread Arthur Gautier
On Fri, Jan 28, 2011 at 09:26:41AM -0500, Luis Uribe wrote:
 Hi Arthur
 
 On Fri, Jan 28, 2011 at 02:50:47PM +0100, Arthur Gautier wrote:
  let me know if it can help
 
 Sure, do you wanna co-maintain the package? I was doing a package too
 but it's better to join forces :)

For sure :) but i don't have any gpg key signed to commit to debian :(

 I just build and install your package but phpunit is still unusable,
 here is why:
 
 debian:/tmp# phpunit 
 PHP Warning:  require_once(File/Iterator/Factory.php): failed to open stream: 
 No such file or directory in /usr/share/php/PHP/CodeCoverage/Filter.php on 
 line 46
 PHP Fatal error:  require_once(): Failed opening required 
 'File/Iterator/Factory.php'
 (include_path='.:/usr/share/php:/usr/share/pear') in 
 /usr/share/php/PHP/CodeCoverage/Filter.php on line 46
 

That's the same for me

i'd just packaged file-iterator and all seems fine for me (i'd just
tested phpunit --version but at least it doesn't give me errors)

 I discover that php-codecoverage needs:
 * PHP_TokenStream-1.0.1
 * File_Iterator-1.2.3
 * Text_Template-1.1.0
 All of it from phpunit.de pear channel.
 
 Also when i install them using PEAR, it also downloads:
 * Base-1.8
 * ConsoleTools-1.6.1
 From components.ez.no PEAR channel
 
 So we need to package at least the other three packages from phpunit.de.
 I ask in ez's irc channel and seems that ConsoleTools and Base are not
 needed in order to run PHP_CodeCoverage, but i didn't check it yet. I
 expect to do that this weekend. After that i will create the ITPs and
 start working.
 
 Thanks for your work!
 



-- 
Arthur Gautier
Open Web Solutions - http://www.ows.fr
Solutions logiciels libres Internet et réseaux pour les entreprises



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



Bug#575880: drush: new version (3.0) available

2010-03-29 Thread Arthur Gautier
Package: drush
Version: 3.0-rc1
Severity: wishlist
Tags: patch

 Please update to the latest version available.

 The patch is to be applied against the source code of the 3.0 version

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

Kernel: Linux 2.6.32-ARCH (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 000..de158b6
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,124 @@
+drush (3.0-rc1) unstable; urgency=low
+
+  * 3.0 release :
+- #723768: Various improvements to sql-sync and temp file handling
+- #723742 by moshe weitzman. CVS package handler installs package in
+  duplicate subdirectories
+- Add section about site aliases to README. Links to dman's doc at
+   http://drupal.org/node/670460.
+- Add link to http://drupal.org/node/670460 from sitealias.inc
+- #712098 by scor and grendzy. CVS package handler does not work in symlink
+  paths
+- #724512 by scor. better fix for cvs.inc destination.
+- #683844 by greg.1.anderson. db-su has no password passing feature?
+- #729380 by jonhattan. notice fix in ws
+- #726974 by ezraw. Table prefixing lost
+- #725660 by hanoii and moshe weitzman. fix help on pm-list options.
+- #722722 by anarcat. drush_prompt to prompt the user for arbitrary strings.
+- #733970 by techlive. fix table prefixing on delete queries.
+- #732602 by hanoii. drush enable won't enable 'disabled' modules on D5
+- #547902 by jonhattan, nelinz. tail the watchdog
+- #733564 by jonhattan. theme_username in watchdog commands.
+- #730788 by moshe weitzman. Improve response of drush dl when there is no
+  recommended release
+- #691944 by chiddicks. Add --pipe support to updatecode
+- Some work on site-update command which touched sql-sync as well. More to
+  do.
+- #654682 by hanoii. --package: Package column and grouping for pm-list
+- #725686 by hanoii. more pm-list improvements. multiple value filters.
+- #733256: Aliases should be loaded from 'aliases.drushrc.php' file
+- #670994: Improve site alias documentation
+- #670994: rsync help should point to example.aliases.drushrc.php now
+- #739844 by brad bulger: allow complete file name as parameter to
+  php-script command
+- #740498: Put a guard around drush_conf_override
+- #741560: Site alias command should not require bootstrap to drupal
+  configuration
+- #740496 by dman. Drupal7 renamed WATCHDOG_EMERG to WATCHDOG_EMERGENCY
+- #740448 by owen barton. tput errors when running 'drush' script in cron
+- #743368 by alex_b: Warn about ['base_url'] when Drush falls back to
+  'default'
+- #434944: Allow minor upgrades of drupal core
+- #738460 by tpfeiffer: Wrong parameter quoting for PostgreSQL
+- More robust vget
+- Remove stray hook command. Its in devel now.
+- Fix a nasty bug where variables would go missing from . A recent commit by
+  Greg exposed a long standing bug.
+- #737610: Inheritance for site aliases and relative aliases
+- #751986 by scor. Fix drush_commandfile_list() documentation
+- #751010 by brad bulger. variable-get (vget) doesn't show all variables
+  when no argument supplied
+- #754226: Create an 'examples' directory
+- #750722 drupal-project-rename is proper option name.
+
+ -- Arthur Gautier arthur.gaut...@savoirfairelinux.com  Mon, 29 Mar 2010 20:03:15 -0400
+
+drush (2.0-6) unstable; urgency=low
+
+  * put this back to GPL2+ after discussions with Drupal.org people
+  * update to standards 3.8.3: no change required
+  * fix subversion dependencies, push php depends up to Recommends
+
+ -- Antoine Beaupré anar...@koumbit.org  Fri, 11 Sep 2009 22:47:11 +0200
+
+drush (2.0-5) unstable; urgency=low
+
+  * fix copyright notice to claim GPL-2 (and not GPL-2+)
+  * update to standards 3.8.2: put in php section
+  * backport a few fixes that have been committed to CVS after the 2.0
+release
+- #500324 dman - fails to download install profile in proper
+  location. Incorrect path.
+- #493456 by guidot. three tiny errors in drush help dl Examples
+  ... Also a text improvement.
+- #503328 - fix drush cron due to drush shutdown exiting. register
+  exit helper in drush_shutdown. Thanks david goode
+- #533496 ZoFreX - Drush does not like being invoked from a path that
+  contains spaces
+
+ -- Antoine Beaupré anar...@koumbit.org  Wed, 29 Jul 2009 17:52:18 -0400
+
+drush (2.0-5~koumbit50+1) stable; urgency=low
+
+  * backport to lenny
+
+ -- Antoine Beaupré anar...@koumbit.org  Wed, 29 Jul 2009 17:48:18 -0400
+
+drush (2.0-4) unstable; urgency=low
+
+  * fix paths in VCS fields
+  * add DM-Upload-Allowed field since I am a Debian Maintainer
+  * add VCS-* fields

Bug#575880: Acknowledgement (drush: new version (3.0) available)

2010-03-29 Thread Arthur Gautier
Here is the patch between the actual version 2 and the version 3 of packagingdiff -ruT a/debian/changelog b/debian/changelog
--- a/debian/changelog	2010-03-30 00:48:04.0 +
+++ b/debian/changelog	2010-03-30 01:19:48.0 +
@@ -1,3 +1,58 @@
+	drush (3.0-rc1) unstable; urgency=low
+	
+	  * 3.0 release :
+	- #723768: Various improvements to sql-sync and temp file handling
+	- #723742 by moshe weitzman. CVS package handler installs package in
+	  duplicate subdirectories
+	- Add section about site aliases to README. Links to dman's doc at
+	   http://drupal.org/node/670460.
+	- Add link to http://drupal.org/node/670460 from sitealias.inc
+	- #712098 by scor and grendzy. CVS package handler does not work in symlink
+	  paths
+	- #724512 by scor. better fix for cvs.inc destination.
+	- #683844 by greg.1.anderson. db-su has no password passing feature?
+	- #729380 by jonhattan. notice fix in ws
+	- #726974 by ezraw. Table prefixing lost
+	- #725660 by hanoii and moshe weitzman. fix help on pm-list options.
+	- #722722 by anarcat. drush_prompt to prompt the user for arbitrary strings.
+	- #733970 by techlive. fix table prefixing on delete queries.
+	- #732602 by hanoii. drush enable won't enable 'disabled' modules on D5
+	- #547902 by jonhattan, nelinz. tail the watchdog
+	- #733564 by jonhattan. theme_username in watchdog commands.
+	- #730788 by moshe weitzman. Improve response of drush dl when there is no
+	  recommended release
+	- #691944 by chiddicks. Add --pipe support to updatecode
+	- Some work on site-update command which touched sql-sync as well. More to
+	  do.
+	- #654682 by hanoii. --package: Package column and grouping for pm-list
+	- #725686 by hanoii. more pm-list improvements. multiple value filters.
+	- #733256: Aliases should be loaded from 'aliases.drushrc.php' file
+	- #670994: Improve site alias documentation
+	- #670994: rsync help should point to example.aliases.drushrc.php now
+	- #739844 by brad bulger: allow complete file name as parameter to
+	  php-script command
+	- #740498: Put a guard around drush_conf_override
+	- #741560: Site alias command should not require bootstrap to drupal
+	  configuration
+	- #740496 by dman. Drupal7 renamed WATCHDOG_EMERG to WATCHDOG_EMERGENCY
+	- #740448 by owen barton. tput errors when running 'drush' script in cron
+	- #743368 by alex_b: Warn about ['base_url'] when Drush falls back to
+	  'default'
+	- #434944: Allow minor upgrades of drupal core
+	- #738460 by tpfeiffer: Wrong parameter quoting for PostgreSQL
+	- More robust vget
+	- Remove stray hook command. Its in devel now.
+	- Fix a nasty bug where variables would go missing from . A recent commit by
+	  Greg exposed a long standing bug.
+	- #737610: Inheritance for site aliases and relative aliases
+	- #751986 by scor. Fix drush_commandfile_list() documentation
+	- #751010 by brad bulger. variable-get (vget) doesn't show all variables
+	  when no argument supplied
+	- #754226: Create an 'examples' directory
+	- #750722 drupal-project-rename is proper option name.
+	
+	 -- Arthur Gautier arthur.gaut...@savoirfairelinux.com  Mon, 29 Mar 2010 20:03:15 -0400
+	
	drush (2.0-6) unstable; urgency=low
	
	  * put this back to GPL2+ after discussions with Drupal.org people
diff -ruT a/debian/drush.examples b/debian/drush.examples
--- a/debian/drush.examples	2010-03-30 00:48:04.0 +
+++ b/debian/drush.examples	2010-03-30 01:19:48.0 +
@@ -1,2 +1,2 @@
-	example.drush.inc
-	example.drushrc.php
+	examples/example.drush.inc
+	examples/example.drushrc.php