LTSP error: Can not write log, openpty() failed (/dev/pts not mounted?)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ltsp (Ubuntu) |
Fix Released
|
Wishlist
|
Oliver Grawert |
Bug Description
This error comes up when trying to add a package (dpkg) and probably other actions which write logs. We can chroot into the LTSP directory and attempt update/upgrade, yet we get the following error
Can not write log, openpty() failed (/dev/pts not mounted?)
/dev/pts is currently an empy directory. I believe that it should be mounted by the kernel(?). Is still not mounted in the LTSP chroot. The result is that logs cannot be written. in the ltsp path, syslog and dpkg.log are empty (most likely as a result of this). This was tested on Hardy + latest updates (both on the host and on the LTSP path through chroot) and has not been reproduced locally.
Found the following links when doing some research:
Links:
https:/
https:/
http://
https:/
http://
http://
https:/
https:/
https:/
https:/
Hi David,
Is there any other message that get printed leading up to the "Can not write log, openpty() failed (/dev/pts not mounted?)". It might be interesting for the developers to see.
Can you try for specific ltsp package versions rather than "Hardy and the latest updates".