Commit Graph
403 Commits
Author SHA1 Message Date
89luca89 8d1aad6efa pages: use slate theme 2022-03-17 20:29:54 +00:00
89luca89 98dd45cd06 docs: update TOC in README 2022-03-17 19:32:49 +00:00
89luca89 b38643c298 docs: add more usage examples and tips 2022-03-17 19:30:07 +00:00
89luca89 bf89f72708 export: support exporting of system flatpaks and document it, Fix #171 2022-03-17 19:14:31 +00:00
89luca89 ad100631f1 docs: regorganize TOC in README 2022-03-17 19:13:43 +00:00
89luca89 8d8109913c docs: document ssh x forwarding, fix #172 2022-03-17 18:40:52 +00:00
89luca89 8c9fa3186d docs: update docs and man 2022-03-17 18:35:07 +00:00
89luca89 ddc33170be docs: better specify security implications of distrobox 2022-03-17 18:31:27 +00:00
89luca89 3f014de239 init: tighter systemd integration with host 2022-03-17 18:15:24 +00:00
Luca Di Maio cd2f2c69dd Support LDAP/AD mail usernames (#205)
* Support LDAP/AD mail usernames

sometimes usernames can be in mail form or containing special chars,
this commit will force the creation of the user and group even if it has
invalid names.
2022-03-17 19:04:53 +01:00
89luca89 333ae0ef67 create: resolve path before mounting 2022-03-16 15:52:58 +00:00
89luca89 218c9070fd CI: add max parallel to 8 2022-03-15 11:07:34 +00:00
Luca Di Maio f8481476ee docs: add CI badge to README 2022-03-15 12:02:13 +01:00
Luca Di Maio ce229d729b CI: use main, not master 2022-03-15 11:57:38 +01:00
89luca89 9af6877750 CI: run on more occasions 2022-03-15 10:52:23 +00:00
Luca Di Maio 9916a7be75 CI: add compatibility test (#199)
* docs: update compatibility list
* docs: remove centos 8 compatibility, repos are not working anymore
* tests: add github action
2022-03-15 11:51:02 +01:00
89luca89 04f516bbc1 fix: adjust previous fix to work with non-selinux systems 2022-03-12 11:36:35 +01:00
89luca89 4fadcac2f9 fix: move selinux fix into create phase 2022-03-11 16:23:27 +01:00
89luca89 e83eafeee9 docs: update docs 2022-03-11 09:52:18 +01:00
89luca89 9b9830309a docs: update docs 2022-03-11 00:11:08 +01:00
Matteo Pernarella eeb6a6758d New Logo (#198) 2022-03-10 23:57:46 +01:00
89luca89 e045a4d029 docs: update docs 2022-03-10 22:48:49 +01:00
Mišo Barišić b6619259d8 Add distrobox-stop command (#196) 2022-03-10 22:37:15 +01:00
lynxnot 1d7ca8bb4d Fix grep match of very short user or group names. (#197) 2022-03-10 22:29:21 +01:00
89luca89 d98974b5a5 rm: add confirmation prompt to distrobox-rm, together with a --yes option #177 2022-03-05 13:08:53 +01:00
Luca Di Maio 8ae3666923 init: check shell_pkg separately and fallback to bash in case of failure #185 (#189) 2022-03-05 12:55:06 +01:00
ennec-eand89luca89 eca80a069d enter: Enter at workdir through child path of '/run/host' (#186)
* enter: Enter at workdir through child path of '/run/host'

Despite tight integration, some host workdir paths may not exist in container.
So always drop at workdir through '/run/host' path which is bound to exist if not in $HOME (or subdirectory)

Co-authored-by: 89luca89 <luca.dimaio1@gmail.com>
2022-02-28 19:23:44 +01:00
Mišo Barišić 7960dbdf07 Prefix install/uninstall option (#190)
This fixes #184 
right now --path/-p is DEPRECATED.
Gradually switch to a more ubiquitous  use of --prefix/-P
2022-02-26 11:43:59 +01:00
89luca89 3c950a77b0 docs: update docs #173 2022-02-24 19:27:40 +01:00
89luca89 72de29e850 docs: update compatibility list 2022-02-23 19:11:14 +01:00
ennec-e 1f6e65f848 init: If user already exists in /etc/passwd set props again, do not skip (#176)
* init: If user already exists in /etc/passwd set properties again rather than skip

This fixes a bug where home field in /etc/passwd diverges from value of $HOME
which then causes unexpected behaviour.
When user is pre-prepopulated due to some reason the old behaviour was to skip useradd.
So path in /etc/passwd could be different than one manually set (ex. when user asks for custom home).

Fix bug by force-setting properties with usermod if user already exists.

Added some comments to make reasoning clearer.
2022-02-23 19:10:44 +01:00
89luca89 c937e7b060 all: better variables escaping, Fix #183 2022-02-22 11:18:41 +01:00
Nozomi Miyamoriand89luca89 ce995f17e3 enter: escape --workdir argument #181 (#182)
Co-authored-by: 89luca89 <luca.dimaio1@gmail.com>
2022-02-22 11:16:48 +01:00
Nathan Chancellor ca06a7134f install: Remove permissions check and dest_path creation (#180)
1caa478c52 tried to improve the writeability check to avoid false
positives, such as the one reported in a DistroWatch.com article.
However, it is still possible to break this check by having the
destination and its parent directory not exist:

$ ./install -p $HOME/tmp/directory-does-not-exist/bin
Cannot write into /home/nathan/tmp/directory-does-not-exist/bin, permission denied.

The script already uses 'install -D', which will create the target
directory if it does not exist, so trying to create dest_path
preemptively only increases the complexity of install and risks
introducing false positive errors like above.

Instead, just check the calls to install and print a message about
potential issues with permissions if they fail.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
2022-02-21 18:26:38 +01:00
Mišo Barišić 829ce09d03 readme: install update (#179) 2022-02-21 14:40:26 +01:00
Mišo Barišić 6ff2bc481d install: remove redundant dot (#178) 2022-02-21 14:26:40 +01:00
89luca89 7b833a9a33 all: fix formatting 2022-02-21 11:03:41 +01:00
89luca89 fb94ef0d09 install: inform user about PATH at end of installation #177 2022-02-21 10:48:17 +01:00
89luca89 1caa478c52 install: add check for dest_path, ask for creation if it does not exist #177 2022-02-21 10:47:53 +01:00
89luca89 3fb5beb213 distrobox/all: detect if running sudo and improve error messages for container managers, pointing to documentation #177 2022-02-21 10:44:12 +01:00
89luca89 4e68bde8d7 docs/man: add table of compatibility to man pages, add more links to docker setup #177 2022-02-21 10:41:51 +01:00
89luca89 7815b51fa4 all: bump version for next release 2022-02-15 09:31:46 +01:00
89luca89 88abba68c6 docs: add youtube video 1.2.13 2022-02-11 23:42:06 +01:00
89luca89 a0e6148f70 install/uninstall: add some comments 2022-02-11 22:57:56 +01:00
Mišo Barišić c5b5a15282 install: conditional default install path (#167) 2022-02-11 22:51:21 +01:00
89luca89 d792dafad2 all: formatting 2022-02-11 19:11:07 +01:00
89luca89 41b99227c4 all: formatting 2022-02-11 18:31:13 +01:00
89luca89 6962c42baa docs: update docs 2022-02-11 18:31:08 +01:00
89luca89 5b1b6d8b2b add gitignore 2022-02-11 18:28:44 +01:00
Mišo Barišić 6a8e45278d main: version flag in distrobox command (#165) 2022-02-11 18:25:50 +01:00