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
fsquillace
195d8d0069
Update travis
2016-05-30 23:01:28 +01:00
fsquillace
3102ff1d8a
🎨 Refactor core.sh code
2016-05-30 23:01:28 +01:00
fsquillace
ce3fefeab5
Issue #141 : 🎨 Refactor code
2016-05-30 23:01:26 +01:00
Filippo Squillace
b7f10dc55b
📝 Update CONTRIBUTING.md and change unit tests file names
2016-05-11 22:40:12 +01:00
Filippo Squillace
d36093b0f5
Change the name of proot variable
2016-01-30 12:14:44 +00:00
builder
36212d3cbf
Issue #127 : Do not let proot mount the mtab file
...
This change prevents inconsistency problems when the JuNest environment
is run simultaneously in fakeroot and normal user. The mtab file is
never mount by proot but, instead, it is symlinked to /proc/self/mounts.
2015-12-26 12:55:19 +00:00
Filippo Squillace
88992cc503
Small fix in the proot seccomp test
2015-10-15 22:39:02 +00:00
Filippo Squillace
2cfb81daaa
Issue #113 : Fix fallback for proot command
2015-10-14 23:39:36 +00:00
Filippo Squillace
6b357245c3
Issue #94 : Add tests for arch option
2015-07-18 17:16:38 +00:00
Filippo Squillace
7f3919700a
Issue #96 : Add the check option
2015-07-17 22:32:07 +00:00
Filippo Squillace
e2b14e9bff
Issue #93 : Improve help and add test for proot access
2015-07-05 14:20:07 +00:00
Filippo Squillace
438eeafb63
Issue #93 : Add test for chroot
2015-07-05 11:46:35 +00:00
Filippo Squillace
0cf7c624ec
Issue #91 : Add the architecture option
2015-06-29 19:57:07 +00:00
Filippo Squillace
45814d65a5
Refactor the chroot script
2015-06-28 13:08:48 +00:00
Filippo Squillace
21f3b6ebda
Issue #89 : Remove id executable
2015-06-23 22:45:15 +00:00
Filippo Squillace
5e19ac138e
Issue #89 : Adjust the tests
2015-06-23 22:45:05 +00:00
Filippo Squillace
f15dc54b38
Issue #74 : Apply chroot_cmd function
2015-06-22 21:21:30 +00:00
Filippo Squillace
e4b6bbb974
Issue #74 : Substitute arch-chroot to jchroot
2015-06-22 21:21:24 +00:00
Filippo Squillace
5773c42f04
Issue #79 : Add tests for ln, rm, chown and mkdir commands
2015-06-20 14:49:51 +00:00
Filippo Squillace
29d76a01a9
Issue #79 : Create the initial functions
2015-06-20 14:49:46 +00:00
Filippo Squillace
82cb6caa14
Issue #63 : Change name to JuNest!
2015-05-25 17:52:45 +00:00
Filippo Squillace
39b0e941b8
Issue #63 : Change name to JuJube!
2015-05-17 15:09:54 +00:00
Filippo Squillace
1e3f25d5cb
Issue #63 : Parametrize the environment name
2015-05-15 19:56:11 +00:00
Filippo Squillace
85d8e2ddeb
Issue #73 : Ensure to delete mtab in normal user
2015-05-10 16:11:38 +00:00
Filippo Squillace
00f0ee3b6a
Issue #71 : Use chroot to fallback in root mode
2015-05-02 21:13:07 +00:00
Filippo Squillace
fa440287fe
Ensure to have assign ownership to the user on root access
2015-04-09 03:26:57 +02:00
Filippo Squillace
3180cd63f8
Issue #58 : Fix on root access
2015-04-09 03:10:15 +02:00
Filippo Squillace
0a0aac52f5
Fix the test_all.sh
2015-04-04 16:32:40 +02:00
Filippo Squillace
119d3c3430
Issue #67 : Add shunit for test_core
2015-03-27 14:49:03 +01:00
Filippo Squillace
32e986ee0e
Issue #67 : Add shunit for test_juju
2015-03-27 01:53:35 +01:00
Filippo Squillace
3d26d98154
Issue #67 : Add shunit for test_util
2015-03-27 00:28:44 +01:00
Filippo Squillace
5405d4fb91
Issue #61 : Add disable validation option
2015-02-12 01:29:31 +01:00
Filippo Squillace
c241e2329d
Issue #29 : Changing ownership of the files at exit of chroot
2015-01-30 18:07:05 +01:00
Filippo Squillace
e82cc672f6
Issue #56 : Fix tests
2015-01-27 01:11:30 +01:00
Filippo Squillace
fd4c8ae02e
Fix test for running proot as root
2015-01-18 13:54:49 +01:00
Filippo Squillace
ca3be673a4
Fix issue #54 : tests and the check for root access to proot
2015-01-17 19:15:41 +01:00
Filippo Squillace
7610e75260
Fix issue #46 : Deprecate getopt
2015-01-09 00:26:24 +01:00