View Single Post
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#1045
Originally Posted by rebhana View Post
One minor problem I see with get partition ID from blkid is that it doesn't work from /etc/profile with user privileges

The "command not found" errors are easy to fix, just insert the complete path "/sbin/blkid". Then "debian su - user" does work as intended.
Thanks, I'll add the /sbin/ to the blkid commands.

However with "debian su -" (desirable for full localization also for root) the prompt doesn't change at all compared to Maemo. The reason is that there still is a /root/.bashrc file which sets PS1.
Argh, so I somehow missed deleting a .bashrc file in the image's /root dir?

Originally Posted by rebhana View Post
I've continued my testing by installing a few additional packages, and every "apt-get install" has an error message at the end of the process:
Code:
fopen: Permission denied
I didn't get this with v3b. It seems harmless, but how can root get such a message?

EDIT: seems to occur typically after the trigger of man-db, but I can run man-db manually (no pun intended) without error messages.
I suspect this might be due to over-agressive cleaning of /var/log. I will look into that.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2010-04-19 at 01:54.
 

The Following User Says Thank You to qole For This Useful Post: