pcscd.service: Referenced but unset environment variable evaluates to an empty string: PCSCD_ARGS

Bug #2107311 reported by Sundar Nagarajan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pcsc-lite (Ubuntu)
New
Undecided
Unassigned

Bug Description

Bug is in package pcscd, but form field above gives error 'pcscd does not exist in Ubuntu' !

apt-cache show pcscd
Package: pcscd
Architecture: amd64
Version: 2.0.3-1build1
Multi-Arch: foreign
Priority: extra
Section: universe/misc
Source: pcsc-lite
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Ludovic Rousseau <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 167
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: libccid | pcsc-ifd-handler, libc6 (>= 2.38), libglib2.0-0t64 (>= 2.12.0), libpolkit-gobject-1-0 (>= 0.101), libsystemd0, libudev1 (>= 183), libpcsclite1 (= 2.0.3-1build1)
Suggests: systemd
Filename: pool/universe/p/pcsc-lite/pcscd_2.0.3-1build1_amd64.deb
Size: 61722
MD5sum: 62d5cc461f6a975344398561a01b60e9
SHA1: f33fb2b219ae5a02b94b474184a86811c1c67918
SHA256: cf2368a4200e7a69b61646f6c70c10dbe9082a0897db7bbca921503440319540
SHA512: fd03e3e75ebdf4d3d029f601845427ab20c170ffa742cb35d69574d617023812b5a7435f78371289cd3cebba13e711c2ecc821da93c2bc91da7a92b91ce34408
Homepage: https://pcsclite.apdu.fr/
Description-en: Middleware to access a smart card using PC/SC (daemon side)
 The purpose of PC/SC Lite is to provide a Windows(R) SCard interface
 in a very small form factor for communicating to smart cards and
 smart cards readers.
 .
 The PC/SC daemon is used to dynamically allocate/deallocate reader
 drivers at runtime and manage connections to the readers.
Description-md5: 40f2879e95ee03b8541cb267e0af1f29

Putput of lsb_release -rd:
No LSB modules are available.
Description: Ubuntu 24.04.2 LTS
Release: 24.04

output of 'apt-cache policy pcscd':
pcscd:
  Installed: 2.0.3-1build1
  Candidate: 2.0.3-1build1
  Version table:
 *** 2.0.3-1build1 500
        500 https://us.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
        100 /var/lib/dpkg/status

The following WARNING (not error) appears in journalctl log:

pcscd.service: Referenced but unset environment variable evaluates to an empty string: PCSCD_ARGS

Fix:
Add definition of PCSCD_ARGS="" to /etc/default/pcscd:

Existing /etc/default/pcscd is an empty file

New /etc/default/pcscd with line added:

PCSCD_ARGS=

Paul White (paulw2u)
affects: ubuntu → pcsc-lite (Ubuntu)
Revision history for this message
Ludovic Rousseau (ludovic-rousseau-gmail) wrote :

This is fixed upstream in version 2.3.1 of pcsc-lite with a default /etc/default/pcscd
https://blog.apdu.fr/posts/2024/12/new-version-of-pcsc-lite-231/

It will be fixed in Ubuntu 25.04.

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.