Obsolete functions in /etc/init.d/ltsp-client-setup override newer ones

Bug #317286 reported by Alkis Georgopoulos
2
Affects Status Importance Assigned to Milestone
ltsp (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ltsp-client-core

Ubuntu 8.10, ltsp-client-core 5.1.29-0ubuntu3.

The script /etc/init.d/ltsp-client-setup contains functions like
configure_localdev()
configure_swap()
configure_printer()
etc
which also exist in /usr/share/ltsp/ltsp-init-commons.

The latter file has newer versions of these functions, but ltsp-client-setup overrides them by sourcing ltsp-init-commons before and declaring the old versions of these functions later.

As a result, e.g. local devices don't work because ltspfs_token doesn't get created. And I suspect a lot of other things don't work as planned because old versions of these functions are used.

So, ltsp-client-setup should be reworked, with many of its functions deleted.

Revision history for this message
Oliver Grawert (ogra) wrote :

this is because ubuntu used to use its own initscripts while /usr/share/ltsp/ltsp-init-common is an upstream file, stephane is sorting that out afaik.

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

Yeah I think he already published some modifications in his PPA.
Thanks stgraber, ogra! :)

Revision history for this message
Stéphane Graber (stgraber) wrote :

Latest upload to Jaunty fixes the issue, I somehow managed to loose the first sync I did.
I also uploaded the now usual Intrepid backport to my PPA.

Changed in ltsp:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.