Justin Cormack
a3cb39e21a
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
96399432f3
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
bf2ee91861
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
b8ff787239
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
2174a9371b
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
8dbaef8b9c
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
4dd5dca106
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
c43dd60a39
move 9pinit to packages
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-23 13:18:43 +00:00
Justin Cormack
364d6f5aa1
move automount to packages
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-23 13:02:25 +00:00
Justin Cormack
4165acdd88
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
a0ca83be2d
More allowed drive types
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-21 09:50:42 +00:00
Justin Cormack
bb2fd04e2a
move config files under packages
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-18 16:41:29 +00:00
Justin Cormack
4af10a3026
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
866cacb79b
clean up rc files
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-18 10:46:34 +00:00
Justin Cormack
4cc739f07f
use first partition if several
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-16 14:49:58 +00:00
Justin Cormack
30a3c40b09
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
b8464e2ee4
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
c6f6a6ffa2
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
fedc7238ca
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
9e7a213777
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
e4da1b5158
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
040842d9ef
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
5a43d52b59
fix typo
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-11 13:56:31 +00:00
Justin Cormack
975f597574
use findfs not blkid here
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-11 10:28:28 +00:00
Justin Cormack
8a8b16f860
Revert "work around busybox blkid" now we have upstream blkid
...
This reverts commit 6f8ecb38f1 .
2015-12-11 09:54:08 +00:00
Justin Cormack
6f8ecb38f1
work around busybox blkid
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-11 09:43:22 +00:00
Justin Cormack
e4d19c90dc
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
39de916e54
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
f3f60f724e
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
5d013ba4b3
Moby now runs Docker
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-07 18:14:17 +00:00
Justin Cormack
f2fb098e22
vendor upstream sysfs init
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-07 17:14:13 +00:00