-
Notifications
You must be signed in to change notification settings - Fork 427
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix systemd/init container startup (#1069)
Change user login to prevent issues with firefox segfaulting (IPC I/O) related errors. TODO: improve init wait depending on whether container has init or not. Improved waiting for systemd to start system Fix creation of systemd login sessions to prevent conflict across multiple active sessions. some containers are not allowing passthrough of certain environment variables without explicitly passing them using sudo's --preserve-env flag run podman exec command as root since some distros like suse or arch would ask for user password when using su to login even though the user has no password in /etc/shadow fix pam_systemd not being checked for su on certain distros like suse or arch. --------- Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com> Co-authored-by: Luca Di Maio <luca.dimaio1@gmail.com>
- Loading branch information
1 parent
3435f4d
commit 3b1e312
Showing
9 changed files
with
89 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ MD013: | |
headers: false | ||
MD033: false | ||
MD041: false | ||
MD045: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3b1e312
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For anyone else running this patch: this appears to break older exported scripts.
https://gist.github.com/parkerlreed/4191b8436e9ac792c0600b573c3daaed
Re-exporting the script from within the container lets it work again.
3b1e312
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@parkerlreed Yes, I mentioned this in my PR:
#1069 (comment)
PR #1069 completely changes the way you enter distrobox using
su
instead ofbash -l
3b1e312
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'll need to plan a way to provie a migration path for existing bins/apps,
@pavinjosdev would you open a discussion or an issue for this? so we don't forget?
3b1e312
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, that's a good idea!