FS#71752 - pcsclite broken, placeholder not replaced

Attached to Project: Community Packages
Opened by Cyrinux (cyrinux) - Friday, 06 August 2021, 10:54 GMT
Last edited by Christian Hesse (eworm) - Friday, 06 August 2021, 13:45 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: pcsclite just get broken


Additional info:
Repository : community
Name : pcsclite
Version : 1.9.2-1
Description : PC/SC Architecture smartcard middleware library
Architecture : x86_64
URL : https://pcsclite.apdu.fr/
Licenses : BSD
Groups : None
Provides : libpcsclite.so=1-64 libpcscspy.so=0-64
Depends On : python systemd libsystemd.so=0-64 libudev.so=1-64
Optional Deps : None
Conflicts With : None
Replaces : None
Download Size : 99.33 KiB
Installed Size : 307.23 KiB
Packager : Christian Hesse <arch@eworm.de>
Build Date : Fri 06 Aug 2021 11:34:00 AM CEST
Validated By : MD5 Sum SHA-256 Sum Signature


$ cat /usr/lib/systemd/system/pcscd.service
[Unit]
Description=PC/SC Smart Card Daemon
Requires=pcscd.socket
Documentation=man:pcscd(8)

[Service]
ExecStart=@sbindir_exp@/pcscd --foreground --auto-exit $PCSCD_ARGS
ExecReload=@sbindir_exp@/pcscd --hotplug
EnvironmentFile=-/etc/default/pcscd

[Install]
Also=pcscd.socket




$ status pcscd
○ pcscd.service - PC/SC Smart Card Daemon
Loaded: bad-setting (Reason: Unit pcscd.service has a bad unit file setting.)
Active: inactive (dead)
TriggeredBy: × pcscd.socket
Docs: man:pcscd(8)

Aug 06 12:45:50 laptop systemd[1]: /usr/lib/systemd/system/pcscd.service:7: Neither a valid executable name nor an absolute path: sbindir_exp>
Aug 06 12:45:50 laptop systemd[1]: pcscd.service: Unit configuration has fatal error, unit will not be started.
This task depends upon

Closed by  Christian Hesse (eworm)
Friday, 06 August 2021, 13:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  pcsclite 1.9.2-2
Comment by Andrii Kravets (sleep0hunger) - Friday, 06 August 2021, 11:37 GMT
If you supply a file /etc/systemd/system/pcscd.service with these lines:

[Unit]
Description=PC/SC Smart Card Daemon
Requires=pcscd.socket
Documentation=man:pcscd(8)

[Service]
ExecStart=/usr/bin/pcscd --foreground --auto-exit $PCSCD_ARGS
ExecReload=/usr/bin/pcscd --hotplug
EnvironmentFile=-/etc/default/pcscd

[Install]
Also=pcscd.socket

and do
sudo systemctl daemon-reload && sudo systemctl start pcscd.service
it starts as usual


Seems it broke on @sbindir_exp@ after upgrade to pcsclite 1.9.2-1:

/usr/lib/systemd/system/pcscd.service:7: Neither a valid executable name nor an absolute path: sbindir_exp@/pcscd
Comment by Chih-Hsuan Yen (yan12125) - Friday, 06 August 2021, 13:43 GMT
This seems an upstream bug. With this patch to PKGBUILD, the built pcsclite has a normal pcscd.service file.
Comment by Christian Hesse (eworm) - Friday, 06 August 2021, 13:45 GMT

Loading...