Apparently this is still happening in Jammy for some reason (maybe a
regression), as according to this [1] bug report claiming that this bug
is the cause of it.

This is the command that I run to hit it (doesn't need anything in
particular for the command to work, can run anywhere such as a fresh new
container):

mellon_create_metadata https://sp.10.5.100.3/mellon
https://sp.10.5.100.3/v3/OS-
FEDERATION/identity_providers/idp.10.5.100.2/protocols/saml2/auth/mellon

It fails silently to create the xml file that it should be creating. It
works fine in focal, but doesn't work in jammy.

Versions in jammy:
libapache2-mod-auth-mellon      0.18.0-1build1
apache2-bin                     2.4.52-1ubuntu4.8
openssl                         3.0.2-0ubuntu1.15
libssl3:amd64                   3.0.2-0ubuntu1.15
libxmlsec1-openssl:amd64        1.2.33-1build2

versions in focal:
libapache2-mod-auth-mellon       0.16.0-1ubuntu0.1
apache2-bin                      2.4.41-4ubuntu3.16
openssl                          1.1.1f-1ubuntu2.22
libssl1.1:amd64                  1.1.1f-1ubuntu2.22
libxmlsec1-openssl:amd64         1.2.28-2

[1] https://bugs.launchpad.net/ubuntu/+source/ssl-cert/+bug/2052795

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to hplip in Ubuntu.
https://bugs.launchpad.net/bugs/1945774

Title:
  openssl: breaks ssl-cert installation:
  8022CB35777F0000:error:1200007A:random number
  generator:RAND_write_file:Not a regular
  file:../crypto/rand/randfile.c:190:Filename=/dev/urandom

Status in hplip package in Ubuntu:
  Fix Released
Status in ssl-cert package in Ubuntu:
  Fix Released
Status in hplip source package in Jammy:
  New
Status in ssl-cert source package in Jammy:
  New
Status in ssl-cert package in Debian:
  Fix Released

Bug description:
  Imported from Debian bug http://bugs.debian.org/990228:

  Package: openssl
  Version: 3.0.0~~alpha16-1
  Severity: serious
  User: [email protected]
  Usertags: piuparts

  Hi,

  during a test with piuparts I noticed your package causes other package
  to fail installation/upgrading.

  From the attached log (scroll to the bottom...):

  ...
    Setting up openssl (3.0.0~~alpha16-1) ...
    Setting up libbsd0:amd64 (0.11.3-1) ...
    Setting up readline-common (8.1-2) ...
    Setting up libxml2:amd64 (2.9.10+dfsg-6.7) ...
    Setting up libgdbm6:amd64 (1.19-2) ...
    Setting up postgresql-client-common (226) ...
    Setting up libedit2:amd64 (3.1-20210522-1~exp1) ...
    Setting up libreadline8:amd64 (8.1-2) ...
    Setting up libldap-2.4-2:amd64 (2.4.57+dfsg-3) ...
    Setting up libllvm11:amd64 (1:11.0.1-2) ...
    Setting up ssl-cert (1.1.0+nmu1) ...
    Could not create certificate. Openssl output was:
    Generating a RSA private key
    
..+..+......+.......+.....+...+.........+.......+...+..+...+.+..+...+.........+.......+...+..+.........+.+...........+...+.+......+........+......+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+..........+........+.......+.........+..+...+....+..+.+............+..+................+...+............+..+.............+...+..+.......+...+.....+..................+.......+.........+........+.+........................+............+.........+..+.........+.+..+......+.+...........+.........+.+.....+....+.........+.....+.+....................+....+............+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    
..+.+........+...+...+.......+..................+..+.........+...+.+............+...+.....+......................+..+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+...+....+......+...+..+...+..........+.....+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+......+...+....+..+....+..+....+.........+..+...+....+.....+.+......+.....+.+..+.............+..+..........+..+.+........+............+.........+....+..+.......+.....+...+.......+...+...+..+....+...+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Writing new private key to '/etc/ssl/private/ssl-cert-snakeoil.key'
    -----
    Warning: No -copy_extensions given; ignoring any extensions in the request
    Cannot write random bytes:
    8022CB35777F0000:error:1200007A:random number generator:RAND_write_file:Not 
a regular file:../crypto/rand/randfile.c:190:Filename=/dev/urandom
    dpkg: error processing package ssl-cert (--configure):
     installed ssl-cert package post-installation script subprocess returned 
error exit status 1
    dpkg: dependency problems prevent configuration of postgresql-common:
     postgresql-common depends on ssl-cert (>= 1.0.11); however:
      Package ssl-cert is not configured yet.
  ...

  Hmm, well, yes, /dev/urandom is not a regular file. It's a character
  device node.

  
  cheers,

  Andreas

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1945774/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to