Use of uninitialized value $ret in string eq at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 134.

Bug #1914875 reported by Sune TB Nielsen
72
This bug affects 9 people
Affects Status Importance Assigned to Milestone
debconf (Ubuntu)
Confirmed
Undecided
Unassigned
glibc (Ubuntu)
Invalid
Undecided
Unassigned
samba (Ubuntu)
Invalid
Undecided
Unassigned
sssd (Ubuntu)
Invalid
Undecided
Unassigned
tzdata (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Some error message popped up. Everything seems normal still.

ProblemType: Package
DistroRelease: Ubuntu 20.10
Package: libpam-sss:amd64 2.3.1-3ubuntu3
ProcVersionSignature: Ubuntu 5.8.0-41.46-generic 5.8.18
Uname: Linux 5.8.0-41-generic x86_64
ApportVersion: 2.20.11-0ubuntu50.5
Architecture: amd64
CasperMD5CheckResult: skip
Date: Sat Feb 6 16:42:33 2021
DuplicateSignature:
 package:libpam-sss:amd64:2.3.1-3ubuntu3
 Setting up libpam-sss:amd64 (2.3.1-3ubuntu3) ...
 Use of uninitialized value $ret in string eq at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 134.
 dpkg: error processing package libpam-sss:amd64 (--configure):
  installed libpam-sss:amd64 package post-installation script subprocess returned error exit status 128
ErrorMessage: installed libpam-sss:amd64 package post-installation script subprocess returned error exit status 128
InstallationDate: Installed on 2020-12-14 (54 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
Python3Details: /usr/bin/python3.8, Python 3.8.6, python3-minimal, 3.8.6-0ubuntu1
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.20.5ubuntu2
 apt 2.1.10ubuntu0.2
SourcePackage: sssd
Title: package libpam-sss:amd64 2.3.1-3ubuntu3 failed to install/upgrade: installed libpam-sss:amd64 package post-installation script subprocess returned error exit status 128
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sune TB Nielsen (sunetb) wrote :
affects: ubuntu → sssd (Ubuntu)
tags: removed: need-duplicate-check
Bryce Harrington (bryce)
summary: - package libpam-sss:amd64 2.3.1-3ubuntu3 failed to install/upgrade:
- installed libpam-sss:amd64 package post-installation script subprocess
- returned error exit status 128
+ Use of uninitialized value $ret in string eq at
+ /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 134.
Revision history for this message
Bryce Harrington (bryce) wrote :

From the log, looks like this hit a bug in debconf. Same issue appears to crop up for other packages (e.g. LP: #1914964).

 Setting up libpam-sss:amd64 (2.3.1-3ubuntu3) ...
 Use of uninitialized value $ret in string eq at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 134.

The code in question is:

sub capb
{
        my $this=shift;
        my $ret;
 return $this->{capb} if exists $this->{capb};

        ($ret, $this->{capb}) = $this->talk('CAPB');
 return $this->{capb} if $ret eq '0';
}

So apparently whatever $this->talk('CAPB') resolves to returned an undefined value for $ret. A paper-over fix might be something like:

 return $this->{capb} if defined $ret and $ret eq '0';

However, would be better to know what triggers the error condition since there could be a deeper problem involved.

Anyway, thanks for reporting this defect in Ubuntu, hopefully there's enough info for the debconf maintainers to take it from here.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in debconf (Ubuntu):
status: New → Confirmed
Changed in sssd (Ubuntu):
status: New → Confirmed
Bryce Harrington (bryce)
Changed in sssd (Ubuntu):
status: Confirmed → Invalid
Changed in glibc (Ubuntu):
status: New → Invalid
Changed in tzdata (Ubuntu):
status: New → Invalid
Benjamin Drung (bdrung)
tags: added: cosmic focal
Changed in samba (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.