Bug#1010623: more debug info needed

2022-05-23 Thread Dick Middleton

On 5/21/22 9:44 PM, Thomas Lange wrote:


I've just called dracut --debug /tmp/tempfile on my machine Debian
bullseye, kernel 5.10.0-14-amd64, no crypto partition.
I can see, that dracut adds the ccm module by itself and also installs
the ccm.ko into the initrd.


Running dracut --debug does something horrible to my system forcing me to reboot so I've 
not been able to run it to completion.  In what I had of the log file it did seem to be 
installing the ccm and ecb modules.


I don't know what's going on. Maybe dracut is looking at the running system to see what's 
loaded.  Remember the version that didn't boot was built on a 5.4 system where the module 
organisation seems to be different.


I suppose I could go back to the old system and try building the new initrd again to get 
the log.



Maybe uyou can alos provide some information about the
encrypted root file system. I do not know how crypt setups work, but I
guess we need the encryption type of the file system and maybe other
infos about it.


I attach the luks dump of the partition header.  I don't think there's anything 
non-standard about it.


The partition is a md raid-5 assembly which is luks encrypted.  It contains an lvm pv/vg 
with all my filesystems (mostly xfs) in it.


I'm not sure how much pursuing this is worth the effort.  Perhaps recording the workaround 
(load the modules in dracut) in case someone else hits the problem is sufficient.


Dick

--
Dick Middleton  d...@lingbrae.com

LUKS header information
Version:2
Epoch:  4
Metadata area:  16384 [bytes]
Keyslots area:  1678 [bytes]
UUID:   
Label:  (no label)
Subsystem:  (no subsystem)
Flags:  (no flags)

Data segments:
  0: crypt
offset: 16777216 [bytes]
length: (whole device)
cipher: aes-xts-plain64
sector: 512 [bytes]

Keyslots:
  0: luks2
Key:512 bits
Priority:   normal
Cipher: aes-xts-plain64
Cipher key: 512 bits
PBKDF:  argon2i
Time cost:  4
Memory: 735048
Threads:4
Salt:   
AF stripes: 4000
AF hash:sha256
Area offset:32768 [bytes]
Area length:258048 [bytes]
Digest ID:  0
  1: luks2
Key:512 bits
Priority:   normal
Cipher: aes-xts-plain64
Cipher key: 512 bits
PBKDF:  argon2i
Time cost:  4
Memory: 710101
Threads:4
Salt:   
AF stripes: 4000
AF hash:sha256
Area offset:290816 [bytes]
Area length:258048 [bytes]
Digest ID:  0
Tokens:
Digests:
  0: pbkdf2
Hash:   sha256
Iterations: 62653
Salt:   
Digest: 



Bug#1010623: more debug info needed

2022-05-21 Thread Dick Middleton

On 5/20/22 11:38 PM, Thomas Lange wrote:


Can you please provide the output of
# lsinitrd /boot/initrd.img-..

on the old and new system?

PLease also create a new temp initrd on the new system to see the log
of the creation process:

# dracut -v /tmp/tempfile


I attach tar archive:

  1) contents of initrd for 5.4.0-0.bpo-amd64 (aka "old system")
 as dracut-5.4.0-0.bpo-amd64.lst

  2) contents of initrd for 5.10.0-13-amd64 (aka "new system")
 as  dracut-5.10.0-13-amd64.lst
 but note this was built with drivers+=" ccm ecb " applied.

  3) log of build for 5.10.0-13-amd64
 as dracut-build.log
 but note the drivers+=... NOT applied.

I hope that's helpful

Dick



dracut-debug-info.tar.gz
Description: application/gzip


Bug#1010623: which dracut version

2022-05-18 Thread Dick Middleton

On 5/18/22 8:43 AM, Thomas Lange wrote:

Which dracut version are you using?


051-1 according to aptitude.

[ I realised after I'd posted this report that the issue was probably with dracut rather 
than the kernel.  Apologies for any annoyance caused. ]


--
Dick Middleton  d...@lingbrae.com



Bug#1010623: linux-image-amd64: Missing Crypto Modules

2022-05-05 Thread Dick Middleton
Package: linux-image-amd64
Version: 5.10.106-1
Severity: serious
Justification: 4

Dear Maintainer,

Upgrading Stable to Bullseye no longer can access encrypted root file system. 
Prevents booting. 

Needed to add crypto modules ecb and ccm (although I'm not sure which or both 
were needed) to initrd as both were missing.

Was using dracut to build initrd.

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

Kernel: Linux 5.10.0-13-amd64 (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-amd64 depends on:
ii  linux-image-5.10.0-13-amd64  5.10.106-1

linux-image-amd64 recommends no packages.

linux-image-amd64 suggests no packages.

-- debconf-show failed



Bug#721903: Dependency problem

2013-09-10 Thread Dick Middleton

I think this might be because libgpgme11 v1.2 depended on gnupg whereas
libgpgme11 v1.4 depends on gnupg2.

mandos-client depends on gnupg.

In initrd only gnupg files are included whereas at console both gnupg and
gnupg2 files are available.

Needs to be proved!

Dick

-- 
Dick Middleton
d...@lingbrae.com


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



Bug#697221: motion: No longer has support for mysql

2013-01-02 Thread Dick Middleton
Package: motion
Version: 3.2.12-3.2
Severity: serious
Justification: 4

Dear Maintainer,

   * What led up to the situation?

upgrade from squeeze to wheezy

   * What exactly did you do (or not do) that was effective (or
 ineffective)?

no longer connects to mysql
  reports unknown config option mysql_*

Jan  2 19:42:42 hagrid motion: [0] Unknown config option mysql_host
Jan  2 19:42:42 hagrid motion: [0] Unknown config option mysql_db
Jan  2 19:42:42 hagrid motion: [0] Unknown config option mysql_user
Jan  2 19:42:42 hagrid motion: [0] Unknown config option mysql_password

  ldd doesn't include mysql libs

ldd /usr/bin/motion | grep -i sql

All indicates it's not built with mysql support.


-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.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

Versions of packages motion depends on:
ii  adduser3.113+nmu3
ii  debconf [debconf-2.0]  1.5.48
ii  libavcodec53   6:0.8.4-1
ii  libavformat53  6:0.8.4-1
ii  libavutil516:0.8.4-1
ii  libc6  2.13-37
ii  libjpeg8   8d-1
ii  libpq5 9.1.7-1

Versions of packages motion recommends:
ii  ffmpeg  6:0.8.4-1

Versions of packages motion suggests:
ii  mysql-client 5.5.28+dfsg-1
ii  mysql-client-5.5 [mysql-client]  5.5.28+dfsg-1
pn  postgresql-clientnone

-- Configuration Files:
/etc/default/motion changed:
start_motion_daemon=yes

/etc/init.d/motion changed:
NAME=motion
PATH_BIN=/bin:/usr/bin:/sbin:/usr/sbin
DAEMON=/usr/bin/motion
PIDFILE=/var/run/$NAME.pid
DEFAULTS=/etc/default/$NAME
DESC=motion detection daemon
ENV=env -i LANG=C PATH=$PATH_BIN
. /lib/lsb/init-functions
test -x $DAEMON || exit 0
RET=0
[ -r $DEFAULTS ]  . $DEFAULTS || start_motion_daemon=yes
check_daemon_enabled () {
if [ $start_motion_daemon = yes ] ; then
return 0
else
log_warning_msg Not starting $NAME daemon, disabled via 
/etc/default/$NAME
return 1
fi
}
case $1 in
  start)
if check_daemon_enabled ; then
log_daemon_msg Starting $DESC $NAME 
if start-stop-daemon --start --oknodo --exec $DAEMON -b --chuid motion ; then
log_end_msg 0
else
log_end_msg 1
RET=1
fi
fi
;;
  stop)
log_daemon_msg Stopping $DESC $NAME
if start-stop-daemon --stop --oknodo --exec $DAEMON --retry 30 ; then
log_end_msg 0
else
log_end_msg 1
RET=1
fi
;;
  reload|force-reload)
log_daemon_msg Reloading $NAME configuration
if start-stop-daemon --stop --signal HUP --exec $DAEMON ; then
log_end_msg 0
else
log_end_msg 1
RET=1
fi
;;
  restart-motion)
if check_daemon_enabled ; then
log_action_begin_msg Restarting $NAME
if $0 stop  $0 start ; then
log_action_end_msg 0
else
log_action_cont_msg (failed)
RET=1
fi
fi
;;
  restart)
$0 restart-motion
;;
  *)
echo Usage: /etc/init.d/$NAME {start|stop|restart|reload}
RET=1
;;
esac
exit $RET

/etc/motion/motion.conf changed:
daemon on
quiet on
text_right %d-%b-%y\n%H:%M:%S
target_dir /var/motion
output_normal off
low_cpu 2
post_capture 10
control_html_output on
control_port 8084
control_localhost on  # only localhost can access
snapshot_filename %u.%a.%b%d/cam%t/s%Y%m%d%H%M%S-%v
jpeg_filename %u.%a.%b%d/cam%t/p%H%M%S-%q-%v
on_movie_end /etc/motion/offsiteit %f
sql_log_mpeg on
sql_query insert into security(camera, filename, frame, file_type, time_stamp, 
event_time_stamp) values('%t', '%f', '%q', '%n', '%Y-%m-%d %T', '%C')
mysql_host localhost
mysql_db motion 
mysql_user web
mysql_password web
webcam_quality 80
webcam_maxrate 10
webcam_motion on
thread /etc/motion/cam-elm.conf
thread /etc/motion/cam-ash.conf
thread /etc/motion/cam-oak.conf
thread /etc/motion/cam-larch.conf

/etc/motion/thread1.conf [Errno 2] No such file or directory: 
u'/etc/motion/thread1.conf'
/etc/motion/thread2.conf [Errno 2] No such file or directory: 
u'/etc/motion/thread2.conf'
/etc/motion/thread3.conf [Errno 2] No such file or directory: 
u'/etc/motion/thread3.conf'
/etc/motion/thread4.conf [Errno 2] No such file or directory: 
u'/etc/motion/thread4.conf'

-- debconf information:
  motion/moved_conf_dir:


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



Bug#498917: Same on 0.7.1-2

2008-10-26 Thread Dick Middleton
FWIW I get these exact symptoms with 0.7.1-2 on my eeePC BUT only with 
plain encrypt=y.  With RSA encryption it works OK.


kernel 2.6.26-8

Dick





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



Bug#437157: wmbubble segfaults

2007-08-10 Thread Dick Middleton

But it doesn't segfault if -d or -u options are set.  It's that damn duck!

It says memory usage is 66% - duck is near top - perhaps about to go 
upside-down.  If I reduce memory usage then it starts OK and doesn't seem to die 
when I increase memory use again.  Not very consistent so hard to be sure.


Dick


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



Bug#437157: wmbubble segfaults

2007-08-10 Thread Dick Middleton
Package: wmbubble
Version: 1.46-1+b1
Severity: grave
Justification: renders package unusable


Upgrade [UPGRADE] wmbubble 1.46-1 - 1.46-1+b1

was OK now segfaults shortly after starting.

No other info I can find.


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

Kernel: Linux 2.6.19.2-ron (PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages wmbubble depends on:
ii  libc62.6.1-1 GNU C Library: Shared libraries
ii  libglib1.2ldbl   1.2.10-19   The GLib library of C routines
ii  libgtk1.21.2.10-18.1 The GIMP Toolkit set of widgets fo
ii  libx11-6 2:1.0.3-7   X11 client-side library
ii  libxext6 1:1.0.3-2   X11 miscellaneous extension librar
ii  libxi6   2:1.1.2-1   X11 Input extension library

wmbubble recommends no packages.

-- no debconf information


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