Filippo Squillace
4db85bcf1f
#318 : Use multi-call wrapper
2023-02-18 00:49:54 +01:00
Filippo Squillace
a9174267b3
Add unit tests
2023-01-15 22:28:08 +01:00
Filippo Squillace
a9f5304279
#297 Create bin wrapper for symlinks
2022-08-05 18:06:29 +02:00
Filippo Squillace
73b8bec8db
Fix wrapper when passing multiple arguments and add unit tests
...
This change come from the PR #289
2022-04-24 19:54:32 +00:00
Filippo Squillace
0295f37758
Add shellcheck
2022-03-01 00:05:09 +01:00
Filippo Squillace
e794a6150c
Add more unit tests
2022-02-16 22:55:40 +01:00
Filippo Squillace
2b9f1839f1
Add create-bin-wrappers command
2022-02-13 20:07:13 +01:00
Filippo Squillace
7d8c619ee0
#284 Fix copy command
2022-01-05 23:47:55 +01:00
Filippo Squillace
7fe9c0e9ec
Fix the --backend-command option
2021-10-13 12:23:41 +02:00
Filippo Squillace
38ab252f98
Enable all capabilities in ns fakeroot mode
2021-09-21 14:21:48 +02:00
Filippo Squillace
6548e19eb5
Use proper proc,dev,sys binds for ns mode
2021-01-10 13:16:48 +01:00
Filippo Squillace
f0b6f0962e
Use true fakechroot/fakeroot in ns fakeroot mode
2021-01-04 19:21:07 +01:00
Filippo Squillace
4527297be1
Remove warnings when using pacman
2020-12-31 12:57:33 +01:00
Filippo Squillace
d25ae30158
Update README
2020-12-29 19:02:14 +01:00
Filippo Squillace
2aeb23b882
Add tests for wrappers
2020-12-29 13:09:35 +01:00
Filippo Squillace
09b9c644d9
Add option to specify location of backend command
2020-03-27 18:39:58 +01:00
Filippo Squillace
348b73ce73
Remove groot content
2020-03-24 21:18:25 +01:00
Filippo Squillace
6592bc9bd2
Separate proot, qemu, groot into packages
2020-03-22 17:53:47 +01:00
Filippo Squillace
4b5b7b300b
Add test for bwrap command
2020-03-16 18:59:01 +01:00
Filippo Squillace
9bfd7e047d
Add bwrap as backend for ns
2020-03-15 13:41:06 +01:00
Filippo Squillace
632aad46bd
Small fixes
2019-10-22 22:23:12 +02:00
Filippo Squillace
de0bec9bc5
Remove yaourt package and allow not to copy common etc files
2019-10-20 22:45:40 +02:00
Filippo Squillace
3341187cf6
Change the CLI and make ns the default backend
2019-10-20 16:15:31 +02:00
Filippo Squillace
cc351f419d
Add check for disabled unprivileged user namespace
2018-10-28 17:34:45 +11:00
Filippo Squillace
f60bbb5c2a
Issue #195 : Check presence of nested env first
2017-09-18 13:48:34 +02:00
Filippo Squillace
bd0e9fbbcc
Replace mountpoint command by checking mounts file
...
`mountpoint` does not detect some directory. By checking directly
from `/proc/self/mounts` groot can be more reliable and portable.
2017-04-20 20:19:04 +01:00
Filippo Squillace
137788a98a
Groot: Do not umount directories that are not mountpoint
2017-04-19 23:52:26 +01:00
Filippo Squillace
03a29590de
Add -i and -r options for groot command
2017-04-19 21:04:51 +01:00
Filippo Squillace
0060658726
Issue #174 : Add util-linux in JuNest image
...
util-linux contains `unshare` which is needed for the namespace mode.
2017-04-12 20:43:35 +01:00
Filippo Squillace
b817aa8445
Issue #174 : Add -g option for Groot and integ tests for user namespace
2017-04-12 20:43:30 +01:00
Filippo Squillace
fcb4a36f30
Issue #174 : Add option -n in groot and umount directories in order
2017-04-12 20:43:21 +01:00
Filippo Squillace
8e5531a27a
Issue #174 : Add unit test for namespace
2017-04-12 20:43:12 +01:00
Filippo Squillace
0f7fd33c53
Issue #174 : Add new program GRoot and change version option for JuNest!
...
This replaces jchroot because GRoot can be also used in a user namespace environment.
2017-04-12 20:42:56 +01:00
Filippo Squillace
426b708d2d
Issue #174 : Rename common functions and define skeleton for namespace functions
2017-04-12 20:42:35 +01:00
Filippo Squillace
0ec35a4088
Issue #174 : Add namespace module and check for user namespace
2017-04-12 20:42:10 +01:00
Filippo Squillace
ddc7ede70a
Issue #174 : 🎨 Change structure of core modules
...
This change separate different parts of the code into several categories:
`chroot`, `proot`, `build`, `common`, `setup`. This should simplify the
maintenance of the code and will help introducing the user namespace module
in a easier way.
2017-03-13 21:06:18 +00:00
Filippo Squillace
d07b06b39d
Substitute bindings with explicit copy of files
2017-03-11 10:17:55 +00:00
Filippo Squillace
6568430add
Mitigate user missing from getent enumeration
...
Sometimes `getent passwd` does not give the user information.
This change tries to at least get the current user via
`getent passwd $USER` since it uses
a more reliable and faster system call (getpwnam(3)).
Reference:
be748493a3
2016-11-27 12:49:09 +00:00
fsquillace
846bcc9c1f
Issue #81 : Use getent to build the passwd and group files
2016-06-07 22:24:28 +01:00
fsquillace
374cb2e42e
Move the unit tests to a specific folder
2016-05-30 23:01:28 +01:00