Am Dienstag, 5. Januar 2016, 23:21:35 CET schrieb Thomas Liske:
> tags 810031 fixed-upstream
> thanks
>
> Re,
>
> there was a typo which slipped into the release :-/
>
> Since the typo lead to an unexpected abort within the kernel detection
> stuff the stdin/stdout fd's of debconf were not restored so you got
> the debconf garbage on your TTY.
>
> Fixed and released upstream.
Will you upload shortly? Otherwise what can I fix locally to fix it?
150 »·······if(!$is_x86 || undefined($verstr)) {
151 »······· ($verstr, $abidtc) = nr_linux_version_generic($debug, $fn);
152 »·······}
Ah, okay, found you fixed it as I thought about fixing it myself:
- if(!$is_x86 || undefined($verstr)) {
+ unless(defined($verstr)) {
https://github.com/liske/needrestart/commit/
15f8effcd00fdc3237b49878c0242dc82aadcf54
Thanks,
Martin
> HTH,
> Thomas
>
> On Tue, Jan 05, 2016 at 09:52:05PM +0100, Martin Steigerwald wrote:
> > Am Dienstag, 5. Januar 2016, 21:43:53 CET schrieb Thomas Liske:
> > > tags 810031 upstream
> > > severity 810031 important
> > > thanks
> > >
> > >
> > > Hi Martin,
> > >
> > > Since your system's arch is i386 it should not have changed anything
> > > in the kernel detection stuff. Could you please provide the output of
> > > `needrestart -v`?
> >
> > Nope, its amd64 as stated below:
> >
> > Architecture: amd64 (x86_64)
> >
> > merkaba:~> needrestart -v
> > [main] eval /etc/needrestart/needrestart.conf
> > [main] running in root-mode
> > [Core] Using UI 'NeedRestart::UI::stdio'...
> > [main] detected systemd
> > [main] #1560 uses obsolete binary /usr/bin/sddm
> > [main] #1560 is not a child
> > [main] #2623 uses obsolete binary
> > /usr/lib/x86_64-linux-gnu/sddm/sddm-helper [main] #2623 is a child of
> > #1560
> > [main] #2660 uses obsolete binary /usr/bin/ssh-agent
> > [main] #2660 is a child of #2631
> > [main] #1560 exe => /usr/bin/sddm
> > [main] #1560 unexpected cgroup ''
> > [main] #1560 is sddm.service
> > [main] #2631 exe => /bin/dash
> > [main] #2631 part of user session: uid=1000 sess=2
> > [Kernel] Linux: kernel release 4.4.0-rc8-tp520-btrfstrim+, kernel version
> > #49 SMP PREEMPT Mon Jan 4 11:31:56 CET 2016
> > Failed to load NeedRestart::Kernel::Linux: Undefined subroutine
> > &NeedRestart::Kernel::Linux::undefined called at
> > /usr/share/perl5/NeedRestart/ Kernel/Linux.pm line 150.
> > Failed to load NeedRestart::Kernel::kFreeBSD: [Kernel/kFreeBSD] Not
> > running on GNU/kFreeBSD!
> > Failed to retrieve available kernel versions.
> > Services to be restarted:
> > Restart sddm.service? [yNas?]
> > No containers need to be restarted.
> > User sessions:
> > martin on session #2 is running obsolete startkde[2631]
> >
> > Thanks,
> > Martin
> >
> > > On Tue, Jan 05, 2016 at 08:16:36PM +0100, Martin Steigerwald wrote:
> > > > After each of these "commands" written in capital letters it waited
> > > > for
> > > > some input. I pressed RETURN each time.
> > >
> > > The capital letter stuff is debconf... it should never reach the tty.
> > >
> > > > Kernel is a self-compiled one. But this hasn´t been an issue before.
> > >
> > > Should not be a problem, I'd tested it with a self-compiled 4.3 kernel.
> > >
> > >
> > > TIA,
> > > Thomas
> > >
> > > > Thanks,
> > > > Martin
> > > >
> > > >
> > > > -- Package-specific info:
> > > > needrestart output:
> > > >
> > > > checkrestart output:
> > > >
> > > >
> > > > -- System Information:
> > > > Debian Release: stretch/sid
> > > >
> > > > APT prefers unstable
> > > > APT policy: (500, 'unstable'), (200, 'experimental')
> > > >
> > > > Architecture: amd64 (x86_64)
> > > > Foreign Architectures: i386
> > > >
> > > > Kernel: Linux 4.4.0-rc8-tp520-btrfstrim+ (SMP w/4 CPU cores; PREEMPT)
> > > > Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> > > > Shell: /bin/sh linked to /bin/dash
> > > > Init: sysvinit (via /sbin/init)
> > > >
> > > > Versions of packages needrestart depends on:
> > > > ii dpkg 1.18.4
> > > > ii libmodule-find-perl 0.13-1
> > > > ii libmodule-scandeps-perl 1.20-1
> > > > ii libproc-processtable-perl 0.53-1+b1
> > > > ii libsort-naturally-perl 1.03-1
> > > > ii libterm-readkey-perl 2.33-1+b1
> > > > ii perl 5.22.1-3
> > > > ii xz-utils 5.1.1alpha+20120614-2.1
> > > >
> > > > needrestart recommends no packages.
> > > >
> > > > Versions of packages needrestart suggests:
> > > > pn needrestart-session | libnotify-bin <none>
> > > >
> > > > -- Configuration Files:
> > > > /etc/needrestart/needrestart.conf changed:
> > > > $nrconf{sendnotify} = 0;
> > > > $nrconf{blacklist} = [
> > > >
> > > > # ignore sudo (not a daemon)
> > > > q(^/usr/bin/sudo(\.dpkg-new)?$),
> > > > # ignore DHCP clients
> > > > q(^/sbin/(dhclient|dhcpcd5|pump|udhcpc)(\.dpkg-new)?$),
> > > > # ignore apt-get (Debian Bug#784237)
> > > > q(^/usr/bin/apt-get(\.dpkg-new)?$),
> > > >
> > > > ];
> > > > $nrconf{override_rc} = {
> > > >
> > > > # DBus
> > > > q(^dbus) => 0,
> > > > # display managers
> > > > q(^gdm) => 0,
> > > > q(^kdm) => 0,
> > > > q(^nodm) => 0,
> > > > q(^sddm) => 0,
> > > > q(^wdm) => 0,
> > > > q(^xdm) => 0,
> > > > q(^lightdm) => 0,
> > > > # networking stuff
> > > > q(^network-manager) => 0,
> > > > q(^NetworkManager) => 0,
> > > > q(^wpa_supplicant) => 0,
> > > > q(^openvpn) => 0,
> > > > q(^quagga) => 0,
> > > > q(^tinc) => 0,
> > > > # gettys
> > > > q(^getty@.+\.service) => 0,
> > > > # systemd --user
> > > > q(^user@\d+\.service) => 0,
> > > > # misc
> > > > q(^zfs-fuse) => 0,
> > > > q(^mythtv-backend) => 0,
> > > > # workaround for broken systemd-journald
> > > > # (see also Debian Bug#771122 & #771254)
> > > > q(^systemd-journald) => 0,
> > > > # more systemd stuff
> > > > # (see also Debian Bug#784238 & #784437)
> > > > q(^emergency\.service$) => 0,
> > > > q(^rescue\.service$) => 0,
> > > > # don't restart systemd-logind, see #798097
> > > > q(^systemd-logind) => 0,
> > > >
> > > > };
> > > > if(-d q(/etc/needrestart/conf.d)) {
> > > >
> > > > foreach my $fn (sort </etc/needrestart/conf.d/*.conf>) {
> > > >
> > > > print STDERR "$LOGPREF eval $fn\n" if($nrconf{verbose});
> > > > eval do { local(@ARGV, $/) = $fn; <>};
> > > > die "Error parsing $fn: $@" if($@);
> > > >
> > > > }
> > > >
> > > > }
> > > >
> > > >
> > > > -- no debconf information
> > >
> > > --
> > >
> > > :: WWW: https://fiasko-nw.net/~thomas/ ::
> > > ::: Jabber: xmpp:[email protected] :::
> > > :: flickr: https://www.flickr.com/photos/laugufe/ ::
> --
>
> :: WWW: https://fiasko-nw.net/~thomas/ ::
> ::: Jabber: xmpp:[email protected] :::
> :: flickr: https://www.flickr.com/photos/laugufe/ ::
--
Martin