Justin Cormack
23415c038b
Rework moving automount earlier in boot sequence
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-15 09:54:07 +00:00
Justin Cormack
bd800943d9
Fix /run symlink issues
...
- run bootmisc before sysklogd so symlinks from /var/run to
/run are created
- recreate symlinks that bootmisc created when we remount /var
until this gets moved earlier
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-14 22:00:12 +00:00
Justin Cormack
dc10cff096
Revert "Use /run for pidfiles for sysklogd"
...
This reverts commit b8ff787239 .
syslogd always uses /var/run internally, need to fix symlinks.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-14 19:55:07 +00:00
Justin Cormack
29df1f9f7b
Use /run for pidfiles for sysklogd
...
This is the real location, and /var may be overmounted.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-14 18:38:37 +00:00
Justin Cormack
9d81e2efef
Always start vsudd before syslog
...
If we are using vsudd to forward syslog to the host, as on osx,
we need to start it before syslog starts, and make sure it has
created its socket.
Add a pidfile to vsudd to make startup more reliable.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-14 17:08:37 +00:00
Justin Cormack
b042b5127f
Revert "Format filesystems earlier, before syslog"
...
This reverts commit 4dd5dca106 .
Fix #710 where system hangs after klogd startup on AWS. Possibly
also affects Windows too. Still unclear why but lets revert and
continue investif=gating.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-12 15:29:27 +00:00
Justin Cormack
9a95224681
Format filesystems earlier, before syslog
...
So that we can write to /var early, move filesystem formatting as early as possible.
Adds a dummy fsck service, as we already do fsck in format script.
Replaces #535
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-08 15:20:46 +00:00
Justin Cormack
3f00b547ac
move 9pinit to packages
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-23 13:18:43 +00:00
Justin Cormack
a7cc326f1c
move automount to packages
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-23 13:02:25 +00:00
Justin Cormack
635a44ab99
use standard chronyd config file, but make sure it starts after docker as it is slow
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-23 12:50:35 +00:00
Justin Cormack
9276dc01fd
More allowed drive types
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-21 09:50:42 +00:00
Justin Cormack
6670833de8
move config files under packages
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-18 16:41:29 +00:00
Justin Cormack
6cce9a78e9
Use official docker image instead of Alpine package; switch to aufs by default
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-18 14:13:34 +00:00
Justin Cormack
2a0f80b497
clean up rc files
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-18 10:46:34 +00:00
Justin Cormack
cef96a9d5b
use first partition if several
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-16 14:49:58 +00:00
Justin Cormack
86795cc605
identify the partition types for mounting; fixes issues with some beta users where this changed
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-15 16:54:06 +00:00
Justin Cormack
5d199b9591
support /dev/vda as a disk as well as /dev/sda and mount one for xhyve run
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-15 11:22:19 +00:00
Justin Cormack
6d0d3616a7
fix automount script, as the settings do not persist, as fstab changes dropped
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-14 18:16:08 +00:00
Justin Cormack
db56b320a4
use the standard alpine tool to setup disk instead
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-14 15:40:58 +00:00
Justin Cormack
deb0043f9d
replace automount script with a more rebust one, will later replace with alpine setup-disk. fix #378
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-14 14:56:23 +00:00
Justin Cormack
4e6c850e7e
slight hack to start up chronyd in the background as it is very slow
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-11 14:58:21 +00:00
Justin Cormack
66c349a0db
advertise moby hostname not always docker.local.
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-11 14:42:37 +00:00
Justin Cormack
4d19e8e097
fix typo
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-11 13:56:31 +00:00
Justin Cormack
8f676270a6
use findfs not blkid here
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-11 10:28:28 +00:00
Justin Cormack
7694168a7c
Revert "work around busybox blkid" now we have upstream blkid
...
This reverts commit 6f8ecb38f1 .
2015-12-11 09:54:08 +00:00
Justin Cormack
1b5c4fc81b
work around busybox blkid
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-11 09:43:22 +00:00
Justin Cormack
69b15d551e
fix process startup, now runs docker correctly
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-10 16:25:04 +00:00
Justin Cormack
bc0288a2eb
Add in startup code for the pinata specific tools. Should be split out as packages later
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-10 11:26:58 +00:00
Justin Cormack
47b98507e3
make chronyd start after docker as it is slow starting
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-07 19:28:52 +00:00
Justin Cormack
a75e2b142b
Moby now runs Docker
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-07 18:14:17 +00:00
Justin Cormack
62ad646081
vendor upstream sysfs init
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-07 17:14:13 +00:00