Bug#827665: systemd goes into timeout while waiting for local-fs.target

2016-06-19 Thread Eugenio 'g7' Paolantonio
Package: live-config-systemd
Version: 5.20160608
Tags: patch

Hello,

The After=local-fs.target rule introduced in commit 63ab809 made systemd
go in timeout while waiting for the local-fs target to be reached.

This is due to the fact that the Before= rule in the live-config unit
prevents the startup of udev.

I'm not raising severity on this one because I suspect this only happens
on installed environments, where live-config-systemd is largely useless.
But still, it shouldn't break the boot process in this way.

I'm attaching a small patch that resolves the problem for me, also
available as a git commit at [1].

I unfortunately haven't had the time to test it in a live environment.


Regards,
Eugenio

[1]
https://github.com/semplice/live-config/commit/672fb6274a74a40880c9fc737accd8d5a3d557f5
-- 
Eugenio Paolantonio - Semplice Linux lead developer

Website: me.medesimo.eu
Twitter: @eugenio_g7

«The UNIX philosophy basically involves giving you enough rope to
hang yourself.  And then a couple of feet more, just to be sure.»
From 672fb6274a74a40880c9fc737accd8d5a3d557f5 Mon Sep 17 00:00:00 2001
From: "Eugenio Paolantonio (g7)" 
Date: Wed, 15 Jun 2016 08:51:56 +0200
Subject: [PATCH] [backend] systemd: do not try to launch live-config before
 udev

The After= rule introduced in 63ab809 made things go in timeout
as udev won't be started before the local-fs target.

Signed-off-by: Eugenio Paolantonio (g7) 
---
 backend/systemd/live-config.systemd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/systemd/live-config.systemd b/backend/systemd/live-config.systemd
index ed7069b..2b82f45 100644
--- a/backend/systemd/live-config.systemd
+++ b/backend/systemd/live-config.systemd
@@ -9,7 +9,7 @@
 [Unit]
 Description=live-config contains the components that configure a live system during the boot process (late userspace).
 Documentation=man:live-config
-Before=basic.target udev.service
+Before=basic.target
 After=local-fs.target
 DefaultDependencies=no
 ConditionPathExists=/bin/live-config


signature.asc
Description: OpenPGP digital signature


Bug#728527: openbox-xdg-autostart is executed twice

2013-11-02 Thread Eugenio 'g7' Paolantonio
Package: openbox
Version: 3.5.2-4
Tags: patch

It seems that this ([1]) patch makes openbox execute
openbox-xdg-autostart twice, as openbox-xdg-autostart is already
executed by
openbox-autostart.

I'm attaching a simple patch that fixes the issue, by removing the
openbox-xdg-autostart call from openbox-autostart.


Kind regards,
Eugenio

[1]
https://github.com/mati75/openbox-debian/blob/master/debian/patches/644628_fix_autostart.patch

-- 
.: Eugenio Paolantonio - Semplice Linux developer :.

http://semplice-linux.org
http://medesimo.eu

Twitter: @eugenio_g7 - Homepage: http://me.medesimo.eu
Description: Fixes programs autostart twice when running in an Openbox session
Author: Eugenio Paolantonio m...@medesimo.eu

--- a/data/autostart/openbox-autostart.in
+++ b/data/autostart/openbox-autostart.in
@@ -27,8 +27,3 @@
 elif test -f $AUTOSTART.sh; then
 sh $AUTOSTART.sh
 fi
-
-# Run the XDG autostart stuff.  These are found in /etc/xdg/autostart and
-# in $HOME/.config/autostart.  This requires PyXDG to be installed.
-# See openbox-xdg-autostart --help for more details.
-@libexecdir@/openbox-xdg-autostart $@


Bug#726156: latest APT breaks InstallProgress

2013-10-12 Thread Eugenio 'g7' Paolantonio
Package: python-apt
Version: 0.8.9.1
Tags: patch

Hello,


It seems that the latest APT update breaks the base python-apt
InstallProgress, as some package names in the status stream also feature
the package architecture (packagename:arch).

This is the produced traceback:


Traceback (most recent call last):
  File /usr/bin/bricks, line 181, in run
engine.cache.commit(AcquireProgress(self.parent),
InstallProgress(self.parent))
  File /usr/lib/python2.7/dist-packages/apt/cache.py, line 504, in commit
res = self.install_archives(pm, install_progress)
  File /usr/lib/python2.7/dist-packages/apt/cache.py, line 467, in
install_archives
res = install_progress.run(pm)
  File /usr/lib/python2.7/dist-packages/apt/progress/base.py, line
206, in run
res = self.wait_child()
  File /usr/lib/python2.7/dist-packages/apt/progress/base.py, line
276, in wait_child
self.update_interface()
  File /usr/lib/python2.7/dist-packages/apt/progress/base.py, line
253, in update_interface
if float(percent) != self.percent or status_str != self.status:
ValueError: could not convert string to float: amd64


I'm attaching a quick and dirty patch that fixes the issue.


Regards,
Eugenio

-- 
.: Eugenio Paolantonio - Semplice Linux developer :.

http://semplice-linux.org
http://medesimo.eu

Twitter: @eugenio_g7 - Homepage: http://me.medesimo.eu
--- orig/apt/progress/base.py	2013-06-06 18:32:36.0 +0200
+++ mod/apt/progress/base.py	2013-10-12 22:27:54.050668349 +0200
@@ -221,10 +221,17 @@
 return
 
 pkgname = status = status_str = percent = base = 
+architecture = all
 
 if line.startswith('pm'):
 try:
 (status, pkgname, percent, status_str) = line.split(:, 3)
+# Handle pkgnames with :architecture, otherwise we'll later
+# try to make the package architecture a float.
+try:
+float(percent)
+except ValueError:
+(status, pkgname, architecture, percent, status_str) = line.split(:, 4)
 except ValueError:
 # silently ignore lines that can't be parsed
 return


Bug#697146: xserver-xorg script forces vboxvideo even if virtualbox guest additions are not installed

2013-01-01 Thread Eugenio 'g7' Paolantonio
Package: live-config
Version: 3.0.15-1
Tags: patch

The xserver-xorg script is forcing the 'vboxvideo' driver on virtualbox
even if the guest additions (virtualbox-guest-x11 package) are not
installed. This leads to X not starting on live systems without that
package.

The attached simple patch should resolve the issue (still not tested, I
will do in the coming hours).


Regards,
Eugenio

-- 
.: Eugenio Paolantonio - Semplice Linux developer :.

http://semplice-linux.org
http://medesimo.eu

Twitter: @eugenio_g7 - Homepage: http://me.medesimo.eu
--- a/scripts/config/1150-xserver-xorg
+++ b/scripts/config/1150-xserver-xorg
@@ -117,7 +117,7 @@
 			if [ -z ${LIVE_XORG_DRIVER} ]
 			then
 # xorg-driver automatic override for virtualbox
-if echo ${_DEVICE} | grep -qs '^80EEBEEF'
+if [ -e /var/lib/dpkg/info/virtualbox-guest-x11.list ]  echo ${_DEVICE} | grep -qs '^80EEBEEF'
 then
 	LIVE_XORG_DRIVER=vboxvideo
 fi


Bug#697146: xserver-xorg script forces vboxvideo even if virtualbox guest additions are not installed

2013-01-01 Thread Eugenio 'g7' Paolantonio
Il 02/01/2013 00:22, Julien Cristau ha scritto:
 On Wed, Jan  2, 2013 at 00:14:17 +0100, Eugenio 'g7' Paolantonio wrote:
 
 Package: live-config
 Version: 3.0.15-1
 Tags: patch

 The xserver-xorg script is forcing the 'vboxvideo' driver on virtualbox
 even if the guest additions (virtualbox-guest-x11 package) are not
 installed. This leads to X not starting on live systems without that
 package.

 The attached simple patch should resolve the issue (still not tested, I
 will do in the coming hours).

 This is horribly wrong.  You're poking dpkg-internal paths with some
 assumptions about which package contains the driver, for something which
 seems entirely unnecessary because you could just let Xorg do its
 driver-selection job.
 
 Cheers,
 Julien

The same script is poking dpkg-internal paths several lines before to
check for the xserver-xorg package.
The vboxvideo driver is contained into the virtualbox-guest-x11 package.

Xorg does not do its driver-selection job because the driver (via a file
in /etc/X11/xorg.conf.d) is forced, so when X does not find it, it exits.


Regards,
Eugenio


-- 
.: Eugenio Paolantonio - Semplice Linux developer :.

http://semplice-linux.org
http://medesimo.eu

Twitter: @eugenio_g7 - Homepage: http://me.medesimo.eu


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



Bug#697146: xserver-xorg script forces vboxvideo even if virtualbox guest additions are not installed

2013-01-01 Thread Eugenio 'g7' Paolantonio
Il 02/01/2013 01:05, Ben Armstrong ha scritto:
 On 01/01/13 07:41 PM, Eugenio 'g7' Paolantonio wrote:
 The same script is poking dpkg-internal paths several lines before to
 check for the xserver-xorg package.
 The vboxvideo driver is contained into the virtualbox-guest-x11 package.

 Xorg does not do its driver-selection job because the driver (via a file
 in /etc/X11/xorg.conf.d) is forced, so when X does not find it, it exits.
 
 See the live-config man page. So far as I can see, it only does this if
 you use the xorg-driver boot parameter. By default, Xorg *is* allowed to
 do its job. If xorg-driver is set by the user and it's blowing up, I
 consider that user error.
 
 Ben
 
The autodetecting mentioned into the live-config man page refers to
the xserver-xorg script and not Xorg itself.

If the xorg-driver boot parameter is blank, the script tries to detect
the driver by looking at the PCI ID of the graphic card, see the code ([0]).

When it finds the PCI ID of the vbox graphic card, it wrongly assumes
that the vboxvideo driver is installed, which it may not be true.

Then it creates (or an already created configuration file is copied) a
file in /etc/X11/xorg.conf.d which basically forces X to load that driver.

If the package containing vboxvideo is not installed, obviously X does
exit because the driver listed into the configuration file is not installed.


Regards,
Eugenio

[0]
http://live.debian.net/gitweb/?p=live-config.git;a=blob_plain;f=scripts/config/1150-xserver-xorg;hb=266f31875df7eec8b4f4002f18ceaaf43c1f42b0

-- 
.: Eugenio Paolantonio - Semplice Linux developer :.

http://semplice-linux.org
http://medesimo.eu

Twitter: @eugenio_g7 - Homepage: http://me.medesimo.eu


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



Bug#632989: ITA: mirage -- fast and simple GTK+ image viewer

2012-06-11 Thread Eugenio 'g7' Paolantonio
TBH I completely forgot about that :)

Will continue the work shortly and (re)submit it to mentors!

Regards,
Eugenio

2012/6/11 Bart Martens ba...@debian.org:
 Hi Eugenio,

 How is progress on this ITA ? If you need a sponsor then please get your
 package onto one of these lists (or onto both lists) :
 http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=sponsorship-requests
 http://mentors.debian.net/packages/index

 Regards,

 Bart Martens





-- 
.: Eugenio Paolantonio - Semplice Linux developer :.

http://semplice-linux.org
http://medesimo.eu

Twitter: @eugenio_g7 - Homepage: http://me.medesimo.eu



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



Bug#645116: lb_chroot_local_preseed broken

2011-10-12 Thread Eugenio 'g7' Paolantonio
Package: live-build
Version: 3.0~a35-1

Hi,

It seems that lb_chroot_preseed tries to copy preseeds from a directory
called 'chroot_preseed', instead of 'preseed', thus broking the application
of the settings.

Ciao,
Eugenio


Bug#644756: openbox 3.5 fails to display /var/lib/openbox/debian-menu.xml

2011-10-10 Thread Eugenio 'g7' Paolantonio
tags 644756 patch
thanks

Hi,

Thank you for this report.

I've made a small patch which seems to fix this issue (see attached file), I
will upload it to svn in a few minutes.

Expect a new release soon,
Ciao,
Eugenio


07_fix_menu_configuration_search.patch
Description: unknown/unknown


Bug#638783: please update to 3.5.0

2011-08-22 Thread Eugenio 'g7' Paolantonio
2011/8/21 Nico Golde n...@debian.org

 Thanks a lot. I will probably update it during the week. Unlikely that I
 can
 make it before wednesday though.


No problem.

2011/8/21 Nico Golde n...@debian.org

 Different topic, are you interested in a co-maintaining this package? The
 diff
 looks good and I'm still on the look for one.


I use openbox daily and have some skill in Debian packaging. However, I'm
not a Debian developer nor a maintainer of a sponsored package. I have an
account on mentors, though.
So I'd gladly help you.

Ciao,
Eugenio


Bug#632989: ITA: mirage -- fast and simple GTK+ image viewer

2011-08-22 Thread Eugenio 'g7' Paolantonio
retitle 632989 ITA: mirage -- fast and simple GTK+ image viewer
owner 632989 !
thanks

I would like to maintain mirage.
I've already uploaded a new release to mentors [1].

This is the changelog entry:

mirage (0.9.5.2-1) unstable; urgency=low

   * New upstream release (closes: #607750)
   * New maintainer (closes: #632989)
   * debian/control:
 - Updated to Standards-Version 3.9.2, no changes needed.
 - Depend on debhelper (= 7.0.50~)
   * debian/*:
 - Switched to dh_python2
   * debian/rules:
 - Use directly debhelper.
 - Ship mirage in /usr/lib/mirage
   * debian/links:
 - Link /usr/lib/mirage/mirage to /usr/bin/mirage
   * debian/docs:
 - Removed.


I do not know how it behaves with #628830.

Ciao,
Eugenio

---
[1] http://mentors.debian.net/package/mirage


Bug#638783: please update to 3.5.0

2011-08-21 Thread Eugenio g7 Paolantonio
Package: openbox
Version: 3.4.11.2-2

Openbox 3.5.0 has been released and it is coming with some new features, as
well as many bug fixes.
I managed to get a working 3.5.0 package for my distribution, so I'm sharing
the diff between the current 3.4.11.2-2 and the source package of 3.5.0
updated by me.

These are the changes I've made:

  * New upstream release
  * debian/patches:
- Disabled 03_place_windows_in_quadrants.patch
- Updated 01_rc.xml.patch and 06_fix_swap_byte_order.patch
- Removed 04_fix_ftbfs_no-add-needed.patch and 20_24bits_support.patch
  * debian/control:
- Build-Depends: removed libxau-dev, libxft-dev and python-xdg;
  added libimlib2-dev
- openbox Suggests: added python-xdg
- libobrender21 renamed to libobrender27
- libobparser21 renamed to libobt0
  * debian/rules:
- Rewrote using a simpler debhelper syntax
- Moved the install pass to openbox.install
  * debian/*.{install,links,dirs}:
- Updated.
  * debian/openbox.xsession:
- Removed. Openbox now ships it by default.

The removed patches (04_fix_ftbfs_no-add-needed.patch and
20_24bits_support.patch) are not needed anymore -- see [1] and [2].
I've tried to port the disabled patch (03_place_windows_in_quadrants.patch)
to 3.5.0 but without success. Also, I see that the Ubuntu maintainer has
made the same thing [3].

Thank you in advance for considering my patch,
Ciao,
Eugenio

-
[1]
http://git.openbox.org/?p=dana/openbox.git;a=blobdiff;f=Makefile.am;h=f59d3e7e6942f3cc1630348dcdd214f60d1257c8;hp=c3feae6c1989820b90fefe4462be03e4a32aa013;hb=cc4e44e8376f5b76cb23f8cd642f32e0e41b9150;hpb=65315ca4377a8b034fffbcbd0965e2b332cdb1ba
[2]
http://git.openbox.org/?p=dana/openbox.git;a=blobdiff;f=render/color.c;h=5e3f2169bad9a1d6ace43eb649ba4cbf4413d058;hp=41fcc7102f2ad3e92dee21738e222aa2dec5006c;hb=263833450d3fb1ca0bfffef302c4b204a3133766;hpb=d69530a45a42efab0d34dcdb35b0f6fc887dafac
[3] https://launchpad.net/ubuntu/+source/openbox/3.5.0-0ubuntu1
diff -ruN openbox-3.4.11.2/debian/changelog openbox-3.5.0/debian/changelog
--- openbox-3.4.11.2/debian/changelog	2011-05-25 16:51:23.0 +0200
+++ openbox-3.5.0/debian/changelog	2011-08-21 16:02:03.0 +0200
@@ -1,3 +1,26 @@
+openbox (3.5.0-1~semplice0) emily; urgency=low
+
+  * New upstream release
+  * debian/patches:
+- Disabled 03_place_windows_in_quadrants.patch
+- Updated 01_rc.xml.patch and 06_fix_swap_byte_order.patch
+- Removed 04_fix_ftbfs_no-add-needed.patch and 20_24bits_support.patch
+  * debian/control:
+- Build-Depends: removed libxau-dev, libxft-dev and python-xdg;
+  added libimlib2-dev
+- openbox Suggests: added python-xdg
+- libobrender21 renamed to libobrender27
+- libobparser21 renamed to libobt0
+  * debian/rules:
+- Rewrote using a simpler debhelper syntax
+- Moved the install pass to openbox.install
+  * debian/*.{install,links,dirs}:
+- Updated.
+  * debian/openbox.xsession:
+- Removed. Openbox now ships it by default.
+
+ -- Eugenio Paolantonio (g7) m...@medesimo.eu  Sun, 21 Aug 2011 12:29:12 +0200
+
 openbox (3.4.11.2-2) unstable; urgency=low
 
   * Remove gnome-panel-control files from openbox binary package
diff -ruN openbox-3.4.11.2/debian/control openbox-3.5.0/debian/control
--- openbox-3.4.11.2/debian/control	2011-05-22 21:45:19.0 +0200
+++ openbox-3.5.0/debian/control	2011-08-21 15:59:56.0 +0200
@@ -2,8 +2,9 @@
 Section: x11
 Priority: optional
 Maintainer: Nico Golde n...@debian.org
-Build-Depends: debhelper (= 7), gettext, libxft-dev, libstartup-notification0-dev, libxrender-dev, pkg-config, libglib2.0-dev, libxml2-dev (= 2.6.0), perl, libxt-dev, libxinerama-dev, libxrandr-dev, libpango1.0-dev, quilt, libx11-dev, libxau-dev, autoconf, automake1.9, python-xdg
+Build-Depends: debhelper (= 7), gettext, libstartup-notification0-dev, libxrender-dev, pkg-config, libglib2.0-dev, libxml2-dev (= 2.6.0), perl, libxt-dev, libxinerama-dev, libxrandr-dev, libpango1.0-dev, quilt, libx11-dev, libimlib2-dev, autoconf, automake1.9
 Standards-Version: 3.9.2
+X-Python-Version: = 2.6
 Homepage: http://www.openbox.org
 Vcs-Browser: http://svn.debian.org/viewsvn/collab-maint/deb-maint/openbox/trunk
 Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/openbox
@@ -13,7 +14,7 @@
 Provides: x-window-manager, x-session-manager
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Recommends: openbox-themes, obconf
-Suggests: menu, ttf-dejavu, python, libxml2-dev
+Suggests: menu, ttf-dejavu, libxml2-dev, python, python-xdg
 Breaks: menu ( 2.1.12)
 Description: standards compliant, fast, light-weight, extensible window manager
  Openbox works with your applications, and makes your desktop easier to manage.
@@ -48,7 +49,7 @@
  menu from the command line.  This is originally a helper utility of openbox
  since gnome-panel is no longer managing its own key bindings.
 
-Package: libobparser21
+Package: libobt0
 Section: libs
 Architecture: any
 Conflicts: libobparser15, libobparser16
@@ 

Bug#633356: live-build: use LB_APT_SECURE too when bootstrapping system

2011-07-09 Thread Eugenio 'g7' Paolantonio
Package: live-build
Version: 3.0~a23-1
Severity: normal
Tags: patch

Due to a recent change in debootstrap (#560038), it now validates archives' 
signatures by default.
This is a problem if we are installing (for example) from a local mirror which 
hasn't the Release.gpg file.

The --no-check-gpg option has been added to override this (#624229).

I made a small patch to use that option if LB_APT_SECURE is false.

Ciao,
Eugenio

-- Package-specific info:

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

Kernel: Linux 2.6.39.1-ck1-g7 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-build depends on:
ii  cdebootstrap  0.5.7  Bootstrap a Debian system
ii  debootstrap   1.0.32 Bootstrap a basic Debian system

Versions of packages live-build recommends:
ii  cpio  2.11-7 GNU cpio -- a program to manage ar
ii  gettext-base  0.18.1.1-3 GNU Internationalization utilities
pn  gnu-fdisk none (no description available)

Versions of packages live-build suggests:
ii  dosfstools 3.0.9-1   utilities for making and checking 
ii  fakeroot   1.16-1tool for simulating superuser priv
ii  genisoimage9:1.1.11-1Creates ISO-9660 CD-ROM filesystem
ii  grub   0.97-65   GRand Unified Bootloader (dummy pa
pn  memtest86+ | memtest86 none(no description available)
ii  mtools 4.0.12-1  Tools for manipulating MSDOS files
ii  parted 2.3-6 disk partition manipulator
ii  squashfs-tools 1:4.2-3   Tool to create and append to squas
ii  sudo   1.7.4p6-1 Provide limited super user privile
ii  syslinux   2:4.04+dfsg-2 collection of boot loaders
ii  uuid-runtime   2.19.1-2  runtime components for the Univers
ii  win32-loader   0.7.3 Debian-Installer loader for win32

-- no debconf information

*** 
/home/g7/semplice/emily/unstable_fixes/live-build/live-build-3.0~a23/debian/patches/aptsecure_debootstrap.diff
--- a/scripts/build/lb_bootstrap_debootstrap
+++ b/scripts/build/lb_bootstrap_debootstrap
@@ -103,6 +103,13 @@
DEBOOTSTRAP_OPTIONS=${DEBOOTSTRAP_OPTIONS} --verbose
 fi
 
+# If LB_APT_SECURE is false, do not check signatures of the Release file
+# WARNING: debootstrap 1.0.30 or later required!
+if [ ${LB_APT_SECURE} = false ]
+then
+   DEBOOTSTRAP_OPTIONS=${DEBOOTSTRAP_OPTIONS} --no-check-gpg
+fi
+
 if [ -x /usr/sbin/debootstrap ]
 then
if [ ${LB_CACHE_PACKAGES} = true ]



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