Discussion:
pcscd dead
j***@telenet.be
2014-07-10 13:36:33 UTC
Permalink
Dear K12Linux colleagues,

when trying to get an id-card reader connected to a thinclient working, a ran in to a pcscd issue.

Logged in to the clients chroot:

bash-4.1# service pcscd start
Starting PC/SC smart card daemon (pcscd): [ OK ]
bash-4.1# service pcscd status
pcscd dead but subsys locked
bash-4.1# pcscd -H
00000000 pcscdaemon.c:371:main() Hotplug failed: pcscd is not running

I have the same software installed as on non-thinclient Centos machines:

bash-4.1# yum search pcsc
========================================================================== N/S Matched: pcsc ==========================================================================
pcsc-lite-acr38u.i686 : ACS ACR 38 USB (acr38u non-CCID) Smartcard Reader driver for PCSC-lite
pcsc-lite.i686 : PC/SC Lite smart card framework and applications
pcsc-lite-devel.i686 : PC/SC Lite development files
pcsc-lite-doc.i686 : PC/SC Lite developer documentation
pcsc-lite-libs.i686 : PC/SC Lite libraries
pcsc-lite-openct.i686 : OpenCT PC/SC Lite driver

Name and summary matches only, use "search all" for everything.

Anybody ran in to this before? Googling this problem, I find no useful info.

Greetings, J.
William Fragakis
2014-07-10 17:20:55 UTC
Permalink
Are thin/non-thin client kernels similar or same?

Have you been able to run non-thin client install on the thin client
(e.g. live cd or usb) and get it to work?

Never have come across the issue but trying to eliminate easiest
portions first.

Regards,
William
Message: 1
Date: Thu, 10 Jul 2014 15:36:33 +0200 (CEST)
To: "Support list for open source software in schools."
Subject: [K12OSN] pcscd dead
Content-Type: text/plain; charset="utf-8"
Dear K12Linux colleagues,
when trying to get an id-card reader connected to a thinclient working, a ran in to a pcscd issue.
bash-4.1# service pcscd start
Starting PC/SC smart card daemon (pcscd): [ OK ]
bash-4.1# service pcscd status
pcscd dead but subsys locked
bash-4.1# pcscd -H
00000000 pcscdaemon.c:371:main() Hotplug failed: pcscd is not running
bash-4.1# yum search pcsc
========================================================================== N/S Matched: pcsc ==========================================================================
pcsc-lite-acr38u.i686 : ACS ACR 38 USB (acr38u non-CCID) Smartcard Reader driver for PCSC-lite
pcsc-lite.i686 : PC/SC Lite smart card framework and applications
pcsc-lite-devel.i686 : PC/SC Lite development files
pcsc-lite-doc.i686 : PC/SC Lite developer documentation
pcsc-lite-libs.i686 : PC/SC Lite libraries
pcsc-lite-openct.i686 : OpenCT PC/SC Lite driver
Name and summary matches only, use "search all" for everything.
Anybody ran in to this before? Googling this problem, I find no useful info.
Greetings, J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.redhat.com/archives/k12osn/attachments/20140710/0ff72e55/attachment.html>
------------------------------
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
End of K12OSN Digest, Vol 120, Issue 1
**************************************
j***@telenet.be
2014-07-11 09:50:06 UTC
Permalink
Hello William,

thanks for helping me out. I really need this to work.

Apart from most machines being X86_64, it's the same kernel.

[***@cawdekempen ~]$ ssh -X ***@192.168.80.210
***@192.168.80.210's password:
Last login: Thu Jul 10 14:19:07 2014 from 192.168.66.174
[***@tpoortje ~]# cd /opt/ltsp/i386
[***@tpoortje i386]# setarch i386 chroot .
bash-4.1# mount -t proc proc /proc
bash-4.1# uname -a
Linux tpoortje 2.6.32-431.20.3.el6.i686 #1 SMP Thu Jun 19 19:51:30 UTC 2014 i686 i686 i386 GNU/Linux
bash-4.1# yum update
sl | 2.8 kB 00:00
sl-fastbugs | 3.3 kB 00:00
sl-security | 3.0 kB 00:00
Setting up Update Process
No Packages marked for Update

On my laptop:

[***@cawdekempen ~]$ uname -a
Linux cawdekempen.be 2.6.32-431.20.3.el6.x86_64 #1 SMP Thu Jun 19 21:14:45 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

As for running non-thinclient installls on the thinclient; I'm testing this now with Fedora Sugar on a Stick live cd, that just works.

The thinclient I'm testing this with is diskless, its just an Asus motherboard with 2Gb ram.

Greetings, Johan

----- Oorspronkelijk bericht -----
Van: "William Fragakis" <***@fragakis.com>
Aan: ***@redhat.com
Verzonden: Donderdag 10 juli 2014 19:20:55
Onderwerp: Re: [K12OSN] pcscd dead

Are thin/non-thin client kernels similar or same?

Have you been able to run non-thin client install on the thin client
(e.g. live cd or usb) and get it to work?

Never have come across the issue but trying to eliminate easiest
portions first.

Regards,
William
Message: 1
Date: Thu, 10 Jul 2014 15:36:33 +0200 (CEST)
To: "Support list for open source software in schools."
Subject: [K12OSN] pcscd dead
Content-Type: text/plain; charset="utf-8"
Dear K12Linux colleagues,
when trying to get an id-card reader connected to a thinclient working, a ran in to a pcscd issue.
bash-4.1# service pcscd start
Starting PC/SC smart card daemon (pcscd): [ OK ]
bash-4.1# service pcscd status
pcscd dead but subsys locked
bash-4.1# pcscd -H
00000000 pcscdaemon.c:371:main() Hotplug failed: pcscd is not running
bash-4.1# yum search pcsc
========================================================================== N/S Matched: pcsc ==========================================================================
pcsc-lite-acr38u.i686 : ACS ACR 38 USB (acr38u non-CCID) Smartcard Reader driver for PCSC-lite
pcsc-lite.i686 : PC/SC Lite smart card framework and applications
pcsc-lite-devel.i686 : PC/SC Lite development files
pcsc-lite-doc.i686 : PC/SC Lite developer documentation
pcsc-lite-libs.i686 : PC/SC Lite libraries
pcsc-lite-openct.i686 : OpenCT PC/SC Lite driver
Name and summary matches only, use "search all" for everything.
Anybody ran in to this before? Googling this problem, I find no useful info.
Greetings, J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.redhat.com/archives/k12osn/attachments/20140710/0ff72e55/attachment.html>
------------------------------
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
End of K12OSN Digest, Vol 120, Issue 1
**************************************
_______________________________________________
K12OSN mailing list
***@redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
j***@telenet.be
2014-07-14 11:40:41 UTC
Permalink
Hello All,

I now see this EM:

#/etc/init.d/pcscd start
starting pc/sc smart card daemon ( pcscd ) : /usr/sbin/update-reader.conf: rule41: /etc/reader.conf: access refused.

greetings, J.



----- Oorspronkelijk bericht -----
Van: "johan vermeulen7" <***@telenet.be>
Aan: "Support list for open source software in schools." <***@redhat.com>
Verzonden: Vrijdag 11 juli 2014 11:50:06
Onderwerp: Re: [K12OSN] pcscd dead

Hello William,

thanks for helping me out. I really need this to work.

Apart from most machines being X86_64, it's the same kernel.

[***@cawdekempen ~]$ ssh -X ***@192.168.80.210
***@192.168.80.210's password:
Last login: Thu Jul 10 14:19:07 2014 from 192.168.66.174
[***@tpoortje ~]# cd /opt/ltsp/i386
[***@tpoortje i386]# setarch i386 chroot .
bash-4.1# mount -t proc proc /proc
bash-4.1# uname -a
Linux tpoortje 2.6.32-431.20.3.el6.i686 #1 SMP Thu Jun 19 19:51:30 UTC 2014 i686 i686 i386 GNU/Linux
bash-4.1# yum update
sl | 2.8 kB 00:00
sl-fastbugs | 3.3 kB 00:00
sl-security | 3.0 kB 00:00
Setting up Update Process
No Packages marked for Update

On my laptop:

[***@cawdekempen ~]$ uname -a
Linux cawdekempen.be 2.6.32-431.20.3.el6.x86_64 #1 SMP Thu Jun 19 21:14:45 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

As for running non-thinclient installls on the thinclient; I'm testing this now with Fedora Sugar on a Stick live cd, that just works.

The thinclient I'm testing this with is diskless, its just an Asus motherboard with 2Gb ram.

Greetings, Johan

----- Oorspronkelijk bericht -----
Van: "William Fragakis" <***@fragakis.com>
Aan: ***@redhat.com
Verzonden: Donderdag 10 juli 2014 19:20:55
Onderwerp: Re: [K12OSN] pcscd dead

Are thin/non-thin client kernels similar or same?

Have you been able to run non-thin client install on the thin client
(e.g. live cd or usb) and get it to work?

Never have come across the issue but trying to eliminate easiest
portions first.

Regards,
William
Message: 1
Date: Thu, 10 Jul 2014 15:36:33 +0200 (CEST)
To: "Support list for open source software in schools."
Subject: [K12OSN] pcscd dead
Content-Type: text/plain; charset="utf-8"
Dear K12Linux colleagues,
when trying to get an id-card reader connected to a thinclient working, a ran in to a pcscd issue.
bash-4.1# service pcscd start
Starting PC/SC smart card daemon (pcscd): [ OK ]
bash-4.1# service pcscd status
pcscd dead but subsys locked
bash-4.1# pcscd -H
00000000 pcscdaemon.c:371:main() Hotplug failed: pcscd is not running
bash-4.1# yum search pcsc
========================================================================== N/S Matched: pcsc ==========================================================================
pcsc-lite-acr38u.i686 : ACS ACR 38 USB (acr38u non-CCID) Smartcard Reader driver for PCSC-lite
pcsc-lite.i686 : PC/SC Lite smart card framework and applications
pcsc-lite-devel.i686 : PC/SC Lite development files
pcsc-lite-doc.i686 : PC/SC Lite developer documentation
pcsc-lite-libs.i686 : PC/SC Lite libraries
pcsc-lite-openct.i686 : OpenCT PC/SC Lite driver
Name and summary matches only, use "search all" for everything.
Anybody ran in to this before? Googling this problem, I find no useful info.
Greetings, J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.redhat.com/archives/k12osn/attachments/20140710/0ff72e55/attachment.html>
------------------------------
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
End of K12OSN Digest, Vol 120, Issue 1
**************************************
_______________________________________________
K12OSN mailing list
***@redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>

_______________________________________________
K12OSN mailing list
***@redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
Barry Cisna
2014-07-14 11:55:57 UTC
Permalink
Johan,
From the looks of your last posted message here it may be simply a
permissions ,(on the client chroot, of course),thing with the pcsd
executable?

Just do an 'chmod -c -R 777 /' ,,,to the pcsd directory along with the
actual pcsd executable/shell script.

Try restarting the pcsd service and see if this same error is thrown.

Kind of a rough way to do it but worth a try.

Barry
j***@telenet.be
2014-07-14 15:54:20 UTC
Permalink
Hello Barry, hello All,

thanks for helping me out.

First of all, I noticed that according to the ps command, pcscd is running at bootup.
But I tried to change permissions anyway, that didn't solve the problem. EM is the same.

Searching further, if found that haldaemon is not running. I think that is the underlying problem.

So I'm not searching on how to fix haldaemon.

Greetings, J.

----- Oorspronkelijk bericht -----
Van: "Barry Cisna" <cisna-***@wc235.k12.il.us>
Aan: "K12LTSP Mailing List" <***@redhat.com>
Verzonden: Maandag 14 juli 2014 13:55:57
Onderwerp: Re: [K12OSN] pcscd dead

Johan,
From the looks of your last posted message here it may be simply a
permissions ,(on the client chroot, of course),thing with the pcsd
executable?

Just do an 'chmod -c -R 777 /' ,,,to the pcsd directory along with the
actual pcsd executable/shell script.

Try restarting the pcsd service and see if this same error is thrown.

Kind of a rough way to do it but worth a try.

Barry

_______________________________________________
K12OSN mailing list
***@redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
Jim Kinney
2014-07-14 16:03:48 UTC
Permalink
Yes. haldaemon is a base requirement for many, many things. Try a
re-install of it into the chroot using a yum command like yum reinstall
haldaemon after you chroot into the chroot itself.
Post by j***@telenet.be
Hello Barry, hello All,
thanks for helping me out.
First of all, I noticed that according to the ps command, pcscd is running at bootup.
But I tried to change permissions anyway, that didn't solve the problem. EM is the same.
Searching further, if found that haldaemon is not running. I think that is
the underlying problem.
So I'm not searching on how to fix haldaemon.
Greetings, J.
----- Oorspronkelijk bericht -----
Verzonden: Maandag 14 juli 2014 13:55:57
Onderwerp: Re: [K12OSN] pcscd dead
Johan,
From the looks of your last posted message here it may be simply a
permissions ,(on the client chroot, of course),thing with the pcsd
executable?
Just do an 'chmod -c -R 777 /' ,,,to the pcsd directory along with the
actual pcsd executable/shell script.
Try restarting the pcsd service and see if this same error is thrown.
Kind of a rough way to do it but worth a try.
Barry
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
--
--
James P. Kinney III

Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain


*http://heretothereideas.blogspot.com/
<http://heretothereideas.blogspot.com/>*
j***@telenet.be
2014-07-14 16:10:44 UTC
Permalink
Hello Jim,

I will do that tomorrow.

Just to be sure; chroot into the chroo itself, is this sufficient:

cd /opt/ltsp/i386
setarch i386 chroot .
mount -t proc proc /proc

greetings, J.

----- Oorspronkelijk bericht -----

Van: "Jim Kinney" <***@gmail.com>
Aan: "Support list for open source software in schools." <***@redhat.com>
Verzonden: Maandag 14 juli 2014 18:03:48
Onderwerp: Re: [K12OSN] pcscd dead

Yes. haldaemon is a base requirement for many, many things. Try a re-install of it into the chroot using a yum command like yum reinstall haldaemon after you chroot into the chroot itself.


On Mon, Jul 14, 2014 at 11:54 AM, < ***@telenet.be > wrote:


Hello Barry, hello All,

thanks for helping me out.

First of all, I noticed that according to the ps command, pcscd is running at bootup.
But I tried to change permissions anyway, that didn't solve the problem. EM is the same.

Searching further, if found that haldaemon is not running. I think that is the underlying problem.

So I'm not searching on how to fix haldaemon.

Greetings, J.

----- Oorspronkelijk bericht -----
Van: "Barry Cisna" < cisna-***@wc235.k12.il.us >
Aan: "K12LTSP Mailing List" < ***@redhat.com >
Verzonden: Maandag 14 juli 2014 13:55:57
Onderwerp: Re: [K12OSN] pcscd dead

Johan,
From the looks of your last posted message here it may be simply a
permissions ,(on the client chroot, of course),thing with the pcsd
executable?

Just do an 'chmod -c -R 777 /' ,,,to the pcsd directory along with the
actual pcsd executable/shell script.

Try restarting the pcsd service and see if this same error is thrown.

Kind of a rough way to do it but worth a try.

Barry

_______________________________________________
K12OSN mailing list
***@redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see < http://www.k12os.org >

_______________________________________________
K12OSN mailing list
***@redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see < http://www.k12os.org >
--
--
James P. Kinney III

Every time you stop a school, you will have to build a jail. What you gain at one end you lose at the other. It's like feeding a dog on his own tail. It won't fatten the dog.
- Speech 11/23/1900 Mark Twain

http://heretothereideas.blogspot.com/

_______________________________________________
K12OSN mailing list
***@redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
Jim Kinney
2014-07-14 16:39:08 UTC
Permalink
That looks reasonable.

I'm not sure if the default LTSP installs a working /etc/yum.repos.d folder
in the chroot or not. I'm not anywhere near a test rig so I can't check.
You may want to copy in your main one form (non-chroot) /etc/yum.repos.d/*
and edit them to be specific for the clients (i.e. i386 or i686).
Post by j***@telenet.be
Hello Jim,
I will do that tomorrow.
cd /opt/ltsp/i386
setarch i386 chroot .
mount -t proc proc /proc
greetings, J.
------------------------------
*Aan: *"Support list for open source software in schools." <
*Verzonden: *Maandag 14 juli 2014 18:03:48
*Onderwerp: *Re: [K12OSN] pcscd dead
Yes. haldaemon is a base requirement for many, many things. Try a
re-install of it into the chroot using a yum command like yum reinstall
haldaemon after you chroot into the chroot itself.
Post by j***@telenet.be
Hello Barry, hello All,
thanks for helping me out.
First of all, I noticed that according to the ps command, pcscd is running at bootup.
But I tried to change permissions anyway, that didn't solve the problem. EM is the same.
Searching further, if found that haldaemon is not running. I think that
is the underlying problem.
So I'm not searching on how to fix haldaemon.
Greetings, J.
----- Oorspronkelijk bericht -----
Verzonden: Maandag 14 juli 2014 13:55:57
Onderwerp: Re: [K12OSN] pcscd dead
Johan,
From the looks of your last posted message here it may be simply a
permissions ,(on the client chroot, of course),thing with the pcsd
executable?
Just do an 'chmod -c -R 777 /' ,,,to the pcsd directory along with the
actual pcsd executable/shell script.
Try restarting the pcsd service and see if this same error is thrown.
Kind of a rough way to do it but worth a try.
Barry
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
--
--
James P. Kinney III
Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*http://heretothereideas.blogspot.com/
<http://heretothereideas.blogspot.com/>*
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
_______________________________________________
K12OSN mailing list
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
--
--
James P. Kinney III

Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain


*http://heretothereideas.blogspot.com/
<http://heretothereideas.blogspot.com/>*
j***@telenet.be
2014-07-14 16:07:28 UTC
Permalink
I mean I am now searching how to fix haldaemon.

----- Oorspronkelijk bericht -----
Van: "johan vermeulen7" <***@telenet.be>
Aan: "Support list for open source software in schools." <***@redhat.com>
Verzonden: Maandag 14 juli 2014 17:54:20
Onderwerp: Re: [K12OSN] pcscd dead

Hello Barry, hello All,

thanks for helping me out.

First of all, I noticed that according to the ps command, pcscd is running at bootup.
But I tried to change permissions anyway, that didn't solve the problem. EM is the same.

Searching further, if found that haldaemon is not running. I think that is the underlying problem.

So I'm not searching on how to fix haldaemon.

Greetings, J.

----- Oorspronkelijk bericht -----
Van: "Barry Cisna" <cisna-***@wc235.k12.il.us>
Aan: "K12LTSP Mailing List" <***@redhat.com>
Verzonden: Maandag 14 juli 2014 13:55:57
Onderwerp: Re: [K12OSN] pcscd dead

Johan,
From the looks of your last posted message here it may be simply a
permissions ,(on the client chroot, of course),thing with the pcsd
executable?

Just do an 'chmod -c -R 777 /' ,,,to the pcsd directory along with the
actual pcsd executable/shell script.

Try restarting the pcsd service and see if this same error is thrown.

Kind of a rough way to do it but worth a try.

Barry

_______________________________________________
K12OSN mailing list
***@redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
William Fragakis
2014-07-14 17:29:51 UTC
Permalink
Johan,

This may be totally unrelated but since permissions and haldaemon are
being mentioned...

I've run into an issue when cloning running systems via rsync. For some
reason, the permissions for haldaemon cache wouldn't be correct.

The following cleared up the issue:

chown haldaemon:haldaemon /var/cache/hald

if you suspect this might be the issue, you can run this

hald --daemon=no 2>&1 | tee /tmp/hal.log

then
cat /tmp/hal.log

to see what the log shows.


Again, may have nothing to do with your problem.

Regards,
William
Post by j***@telenet.be
Verzonden: Maandag 14 juli 2014 13:55:57
Onderwerp: Re: [K12OSN] pcscd dead
Johan,
From the looks of your last posted message here it may be simply a
permissions ,(on the client chroot, of course),thing with the pcsd
executable?
Just do an 'chmod -c -R 777 /' ,,,to the pcsd directory along with
the
actual pcsd executable/shell script.
Try restarting the pcsd service and see if this same error is thrown.
Kind of a rough way to do it but worth a try.
Barry
j***@telenet.be
2014-07-15 10:10:30 UTC
Permalink
Hello All,

reïnstalling hal didn't do the trick.
I tried the chown haldaemon command, that didn't work. I did not succeed in caching log files in /tmp/hal.log
nor do i see other haldaemon related EM.
But I managed to get messagebus running (dbus ) and I now see these hald processes:

bash-4.1# ps auxw | grep hald
68 1703 0.0 0.2 17676 4784 ? Ssl 02:40 0:00 hald
root 1704 0.0 0.0 3980 1104 ? S 02:40 0:00 hald-runner
root 1745 0.0 0.0 4052 1140 ? S 02:40 0:00 hald-addon-input: Listening on /dev/input/event0 /dev/input/event1
68 1750 0.0 0.0 3644 980 ? S 02:40 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root 3105 0.0 0.0 4376 776 ? S+ 03:05 0:00 grep hald

I also see this in /var/log/messages when starting pcscd :

Jul 15 02:38:43 tpoortje pcscd: hotplug_libhal.c:465:HPRegisterForHotplugEvents() error: dbus_bus_get: org.freedesktop.DBus.Error.AccessDenied: An SELinux policy prevents this sender from sending this message to this recipient (rejected message had sender "(unset)" interface "org.freedesktop.DBus" member "Hello" error name "(unset)" destination "org.freedesktop.DBus")

So it could be a Selinux issue.

To solve this it tried the command :

echo 0 > /selinux/enforce

and I modified /etc/selinux/config

Neither helped.

Greetings, J.







----- Oorspronkelijk bericht -----
Van: "William Fragakis" <***@fragakis.com>
Aan: ***@redhat.com
Verzonden: Maandag 14 juli 2014 19:29:51
Onderwerp: Re: [K12OSN] pcscd dead

Johan,

This may be totally unrelated but since permissions and haldaemon are
being mentioned...

I've run into an issue when cloning running systems via rsync. For some
reason, the permissions for haldaemon cache wouldn't be correct.

The following cleared up the issue:

chown haldaemon:haldaemon /var/cache/hald

if you suspect this might be the issue, you can run this

hald --daemon=no 2>&1 | tee /tmp/hal.log

then
cat /tmp/hal.log

to see what the log shows.


Again, may have nothing to do with your problem.

Regards,
William
Post by j***@telenet.be
Verzonden: Maandag 14 juli 2014 13:55:57
Onderwerp: Re: [K12OSN] pcscd dead
Johan,
From the looks of your last posted message here it may be simply a
permissions ,(on the client chroot, of course),thing with the pcsd
executable?
Just do an 'chmod -c -R 777 /' ,,,to the pcsd directory along with
the
actual pcsd executable/shell script.
Try restarting the pcsd service and see if this same error is thrown.
Kind of a rough way to do it but worth a try.
Barry
_______________________________________________
K12OSN mailing list
***@redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
j***@telenet.be
2014-07-18 05:15:25 UTC
Permalink
Hello All,

this is at least partialy solved, by updating the ltsp-server packages.
( we can not run the latest ltsp-client packages because of thinclient incompatibility )

Greetings, j.

----- Oorspronkelijk bericht -----
Van: johan vermeulen7 <***@telenet.be>
Aan: Support list for open source software in schools. <***@redhat.com>
Verzonden: Tue, 15 Jul 2014 12:10:30 +0200 (CEST)
Onderwerp: Re: [K12OSN] pcscd dead

Hello All,

reïnstalling hal didn't do the trick.
I tried the chown haldaemon command, that didn't work. I did not succeed in caching log files in /tmp/hal.log
nor do i see other haldaemon related EM.
But I managed to get messagebus running (dbus ) and I now see these hald processes:

bash-4.1# ps auxw | grep hald
68 1703 0.0 0.2 17676 4784 ? Ssl 02:40 0:00 hald
root 1704 0.0 0.0 3980 1104 ? S 02:40 0:00 hald-runner
root 1745 0.0 0.0 4052 1140 ? S 02:40 0:00 hald-addon-input: Listening on /dev/input/event0 /dev/input/event1
68 1750 0.0 0.0 3644 980 ? S 02:40 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root 3105 0.0 0.0 4376 776 ? S+ 03:05 0:00 grep hald

I also see this in /var/log/messages when starting pcscd :

Jul 15 02:38:43 tpoortje pcscd: hotplug_libhal.c:465:HPRegisterForHotplugEvents() error: dbus_bus_get: org.freedesktop.DBus.Error.AccessDenied: An SELinux policy prevents this sender from sending this message to this recipient (rejected message had sender "(unset)" interface "org.freedesktop.DBus" member "Hello" error name "(unset)" destination "org.freedesktop.DBus")

So it could be a Selinux issue.

To solve this it tried the command :

echo 0 > /selinux/enforce

and I modified /etc/selinux/config

Neither helped.

Greetings, J.







----- Oorspronkelijk bericht -----
Van: "William Fragakis" <***@fragakis.com>
Aan: ***@redhat.com
Verzonden: Maandag 14 juli 2014 19:29:51
Onderwerp: Re: [K12OSN] pcscd dead

Johan,

This may be totally unrelated but since permissions and haldaemon are
being mentioned...

I've run into an issue when cloning running systems via rsync. For some
reason, the permissions for haldaemon cache wouldn't be correct.

The following cleared up the issue:

chown haldaemon:haldaemon /var/cache/hald

if you suspect this might be the issue, you can run this

hald --daemon=no 2>&1 | tee /tmp/hal.log

then
cat /tmp/hal.log

to see what the log shows.


Again, may have nothing to do with your problem.

Regards,
William
Post by j***@telenet.be
Verzonden: Maandag 14 juli 2014 13:55:57
Onderwerp: Re: [K12OSN] pcscd dead
Johan,
From the looks of your last posted message here it may be simply a
permissions ,(on the client chroot, of course),thing with the pcsd
executable?
Just do an 'chmod -c -R 777 /' ,,,to the pcsd directory along with
the
actual pcsd executable/shell script.
Try restarting the pcsd service and see if this same error is thrown.
Kind of a rough way to do it but worth a try.
Barry
_______________________________________________
K12OSN mailing list
***@redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>

_______________________________________________
K12OSN mailing list
***@redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>

me
2014-07-16 17:46:17 UTC
Permalink
Hi All

I seem to be stumped. Have thin clients that almost get to a desktop. Looking at the
messages on the server - ldminfod keeps starting and stopping. The thin client screen
blanks and unblanks ( no pix of anything ). I can get into a shell on the TC and
tailing messages shows '[time] client-192 kernel: pci 0000:01:00.0 putting AGP V3 device
into 8x mode' over and over.

Server F14, serving F12 to the network.

I have another server ( F14, serving F10 to another network ) which is running fine;
well sorta. To make a long story short, I couldn't get the touch screens working
proper. After a couple of days scratching and cussing I finally figured out that the
proper drivers were not installing for ttyS0/1 because there was a problem with the
server's comm port. I haven't popped the case to check it out, but there is NOT a DB9
or RJ11 on the outside anywhere. This almost has to be the case as I can 'cat
/dev/ttyS0' then tap the screen on the TC monitor and I get gibberish; which does NOT
happen on the old server or running TC's.

Ideas anyone?

--
Todd Hackett Chief Bottle Washer
PoBox 1168
Libby, MT 59923
406.291.6241
Loading...