Re: [Ltsp-discuss] Problem with local device in ltsp 4.2

2009-12-22 Thread Everson Santos Araujo
Em 21/12/2009, às 11:56, Horst Prote escreveu:

 Everson Santos Araujo schrieb:
 I'm having problem with local device in Ubuntu 9.10 using Ltsp 4.2.
 
 I follow the Troubleshooting in
 http://sourceforge.net/apps/mediawiki/ltsp/index.php?title=Ltsp_LTSP-42-LocalDev
 none of the local drivers show in �/Drives.
 
 The error occurs in ltspfs, it says:
 No matches found, authority file - not written.
 
 When I try: /usr/sbin/lbus_event_handler.sh add block /tmp 1024 Temp
 or manually: ltspfs 192.168.1.102:/tmp/drives/cdrom ~/Drives/cdrom
 That is: Manually it works, right?

Not really, it creates the directory (with the lbus_event_handler) but doesn't 
connect to the other side.

 Then this reminds me of the problem I had two years ago:
 Automatic mounting through lbussd didn't work but calling
  /usr/sbin/lbus_event_handler.sh add block Removable_Device_931_Mb 931 
 Removable Device (931Mb)
 
 This was caused by the getpwuid() call at the beginning of
 /usr/sbin/lbussd or rather by a bug in nss_ldap-254 (see also Gentoo
 Bug 169612 under http://bugs.gentoo.org/show_bug.cgi?id=169612)
 making the system() calls of lbussd to fail.
 
 I then implemented this workaround:
 diff lbussd.ltsorig lbussd
 30a31
 use English;
 38,41c39,41
  my @pwflds   = getpwuid( $ );
  my $uid  = $pwflds[2];
  my $username = $pwflds[0];
  my $homedir  = $pwflds[7];
 ---
 my $uid  = $EUID;
 my $username = $ENV{USER};
 my $homedir  = $ENV{HOME};
 

I will try this anyway, thanks. I'll get back with a response soon.

 Sincerely,
 Horst Prote

Thanks,
Everson Santos Araujo aka NoBIOS

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
  https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net


Re: [Ltsp-discuss] Problem with local device in ltsp 4.2

2009-12-21 Thread Horst Prote
Everson Santos Araujo schrieb:
  I'm having problem with local device in Ubuntu 9.10 using Ltsp 4.2.
  
  I follow the Troubleshooting in
  http://sourceforge.net/apps/mediawiki/ltsp/index.php?title=Ltsp_LTSP-42-LocalDev
  none of the local drivers show in �/Drives.
  
  The error occurs in ltspfs, it says:
  No matches found, authority file - not written.
  
  When I try: /usr/sbin/lbus_event_handler.sh add block /tmp 1024 Temp
  or manually: ltspfs 192.168.1.102:/tmp/drives/cdrom ~/Drives/cdrom
That is: Manually it works, right?

Then this reminds me of the problem I had two years ago:
Automatic mounting through lbussd didn't work but calling
  /usr/sbin/lbus_event_handler.sh add block Removable_Device_931_Mb 931 
Removable Device (931Mb)

This was caused by the getpwuid() call at the beginning of
/usr/sbin/lbussd or rather by a bug in nss_ldap-254 (see also Gentoo
Bug 169612 under http://bugs.gentoo.org/show_bug.cgi?id=169612)
making the system() calls of lbussd to fail.

I then implemented this workaround:
diff lbussd.ltsorig lbussd
30a31
 use English;
38,41c39,41
 my @pwflds   = getpwuid( $ );
 my $uid  = $pwflds[2];
 my $username = $pwflds[0];
 my $homedir  = $pwflds[7];
---
 my $uid  = $EUID;
 my $username = $ENV{USER};
 my $homedir  = $ENV{HOME};

Sincerely,
Horst Prote

-- 
Horst Prote, FMI__oSystemadministration Abt. FK und TI
Universitaet Stuttgart `\,   Tel: +49 711 7816-348, FAX: -310
Universitaetsstr. 38 ( )/( )pr...@fmi.uni-stuttgart.de
D-70569 Stuttgartwww.fmi.uni-stuttgart.de/fk/mitarbeiter/prote

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
  https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net


[Ltsp-discuss] Problem with local device in ltsp 4.2

2009-12-18 Thread Everson Santos Araujo
Hello,

I'm having problem with local device in Ubuntu 9.10 using Ltsp 4.2.

I follow the Troubleshooting in 
http://sourceforge.net/apps/mediawiki/ltsp/index.php?title=Ltsp_LTSP-42-LocalDev
 none of the local drivers show in ˜/Drives.

The error occurs in ltspfs, it says:
No matches found, authority file - not written.

When I try: /usr/sbin/lbus_event_handler.sh add block /tmp 1024 Temp
or manually: ltspfs 192.168.1.102:/tmp/drives/cdrom ~/Drives/cdrom

Before anyone ask why I'm not using Ltsp 5, it is because my terminal machines 
lock after download the kernel image and before initing it, and so I can't find 
a way to troubleshooting it and went back to ltsp 4.2 that works ok.

Sincerely,
Everson Santos Araujo
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
  https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net