[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#517795: glibc wants to restart xscreensaver, which has no init script



Package: libc6
Version: 2.9-3
Severity: normal

After acknowledging the latest glibc upgrade, libc6 spits out a warning
message:

 Preparing to replace libc6 2.7-18 (using .../g/glibc/libc6_2.9-3_i386.deb) ...
 Checking for services that may need to be restarted...
 Checking init scripts...
 WARNING: init script for xscreensaver not found.
 Unpacking replacement libc6 ...

Well, that's expected because xscreensaver doesn't have an init script.

I had to deal with xscreensaver in libpam for the etch->lenny upgrade; you
may find the following snippets useful:

preinst:

 . /usr/share/debconf/confmodule

 if dpkg --compare-versions "$2" lt-nl 0.99.10.0; then
        db_version 2.0

        if pidof xscreensaver xlockmore >/dev/null; then
                db_input critical libpam-modules/disable-screensaver || true
                db_go || true
        fi
 fi

templates:

 Template: libpam-modules/disable-screensaver
 Type: error
 Description: xscreensaver and xlockmore must be restarted before upgrading
  One or more running instances of xscreensaver or xlockmore have been
  detected on this system.  Because of incompatible library changes, the
  upgrade of the libpam-modules package will leave you unable to
  authenticate to these programs.  You should arrange for these programs
  to be restarted or stopped before continuing this upgrade, to avoid
  locking your users out of their current sessions.

A number of translations of this template are also available, feel free to
pluck them from the source package.

-- System Information:
Debian Release: 5.0
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (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/dash

Versions of packages libc6 depends on:
ii  libgcc1                       1:4.3.3-3  GCC support library

libc6 recommends no packages.

Versions of packages libc6 suggests:
ii  glibc-doc                     2.7-18     GNU C Library: Documentation
pn  libc6-i686                    <none>     (no description available)
pn  locales                       <none>     (no description available)

-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
* glibc/upgrade: true
  glibc/restart-failed:
  glibc/restart-services:



Reply to: