Skip to contentSkip to conversation

pcscd and serial readers

DISCUSSION Steven Harp 2 participants 3 messages Nov 13, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The pcscd policy (daemon for smart card readers) handles USB readers fine, but balks--for me--when a serial port reader is configured (the daemon quietly dies).

Module rev 1.1.0 includes a line:
term_dontaudit_use_unallocated_ttys(pcscd_t)

Should this perhaps be:
term_use_unallocated_ttys(pcscd_t)
?

# Steve Harp <[email protected]>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHOdBiPcFX9H2zuSkRAnHlAJ94G1DuYjS4EjpH1aqTK2jrQlCLAgCgjveg kNMNxJo+TeL5eW6uAqHJdPQ=
=HQFb
-----END PGP SIGNATURE-----

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 8 lines · Steven Harp

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The pcscd policy (daemon for smart card readers) handles USB readers fine, but balks--for me--when a serial port reader is configured (the daemon quietly dies).

Quoted 6 lines

Module rev 1.1.0 includes a line:
term_dontaudit_use_unallocated_ttys(pcscd_t)

Should this perhaps be:
term_use_unallocated_ttys(pcscd_t)
?

Sounds like it. Did the serial reader start working when you allowed the access?

Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 12 lines · you
Quoted 11 lines · Steven Harp

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The pcscd policy (daemon for smart card readers) handles USB readers fine, but balks--for me--when a serial port reader is configured (the daemon quietly dies).

Module rev 1.1.0 includes a line:
term_dontaudit_use_unallocated_ttys(pcscd_t)

Quoted 9 lines
Quoted 3 lines

Should this perhaps be:
term_use_unallocated_ttys(pcscd_t)
?

Sounds like it. Did the serial reader start working when you allowed the access?

Signature · 1 line
Chris PeBenito

Yes: this permission seems to satisfy it. An alternative here might be to assign a special label to the designated serial port, (e.g. ttyS1) that would dedicate it to pcscd--we don't move these old readers around too often. Not sure what else that might break, or whether the policy author had such a label in mind...

# Steve Harp <[email protected]>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHOf1HPcFX9H2zuSkRApD/AJ0dDHBFZvsDWeJQhKRbv3u42rVuQgCcDr+Y IIPIbsHbok4/g3Da4GFE0bw=
=VdnM
-----END PGP SIGNATURE-----

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.