You are not logged in.

#1 2023-06-08 19:25:22

rodolfoser
Member
Registered: 2023-06-08
Posts: 5

Disable polkit support

Hello,

recently the arch package for pcsclite changed their PKGBUILD to build pcsclite with polkit support:
Changes in 1.9.9-3

./configure \
    --prefix=/usr \
    --sbindir=/usr/bin \
    --sysconfdir=/etc \
    --disable-static \
    --enable-filter \
    --enable-ipcdir=/run/pcscd \
    --enable-libudev \
    --enable-usbdropdir=/usr/lib/pcsc/drivers \
    --enable-polkit \
    --with-systemdsystemunitdir=/usr/lib/systemd/system



I am now facing the problem, that in initramfs no polkit daemon is available.
Before integrating polkit support in pcscd, i was able to connect to my Smartcard in initramfs stage.
Now with polkit support it seems pcscd is not letting opensc connect to its daemon anymore.
I think because it lacks the polkit libraries etc, so it denies all requests by default.

Is it possible to start pcscd without polkit support, so i can use pcscd in initram stage ?
Any other idea how to use pcscd in this stage is also greatly appreciated

Many thanks

Rodolfo

Offline

#2 2023-06-08 20:02:35

rodolfoser
Member
Registered: 2023-06-08
Posts: 5

Re: Disable polkit support

Never mind,

option --disable-polkit has been merged into pcsc-lite.
So far not been released, but should occur on next cycle

https://lists.infradead.org/pipermail/p … 01347.html

Offline

#3 2025-03-29 11:34:19

BEEDELLROKEJULIANLOCKHART
Member
From: https://dub.sh/6uz3LQq
Registered: 2022-05-12
Posts: 13
Website

Re: Disable polkit support

Would that parameter go in the service file?


When using a forum, remember to tag the person you are responding to, in case they are not subscribed to the thread.

Offline

#4 2025-03-29 12:40:09

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,702
Website

Re: Disable polkit support

You have previously been warned and banned for necrobumping. Consider this a final warning. Do not necrobump.

https://wiki.archlinux.org/title/Genera … bumping%22

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB