bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

File-based system Information is problematic when chroot is used


From: Manickam Palaniappan
Subject: File-based system Information is problematic when chroot is used
Date: Tue, 24 Dec 2002 17:21:42 +0530

Hi,

I would like to know why a design decision was made to hold certain system information ( like timezone in /etc/localtime ) in a file-based manner rather than using shared memory / sockets or such IPC techniques, as this hinders a process to access the information after it does a chroot call.

In my case, ( and certainly many other cases ) when using wu-ftpd, smbd/nmbd etc.. I find syslog entries switching from localtime to UTC when it should not do so, requiring me to copy the timezone file in the directories concerned each time timezone is changed.

I cant do a symbolic link to the files either, as its useless in a chrooted environment. Hard links to the information files wont be possible if the original files are in a separate FS.

Thanks,
Manick.

P.S : Is there any possible way to revert back to Actual Root ( possibly using chroot )




reply via email to

[Prev in Thread] Current Thread [Next in Thread]