Hangover2
Regular Pleskian
Username: Hangover2
TITLE
Chrooted shell environments are broken after rebuilding
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Obsidian 18.0.31.1 / Debian Buster (amd64)
PROBLEM DESCRIPTION
Since the Plesk Obsidian 18.0.31 update the chrooted shell environment in subscriptions cannot be used anymore after running the update_chroot.sh script explained in How to rebuild chroot template on a server with Plesk?
STEPS TO REPRODUCE
- upgrade to Plesk Obsidian 18.0.31
- create a subscription with a chrooted system user (e.g. system_user)
- rebuild the chrooted environment by using the Plesk script mentioned (update_chroot.sh)
- try to login as the system user of the chrooted subscription, e.g. "su system_user"
ACTUAL RESULT
Login of chrooted system user fails:
user with id=10001 and name=system_user not found in chrooted passwd file
system error: Invalid argument
Reason: after rebuilding the chrooted environments of the subscriptions the "group" and "passwd" files are emptied.
Problem is maybe related to the following resolved issue from the changelog of Plesk Obsidian 18.0.31:
"Disabling chrooted shell for a system user now correctly results in the /etc/passwd and /etc/group files being deleted. (PPPM-10750,PPPM-10149)"
EXPECTED RESULT
successful login
ANY ADDITIONAL INFORMATION
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
TITLE
Chrooted shell environments are broken after rebuilding
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Obsidian 18.0.31.1 / Debian Buster (amd64)
PROBLEM DESCRIPTION
Since the Plesk Obsidian 18.0.31 update the chrooted shell environment in subscriptions cannot be used anymore after running the update_chroot.sh script explained in How to rebuild chroot template on a server with Plesk?
STEPS TO REPRODUCE
- upgrade to Plesk Obsidian 18.0.31
- create a subscription with a chrooted system user (e.g. system_user)
- rebuild the chrooted environment by using the Plesk script mentioned (update_chroot.sh)
- try to login as the system user of the chrooted subscription, e.g. "su system_user"
ACTUAL RESULT
Login of chrooted system user fails:
user with id=10001 and name=system_user not found in chrooted passwd file
system error: Invalid argument
Reason: after rebuilding the chrooted environments of the subscriptions the "group" and "passwd" files are emptied.
Problem is maybe related to the following resolved issue from the changelog of Plesk Obsidian 18.0.31:
"Disabling chrooted shell for a system user now correctly results in the /etc/passwd and /etc/group files being deleted. (PPPM-10750,PPPM-10149)"
EXPECTED RESULT
successful login
ANY ADDITIONAL INFORMATION
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
Last edited: