[whatmaps] Bug#833120: Restarts user serssion with systemd

Guido Günther agx at sigxcpu.org
Mon Aug 1 08:14:38 CEST 2016


Package: whatmaps
Version: 0.0.11~git0.4e704d-2~1.gbp57c170
Severity: important

Whatmaps adds the user session to the restart file like:

    invoke-rc.d user at 1000 restart

this aborts the running session which is bad.
Cheers,
 -- Guido

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages whatmaps depends on:
ii  debconf [debconf-2.0]  1.5.59
ii  lsb-release            9.20160629
ii  python3-apt            1.1.0~beta4
ii  python3-pkg-resources  20.10.1-1.1
pn  python3:any            <none>

whatmaps recommends no packages.

whatmaps suggests no packages.

-- Configuration Files:
/etc/apt/apt.conf.d/20services changed:
// Set to 1 or true to enable service restarts on security updates
Whatmaps::Enable-Restart "1";
// What updates are considered security updates
Whatmaps::Security-Update-Origins {
   "${distro_id} testing";
   "${distro_id} unstable";
   "${distro_id} stable";
   "${distro_id} ${distro_codename}-security";
};

/etc/apt/apt.conf.d/50whatmaps_apt changed:
DPkg::Pre-Install-Pkgs { "/usr/bin/whatmaps --verbose --debug --apt --restart --print-cmds=/var/lib/whatmaps/restart.sh || true" };
DPkg::Post-Invoke { "if [ -x /var/lib/whatmaps/restart.sh ]; then /var/lib/whatmaps/restart.sh; rm -f /var/lib/whatmaps/restart.sh; fi" };
DPkg::Tools::Options::/usr/bin/whatmaps::Version "2";


-- debconf information:
* whatmaps/enable_service_restarts: true



More information about the whatmaps mailing list