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

Bug#752394: cups installation hangs in triggers



On 2014-06-23 19:02:50 +0200, Didier 'OdyX' Raboud wrote:
> Can you reproduce this problem or was it a one-off problem?

I tried to reproduce the problem by doing a reinstall on the cups
related packages. I even did:

  apt-get install --reinstall libslang2:amd64 libboost-iostreams1.54.0:amd64 libboost-system1.54.0:amd64 libboost-chrono1.54.0:amd64 libboost-program-options1.54.0:amd64 libboost-thread1.54.0:amd64 clang-3.4 libclang-common-3.4-dev libllvm3.4:amd64 libclang1-3.4:amd64 libcupsfilters-dev libtiff5-dev:amd64 libtiffxx5:amd64 libtiff5:amd64 libcupsfilters1:amd64 libfontembed1:amd64 fuse libfuse2:amd64 libibus-1.0-5:amd64 libicu52-dbg libicu-dev:amd64 icu-devtools libicu52:amd64 libimobiledevice4:amd64 libsoundtouch0-dbg:amd64 libsoundtouch0:amd64 clang-3.4-doc clang-format-3.4 gcc-doc-base gcc-4.9-doc cpp-4.9-doc cpp-doc cups-browsed cups-filters-core-drivers cups-filters flashplugin-nonfree gcc-doc gir1.2-ibus-1.0 liblist-allutils-perl libdatetime-timezone-perl libdevel-symdump-perl libgraphicsmagick3 libgraphicsmagick++3 telepathy-mission-control-5 libmission-control-plugins0 libneon27-gnutls-dbg libneon27-gnutls libnet-dns-perl libnet-idn-encode-perl libperlio-gzip-perl libyaml-perl llvm-3.4-dev llvm-3.4 llvm-3.4-runtime llvm-3.4-doc perl-tk unicode-data xpp xserver-xorg-video-qxl libclang1-3.4-dbg libllvm3.4-dbg:amd64

which corresponds to the upgrade, but again, everything is fine.

> What init system are you using?

sysvinit

> Could you eventually attach your /etc/cups/cupsd.conf file?

Attached, but AFAIK, that's the default file.

I've looked at the /var/log/syslog messages, and here are the messages
that occurred during the upgrade. They seem to be normal.

[...]
Jun 23 13:00:35 ypig sensord:   temp1: 49.0 C
Jun 23 13:00:35 ypig sensord:   temp2: 42.0 C
Jun 23 13:00:35 ypig sensord:   temp3: 31.0 C
Jun 23 13:00:35 ypig sensord:   temp4: -128.0 C
Jun 23 13:03:49 ypig PackageKit: daemon quit
Jun 23 13:04:53 ypig gdm-launch-environment][32210]: AccountsService: Ignoring non-user session 10 (class greeter)
Jun 23 13:04:53 ypig gdm-launch-environment][32210]: AccountsService: ActUserManager: (mostly) ignoring tty session '288' since it's not graphical
Jun 23 13:04:53 ypig gdm-launch-environment][32210]: AccountsService: AcUserManager: (mostly) ignoring session '288' since it's not graphical
Jun 23 13:04:53 ypig gdm-launch-environment][32210]: AccountsService: ActUser: adding session 288
Jun 23 13:04:53 ypig gdm-launch-environment][32210]: AccountsService: ActUserManager: sessions changed (user vlefevre) num=0
Jun 23 13:04:53 ypig gdm-launch-environment][32210]: AccountsService: ActUserManager: added session for user vlefevre
Jun 23 13:04:53 ypig gnome-session[32213]: DEBUG(+): GsmSystemd: received logind signal: SessionNew
Jun 23 13:04:53 ypig gnome-session[32213]: DEBUG(+): GsmSystemd: ignoring SessionNew signal
Jun 23 13:04:55 ypig gdm-launch-environment][32210]: AccountsService: ActUserManager: user vlefevre changed
Jun 23 13:06:53 ypig gdm-launch-environment][32210]: AccountsService: Ignoring non-user session 10 (class greeter)
Jun 23 13:06:53 ypig gdm-launch-environment][32210]: AccountsService: ActUserManager: (mostly) ignoring tty session '289' since it's not graphical
Jun 23 13:06:53 ypig gdm-launch-environment][32210]: AccountsService: AcUserManager: (mostly) ignoring session '289' since it's not graphical
Jun 23 13:06:53 ypig gdm-launch-environment][32210]: AccountsService: ActUser: adding session 289
Jun 23 13:06:53 ypig gdm-launch-environment][32210]: AccountsService: ActUserManager: sessions changed (user vlefevre) num=0
Jun 23 13:06:53 ypig gdm-launch-environment][32210]: AccountsService: ActUserManager: added session for user vlefevre
Jun 23 13:06:53 ypig gnome-session[32213]: DEBUG(+): GsmSystemd: received logind signal: SessionNew
Jun 23 13:06:53 ypig gnome-session[32213]: DEBUG(+): GsmSystemd: ignoring SessionNew signal
Jun 23 13:06:55 ypig gdm-launch-environment][32210]: AccountsService: ActUserManager: user vlefevre changed
Jun 23 13:07:28 ypig console-kit-daemon[7849]: GLib-CRITICAL: Source ID 839 was not found when attempting to remove it
Jun 23 13:07:36 ypig kernel: [434502.405305] traps: ld-linux-x32.so[21737] general protection ip:f7777cbd sp:ff9986e8 error:0 in ld-2.19.so[f7761000+20000]
Jun 23 13:07:37 ypig kernel: [434502.532327] traps: ld-linux-x32.so[21760] general protection ip:f7798cbd sp:fffa8cc8 error:0 in ld-2.19.so[f7782000+20000]
Jun 23 13:07:37 ypig kernel: [434502.564322] traps: ld-linux-x32.so[21773] general protection ip:f77a5cbd sp:ffe63498 error:0 in ld-2.19.so[f778f000+20000]
Jun 23 13:07:37 ypig kernel: [434502.592359] traps: ld-linux-x32.so[21786] general protection ip:f7797cbd sp:ffa36308 error:0 in ld-2.19.so[f7781000+20000]
Jun 23 13:07:37 ypig kernel: [434503.020568] traps: ld-linux-x32.so[21833] general protection ip:f772dcbd sp:ffb84a08 error:0 in ld-2.19.so[f7717000+20000]
Jun 23 13:07:37 ypig kernel: [434503.116624] traps: ld-linux-x32.so[21854] general protection ip:f7789cbd sp:ff8dcd28 error:0 in ld-2.19.so[f7773000+20000]
Jun 23 13:07:37 ypig kernel: [434503.148646] traps: ld-linux-x32.so[21867] general protection ip:f7738cbd sp:ffdbc648 error:0 in ld-2.19.so[f7722000+20000]
Jun 23 13:07:37 ypig kernel: [434503.188657] traps: ld-linux-x32.so[21880] general protection ip:f7768cbd sp:ff9b6168 error:0 in ld-2.19.so[f7752000+20000]
Jun 23 13:07:37 ypig kernel: [434503.236680] traps: ld-linux-x32.so[21893] general protection ip:f771dcbd sp:ffa6d098 error:0 in ld-2.19.so[f7707000+20000]
Jun 23 13:07:37 ypig kernel: [434503.280701] traps: ld-linux-x32.so[21906] general protection ip:f7749cbd sp:ffe57b08 error:0 in ld-2.19.so[f7733000+20000]
Jun 23 13:07:42 ypig kernel: [434507.978338] do_general_protection: 14 callbacks suppressed
Jun 23 13:07:42 ypig kernel: [434507.978342] traps: ld-linux-x32.so[22439] general protection ip:f7788cbd sp:ffac7208 error:0 in ld-2.19.so[f7772000+20000]
Jun 23 13:07:42 ypig kernel: [434508.023230] traps: ld-linux-x32.so[22452] general protection ip:f77b4cbd sp:ffbec638 error:0 in ld-2.19.so[f779e000+20000]
Jun 23 13:07:42 ypig kernel: [434508.059238] traps: ld-linux-x32.so[22465] general protection ip:f7756cbd sp:ffcce288 error:0 in ld-2.19.so[f7740000+20000]
Jun 23 13:07:42 ypig kernel: [434508.111265] traps: ld-linux-x32.so[22478] general protection ip:f7786cbd sp:fff69bd8 error:0 in ld-2.19.so[f7770000+20000]
Jun 23 13:07:43 ypig kernel: [434509.092645] traps: ld-linux-x32.so[22733] general protection ip:f77e7cbd sp:ffbecde8 error:0 in ld-2.19.so[f77d1000+20000]
Jun 23 13:07:43 ypig kernel: [434509.117034] traps: ld-linux-x32.so[22746] general protection ip:f77e5cbd sp:ffe75808 error:0 in ld-2.19.so[f77cf000+20000]
Jun 23 13:07:43 ypig kernel: [434509.136794] traps: ld-linux-x32.so[22759] general protection ip:f7721cbd sp:ffa8a978 error:0 in ld-2.19.so[f770b000+20000]
Jun 23 13:07:43 ypig kernel: [434509.154218] traps: ld-linux-x32.so[22772] general protection ip:f77ebcbd sp:ff8788a8 error:0 in ld-2.19.so[f77d5000+20000]
Jun 23 13:07:43 ypig kernel: [434509.170587] traps: ld-linux-x32.so[22785] general protection ip:f7755cbd sp:ffebd308 error:0 in ld-2.19.so[f773f000+20000]
Jun 23 13:07:43 ypig kernel: [434509.192610] traps: ld-linux-x32.so[22798] general protection ip:f76f6cbd sp:fff2c898 error:0 in ld-2.19.so[f76e0000+20000]
Jun 23 13:07:52 ypig dbus[1959]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Jun 23 13:07:52 ypig PackageKit: daemon start
Jun 23 13:07:52 ypig dbus[1959]: [system] Successfully activated service 'org.freedesktop.PackageKit'
[...]

The messages at 13:04:53 and 13:06:53 correspond to ssh to the
machine (since I did the upgrade remotely).

I suspect that

  Jun 23 13:03:49 ypig PackageKit: daemon quit

is related to the upgrade. I also got it when I retested the upgrade.

The traps correspond to the execution of x32 executables, probably
due to ldd (a known bug).

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
#
# "$Id: cupsd.conf.in 9407 2010-12-09 21:24:51Z mike $"
#
# Sample configuration file for the CUPS scheduler.  See "man cupsd.conf" for a
# complete description of this file.
#

# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel warn

# Deactivate CUPS' internal logrotating, as we provide a better one, especially
# LogLevel debug2 gets usable now
MaxLogSize 0

# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock

# Show shared printers on the local network.
Browsing On
BrowseLocalProtocols dnssd

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Web interface setting...
WebInterface Yes

# Restrict access to the server...
<Location />
  Order allow,deny
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>

# Set the default printer/job policies...
<Policy default>
  # Job/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default

  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
  </Limit>

  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

# Set the authenticated printer/job policies...
<Policy authenticated>
  # Job/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default

  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    AuthType Default
    Order deny,allow
  </Limit>

  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

#
# End of "$Id: cupsd.conf.in 9407 2010-12-09 21:24:51Z mike $".
#

Reply to: