Your message dated Tue, 04 Feb 2025 03:51:39 +0000
with message-id <[email protected]>
and subject line Bug#1094807: Removed package(s) from unstable
has caused the Debian Bug report #746165,
regarding libpcre3: please automatically restart init in postinst
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
746165: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746165
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpcre3
Version: 1:8.31-4
Severity: wishlist

Hello and thanks for maintaining libpcre3.

I noticed that /sbin/init (from package sysvinit-core) links with this
library:

  $ ldd /sbin/init 
  [...]
          libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcaab659000)
          libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 
(0x00007fcaab3fd000)
  [...]

After upgrading libpcre3, init should be restarted in order to take
advantage of the newly installed version of libpcre3.
This could be automatically performed by the postinst script, in a
way similar to how libc6 handles the same situation.

Compare with libc6 postinst script, which includes the following part:

    # Restart init.  Currently handles chroots and upstart, and assumes
    # anything else is going to not fail at behaving like sysvinit:
    TELINIT=yes
    if ischroot 2>/dev/null; then
        # Don't bother trying to re-exec init from a chroot:
        TELINIT=no
    else
        if [ -x "`which initctl`" ]; then
            UPSTART=$(initctl version 2>/dev/null | awk '/upstart/ {print $3}' 
| tr -d ')')
            if dpkg --compare-versions "$UPSTART" lt-nl 1.6.1; then
                # This is an old upstart that can't re-exec statefully:
                TELINIT=no
                touch /var/run/init.upgraded
            fi
        fi
    fi
    if [ "$TELINIT" = "yes" ]; then
        telinit u 2>/dev/null || true ; sleep 1
    fi


Please consider doing something similar in libpcre3 postinst script.

Thanks for your time.
Bye.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (800, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/2 CPU cores)
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 libpcre3 depends on:
ii  libc6              2.18-4
ii  multiarch-support  2.18-4

libpcre3 recommends no packages.

libpcre3 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 2:8.39-15.1+rm

Dear submitter,

as the package pcre3 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1094807

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Paul Tagliamonte (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to