Bug#964915: Info received (Raspi 4 debian image update-initramfs)

2020-08-03 Thread basti
I do not understand:

Raspi4: Kernel 5.7.x has mmcblk1p1 and mmcblk1p2 while

Raspi3: Kernel 4.19.0-9 has mmcblk0p1 and mmcblk0p2

why this?
I think this is the reason of this bug



Bug#964915: Info received (Raspi 4 debian image update-initramfs)

2020-08-03 Thread basti
diff --git a/debian/kernel/postinst.d/z50-raspi-firmware
b/debian/kernel/postinst.d/z50-raspi-firmware
index 5fa00c0..f988fec 100755
--- a/debian/kernel/postinst.d/z50-raspi-firmware
+++ b/debian/kernel/postinst.d/z50-raspi-firmware
@@ -45,7 +45,7 @@ fi

 # Default configurations, overridable at /etc/default/raspi-firmware
 CMA=64M
-ROOTPART=/dev/mmcblk0p2
+ROOTPART=`findmnt -n --output=source /boot/firmware/`
 KERNEL="auto"
 INITRAMFS="auto"
 CONSOLES="auto"



Bug#964915: Raspi 4 debian image update-initramfs

2020-07-31 Thread basti
OK thanks lucas and Gunnar.
Sorry for any inconvenience that I does not found this bugreport.
Have a nice weekend.


Am 31.07.20 um 18:09 schrieb Gunnar Wolf:
> [ Adding a Cc: to #964915 ] Lucas Nussbaum dijo [Fri, Jul 31, 2020 at
> 02:15:29PM +0200]:
>> Hi, Can you confirm that it's not
>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964915
> Yes, that's precisely the culprit. Even more - Both basti and me
> didn't find it any further because (I guess) we both booted with the
> HDMI console. When using a serial console, I found the all too
> familiar: Begin: Running /scripts/local-block ... done. Begin: Running
> /scripts/local-block ... done. Begin: Running /scripts/local-block ...
> done. And of course, after a couple iterations, I got dumped to the
> very useful busybox: Begin: Running /scripts/local-block ... done.
> Begin: Running /scripts/local-block ... done. done. Gave up waiting
> for root file system device. Common problems: - Boot args (cat
> /proc/cmdline) - Check rootdelay= (did the system wait long enough?) -
> Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/mmcblk0p2
> does not exist. Dropping to a shell! BusyBox v1.30.1 (Debian
> 1:1.30.1-4) built-in shell (ash) Enter 'help' for a list of built-in
> commands. (initramfs) So, Basti: 1. Try editing cmdline.txt in your
> first partition, replacing «/dev/mmcblk0p2» by «LABEL=RASPIROOT» as
> the bug report suggests 2. If you don't use a serial console, consider
> removing the «console=ttyS1,115200» part, so that the main information
> is sent to the HDMI output. Or even better, swap the order, so that
> the serial console functionality is preserved, but the main console is
> HDMI. So, we should definitively address item 1, as it is a serious
> bug (and I'm bumping up severity - It will affect all Raspberry
> models, not just the 4). As for 2... well, we can document it and
> maybe add some black magic to the initrd generation to allow the user
> to specify what the default console should be. But as the preferences
> are completely depending on the user and there is no "righter"
> value... And, following Lucas' report -- I think his last point
> actually makes a lot of sense: 1) setting ROOTPART=`findmnt -n
> --output=source /boot/firmware/`, 2) or using the label and doing
> ROOTPART=`findmnt -n --output=source /boot/firmware/`;
> ROOTLABEL="`lsblk -no label $ROOTPART`", and when overwriting
> cmdline.txt using "root=LABEL=$ROOTLABEL", 3) or my personal favorite
> - not touching cmdline.txt at all. I don't really see the point of
> modifying it during postinst of a kernel package, unless the
> pre_cmdline stuff needs to modify console boot settings for some
> reason. So that's surely an issue to look into ASAP! (and yes, the bug
> is not getting any younger :-| )



Bug#939284: missing /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

2019-09-17 Thread basti
Kernel 5.4 will fix it.

https://lkml.org/lkml/2019/6/11/949



Bug#930752: increases size of initrd considerably since linking with OpenSSL

2019-07-24 Thread basti
Hello,
i had the same problem on my QNAP TS-219p II.
I have fixed by setting COMPRESS=xz in
/etc/initramfs-tools/initramfs.conf for now.
I'am looking forward what will happen on newer kernels.

Best Regards



Bug#852127: qcontrol on Qnap TS-219P+

2017-11-10 Thread basti
Hello,
i have found this and try files from git Release 0.5.5-2.

On my device it won't start correctly. See Attachment.
System is stretch 9.2.

Best Regards,
Basti

--- qcontrold.service.orig	2017-11-10 23:38:22.0 +0100
+++ qcontrold.service	2017-11-10 23:39:02.190230094 +0100
@@ -1,9 +1,11 @@
 [Unit]
 Description=qcontrold
-Requires=dev-input-by\x2dpath-platform\x2dgpio\x2dkeys\x2devent.device
-After=dev-input-by\x2dpath-platform\x2dgpio\x2dkeys\x2devent.device
+Requires=dev-input\x2dby-path\x2dplatform-gpio_keys-event.device
 # If the config file is there, we assume qcontrol works on this machine.
 ConditionPathExists=/etc/qcontrol.conf
 
 [Service]
 ExecStart=/usr/sbin/qcontrol -f
+
+[Install]
+WantedBy=multi-user.target
--- qcontrol.service.orig	2017-11-10 23:30:59.0 +0100
+++ qcontrol.service	2017-11-10 23:14:21.0 +0100
@@ -2,6 +2,7 @@
 Description=qcontrol
 # If the config file is there, we assume qcontrol works on this machine.
 ConditionPathExists=/etc/qcontrol.conf
+After=multi-user.target qcontrold.service
 
 [Service]
 Type=oneshot


Bug#851066: flashplugin-nonfree: Mismatch between detected and available versions (Download file not available at people.debian.org)

2017-06-08 Thread basti
Hello,

fix bug, download file from Adobe.

Best regards,

Basti

--- a/update-flashplugin-nonfree	2016-08-06 07:09:30.0 +0200
+++ b/update-flashplugin-nonfree	2017-06-08 21:50:06.227911306 +0200
@@ -1,6 +1,10 @@
 #!/bin/sh
 
 # Copyright (C) 2006-2014 Bart Martens <ba...@knars.be>
+# Copyright (C) 2017 Sebastian Fiedler <b...@unix-solution.de>
+#- fix debian bug #851066
+#- download file from Adobe, Bart's repo seems to be outdated
+#- remove md5sum stuff, I have not found md5sum at Adobe Website
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 2 as
@@ -285,42 +289,11 @@
 			[ "$fast" != "yes" ] || wgetoptions="$wgetoptions $wgetfast"
 			[ "$verbose" != "yes" ] || echo "wgetoptions=$wgetoptions"
 
-			downloadfile=fp.$upstream.sha512.i386.pgp.asc
-			[ `dpkg --print-architecture` != "amd64" ] || downloadfile=fp.$upstream.sha512.amd64.pgp.asc
-			downloadurl=http://people.debian.org/~bartm/flashplugin-nonfree/D5C0FC14/$downloadfile
-
-			[ "$verbose" != "yes" ] || echo "downloading $downloadurl ..."
-			HOME=/root \
-			wget $wgetoptions $downloadurl \
-|| [ "$verbose" != "yes" ] || echo "wget failed to download $downloadurl" >&2
-
-			if [ ! -e $downloadfile ]
-			then
-downloadfile=fp10.sha512.i386.pgp.asc
-[ `dpkg --print-architecture` != "amd64" ] || downloadfile=fp10.sha512.amd64.pgp.asc
-downloadurl=http://people.debian.org/~bartm/flashplugin-nonfree/D5C0FC14/$downloadfile
-
-[ "$verbose" != "yes" ] || echo "downloading $downloadurl ..."
-HOME=/root \
-wget $wgetoptions $downloadurl \
-	|| die_hard_with_a_cleanup "wget failed to download $downloadurl"
-			fi
-
-			[ "$verbose" != "yes" ] || echo "verifying PGP $downloadfile ..."
-			gpg -q --homedir "." --verify $downloadfile 2> /dev/null \
-|| die_hard_with_a_cleanup "gpg rejected signature of $downloadurl"
-			gpg -q --homedir "." < $downloadfile > checksums.txt 2> /dev/null \
-|| die_hard_with_a_cleanup "gpg rejected signature of $downloadurl"
-
-			downloadfile=`head -n 1 < checksums.txt | cut -c 131-`
-
-			[ "$verbose" != "yes" ] || [ ! -f $cachedir/$downloadfile ] || echo "copying $cachedir/$downloadfile ..."
-			[ ! -f $cachedir/$downloadfile ] || cp -p $cachedir/$downloadfile .
-			[ "$verbose" != "yes" ] || [ ! -f $downloadfile ] || echo "verifying checksum $downloadfile ..."
-			[ ! -f $downloadfile ] || grep $downloadfile checksums.txt | sha512sum -c - > /dev/null 2>&1 || rm -f $downloadfile
-
-			downloaddir=`tail -n 1 < checksums.txt`
-			downloadurl=$downloaddir/$downloadfile
+			# original script use i686 for arch != amd64 adobe use i386
+			[ "$arch_wget" != "i686" ] || arch_wget=i386
+			downloaddir=$upstream
+			downloadfile=flash_player_npapi_linux.$arch_wget.tar.gz
+			downloadurl=https://fpdownload.adobe.com/get/flashplayer/pdc/$downloaddir/$downloadfile
 
 			wgetoptions="$wgetalways $wgetprogress"
 			[ "$quiet" != "yes" ] || wgetoptions="$wgetquiet $wgetalways"
@@ -333,21 +306,14 @@
 			HOME=/root \
 			wget $wgetoptions $downloadurl \
 || die_hard_with_a_cleanup "wget failed to download $downloadurl"
-			[ "$verbose" != "yes" ] || echo "verifying checksum $downloadfile ..."
-			grep tar.gz checksums.txt | sha512sum -c - > /dev/null 2>&1 \
-|| die_hard_with_a_cleanup "sha512sum rejected $downloadfile"
 			[ "$verbose" != "yes" ] || echo "unpacking $downloadfile ..."
 			tar xozf $downloadfile
-			[ "$verbose" != "yes" ] || echo "verifying checksum contents of $downloadfile ..."
-			head -n 2 < checksums.txt | sha512sum -c - > /dev/null 2>&1 \
-|| die_hard_with_a_cleanup "sha512sum rejected a part of $downloadfile"
 
 			targetdir=/usr/lib/flashplugin-nonfree
-			libflashplayerdotso=`grep "  .*libflashplayer\.so$" checksums.txt | cut -c 131-`
 
-			[ "$verbose" != "yes" ] || echo "moving $libflashplayerdotso to $targetdir ..."
+			[ "$verbose" != "yes" ] || echo "moving $UNPACKDIR/libflashplayer.so to $targetdir ..."
 			rm -f $targetdir/flashplayer.xpt
-			mv -f $libflashplayerdotso $targetdir
+			mv -f $UNPACKDIR/libflashplayer.so $targetdir
 
 			[ "$verbose" != "yes" ] || echo "setting permissions and ownership of $targetdir/libflashplayer.so ..."
 			chown root:root $targetdir/libflashplayer.so



Bug#826949: fail2ban: Error in FilterPyinotify callback:, 'module' object has no attribute '_strptime_time'

2016-06-10 Thread basti
Package: fail2ban
Version: 0.8.13-1
Severity: normal

Dear Maintainer,

I found  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774689 and I think 
the error is still present.
I'm wondering that the bug is not listed in https://bugs.debian.org/fail2ban.
Please merge the attached patch.

Best Regards,
Basti

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

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--- a/filterpyinotify.py	2014-03-15 00:00:00.0 +0100
+++ b/filterpyinotify.py	2016-06-08 22:09:37.0 +0200
@@ -32,6 +32,10 @@
 from filter import FileFilter
 from mytime import MyTime
 
+# Fix bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775272
+from time import strptime
+# strptime thread safety hack-around - http://bugs.python.org/issue7980
+strptime("2012", "%Y")
 
 if not hasattr(pyinotify, '__version__') \
   or LooseVersion(pyinotify.__version__) < '0.8.3':


Bug#826946: fail2ban: Error in FilterPyinotify callback: 'module' object has no attribute #774689

2016-06-10 Thread basti
Package: fail2ban
Version: 0.8.13-1
Severity: normal

Dear Maintainer,

I think the error is still present.
I'm wondering that the bug is not listed in https://bugs.debian.org/fail2ban.
Please Merge the attached patch.

Best Regards,
Basti

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

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--- a/filterpyinotify.py	2014-03-15 00:00:00.0 +0100
+++ b/filterpyinotify.py	2016-06-08 22:09:37.0 +0200
@@ -32,6 +32,10 @@
 from filter import FileFilter
 from mytime import MyTime
 
+# Fix bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775272
+from time import strptime
+# strptime thread safety hack-around - http://bugs.python.org/issue7980
+strptime("2012", "%Y")
 
 if not hasattr(pyinotify, '__version__') \
   or LooseVersion(pyinotify.__version__) < '0.8.3':


Bug#631504: Fwd: Re: unusable for non-root users with or without setuid

2013-08-22 Thread basti
Hi,
same behavior like Message #115.

basti


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



Bug#538863: python-django: Please include the init.d script to start/stop FastCGI processes

2009-07-27 Thread basti


Package: python-django
Version: 1.1~rc1-1
Severity: normal

Hi!

It would be nice to include the init.d script by Guillermo Fernandez  
Castellanos et al. (as advertised in the django wiki).

http://code.djangoproject.com/wiki/InitdScriptForDebian

As far as I know, this script used in most installations already anyway.

Thanks for making my life easier!
Sebastian

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

Kernel: Linux 2.6.26-1-amd64 (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 python-django depends on:
ii  python2.5.2-3An interactive high-level  
object-o
ii  python-support0.8.4  automated rebuilding  
support for P


Versions of packages python-django recommends:
ii  libjs-jquery  1.2.6-2JavaScript library for  
dynamic web


Versions of packages python-django suggests:
ii  python-flup 1.0.2-1  Implements Python Web  
Server Gatew

ii  python-mysqldb  1.2.2-7  A Python interface to MySQL
pn  python-psycopg  none   (no description available)
ii  python-psycopg2 2.0.7-4  Python module for PostgreSQL

-- 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