| Summary: | do not print warning about missing home directory in chroot | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Christian Hesse <mail> | ||||||||
| Component: | sshd | Assignee: | Damien Miller <djm> | ||||||||
| Status: | CLOSED FIXED | ||||||||||
| Severity: | normal | CC: | djm, dtucker, etienne.buira | ||||||||
| Priority: | P5 | ||||||||||
| Version: | 7.1p1 | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| See Also: | https://bugzilla.mindrot.org/show_bug.cgi?id=2452 | ||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 2451 | ||||||||||
| Attachments: |
|
||||||||||
Created attachment 2696 [details]
do not print warning about missing home directory in chroot
BTW, this is kind of critical as it leaks host file system pathes into the chroot. Created attachment 2737 [details]
Remove a redundant flag too
Patch applied - this will be in OpenSSH 7.2 Close all resolved bugs after 7.3p1 release |
Created attachment 2695 [details] do not print warning about missing home directory in chroot Since setting options.chroot_directory to NULL after successful chroot the following error message is back: Could not chdir to home directory /home/user: No such file or directory Remember that we are inside a chroot and do not print error message about missing home directory.