bugJailkit - Bugs: bug #45340, Failed inside the jail in Debian 8

 
 

bug #45340: Failed inside the jail in Debian 8

Submitter:  Argos <argos>
Submitted:  Wed 17 Jun 2015 11:36:24 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 04 Nov 2015 09:22:45 PM UTC, comment #1: 

without posting any information about the permissions of  /mnt/jail/home/testuserjail I cannot see if this is a bug or a configuration error. Please reopen if more information is available.

Olivier Sessink <oli4>
Group administrator
Wed 17 Jun 2015 11:36:24 AM UTC, original submission:  

obviously directory /mnt/jail/home/testuserjail exists and permissions it's ok

ssh testuserjail@192.168.1.2
Debian GNU/Linux 8
testuserjail@192.168.1.2's password:

Last login: Wed Jun 17 07:59:09 2015 from 192.168.1.3

Could not chdir to home directory /mnt/jail/./home/testuserjail: Permission denied
Connection to 192.168.1.2 closed.

/var/log/auth.log

Jun 17 08:01:55 debian sshd[19753]: Accepted password for testuserjail from 192.168.1.3 port 49922 ssh2
Jun 17 08:01:55 debian sshd[19753]: pam_unix(sshd:session): session opened for user testuserjail by (uid=0)
Jun 17 08:01:55 debian systemd: pam_unix(systemd-user:session): session opened for user testuserjail by (uid=0)
Jun 17 08:01:55 debian systemd-logind[579]: New session 73 of user testuserjail.
Jun 17 08:01:55 debian jk_chrootsh[19966]: now entering jail /mnt/jail for user testuserjail (666) with arguments
Jun 17 08:01:55 debian jk_chrootsh[19966]: abort, chdir(/home/testuserjail) failed inside the jail /mnt/jail: Permission denied, check the permissions for /mnt/jail//home/testuserjail
Jun 17 08:01:55 debian sshd[19965]: Received disconnect from 192.168.1.3: 11: disconnected by user
Jun 17 08:01:55 debian sshd[19753]: pam_unix(sshd:session): session closed for user testuserjail
Jun 17 08:01:55 debian systemd-logind[579]: Removed session 73.
Jun 17 08:01:55 debian systemd: pam_unix(systemd-user:session): session closed for user testuserjail

Argos <argos>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by oli4 (Posted a comment)
  • -email is unavailable- added by argos (Submitted the item)
  • -email is unavailable- added by argos
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-11-04 oli4 StatusNone Need Info
        Open/ClosedOpen Closed
    2015-06-17 argos Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code