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

 
 

bug #45340: Failed inside the jail in Debian 8

Submitted by:  Argos <argos>
Submitted on:  Wed 17 Jun 2015 11:36:24 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Need Info
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 04 Nov 2015 09:22:45 PM UTColi4StatusNone=>Need Info
      Open/ClosedOpen=>Closed
    Wed 17 Jun 2015 11:36:24 AM UTCargosCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1