Mailinglist Archive: opensuse-bugs (4069 mails)

< Previous Next >
[Bug 707866] openSUSE:11.4/openssh: Bug

https://bugzilla.novell.com/show_bug.cgi?id=707866

https://bugzilla.novell.com/show_bug.cgi?id=707866#c5


--- Comment #5 from Petr Cerny <pcerny@xxxxxxxxxx> 2011-08-09 13:18:31 UTC ---
(In reply to comment #4)
As i tested the chroot directory with debian and centos without problems, i
found that

+ if (access ("/etc/localtime", R_OK) < 0)
+ ++chroot_no_tree;

was breaking my login.

My guess would be that it is quite an important file, if you don't want to have
everything in UTC - e.g. strftime() might be using it (and that one is in turn
used in e.g. the sftp subsystem).

The problem was that no error or notice was logged. Why is /etc/localtime
needed? Why is logging so minimal, which makes debugging so hard?

If you don't mind restaring sshd after each login, you can use the '-d' option
on command line (man page is rather well written so I won't go into more
details here) to get some debug info.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >