Commit Graph

749 Commits

Author SHA1 Message Date
Michael Marineau
a14d446222 Merge pull request #171 from marineam/base
coreos-base updates, docker socket fixed
2013-08-22 18:46:11 -07:00
Michael Marineau
073071a627 fix(app-emulation/docker): Remove old ebuilds, remove sysctl call.
ipv4 forwarding is now enabled in coreos-base via a sysctl config.
2013-08-22 21:09:18 -04:00
Michael Marineau
cd40d3e46b fix(coreos-base/coreos-base): Install sysctl, a little more cleanup.
Pair down the old unused sysctl.conf do what is useful for us and
install it into /usr/lib/sysctl.d for systemd to handle.

Installing /srv in the SDK does no harm so do so.

EAPI=5 because, better.
2013-08-22 21:09:04 -04:00
Michael Marineau
898a3a3a08 fix(coreos-base/coreos-base): Change core's shell to bash.
It is bash but might as well be explicit about that.
2013-08-22 21:07:29 -04:00
Michael Marineau
a1a5f82b28 fix(coreos-base/coreos-base): Remove directory creation.
This duplicates sys-apps/baselayout so don't bother. Probably left over
from when baselayout wasn't properly installed with the 'build' use flag
to initialize the filesystem tree.
2013-08-22 21:07:18 -04:00
Michael Marineau
a19498b725 fix(coreos-base/coreos-base): Update users and groups.
Remove the following unused users/groups:
 - core-access
 - polkituser
 - pkcs11
 - ipsec
 - tor
 - tcpdump
 - debugd
 - openvpn
 - input

Add groups:
 - docker (new group, for things like access to docker socket)
 - systemd-journal (exists in sdk, not images. for journal log access)
 - dialout (exists in sdk, required by default udev rules)

The core user has access to docker and systemd-journal.
2013-08-22 21:07:07 -04:00
Michael Marineau
37a7bb4932 fix(coreos-base/coreos-base): Remove old ChromeOS files.
The udev rules are required on our system and refer to non-existent
groups causing udev to spew a bit of useless noise on boot.

The profile.d scripts don't do anything at all.
2013-08-22 21:05:46 -04:00
Brandon Philips
f8cc3c1d1a Merge pull request #170 from philips/etcd-listen-on-local
fix(dev-db/etcd): listen on 0.0.0.0:4001
2013-08-22 10:08:26 -07:00
Brandon Philips
97c626a8e7 fix(dev-db/etcd): listen on 0.0.0.0:4001
this fixes a regression where etcd no longer listens on 127.0.0.1 and
the public ip. Fix this up because etcd needs to listen on both for user
convienence and for other cluster members to talk to it.

TODO: Add 127.0.0.1 test to ami test.
2013-08-22 10:06:24 -07:00
Michael Marineau
419ce7a477 Merge pull request #169 from marineam/images
update cgpt and installer
2013-08-21 15:33:16 -07:00
Michael Marineau
ea7064cc20 fix(coreos-base/vboot_reference): Update git hash to merge commit. 2013-08-21 18:09:34 -04:00
Michael Marineau
2e1e051281 bump(coreos-base/coreos-intaller): minor code update 2013-08-21 14:09:03 -04:00
Michael Marineau
7e41042745 bump(coreos-base/vboot_reference): cgpt bugfix and features!
cgpt next is fixed and will properly failover now.
cgpt create can actually create (or extend) disk image files.
2013-08-20 21:02:57 -04:00
Michael Marineau
abeaa3761e Merge pull request #167 from marineam/dockerfix
fix(app-emulation/docker): Re-add inherit systemd, dropped by mistake.
2013-08-20 14:10:42 -07:00
Michael Marineau
b5c4edc3a7 fix(app-emulation/docker): Re-add inherit systemd, dropped by mistake.
Also add || die to actually catch errors for this sort of thing.
2013-08-20 17:05:48 -04:00
Michael Marineau
c79427d392 Merge pull request #166 from marineam/etcd
Etcd arg updates
2013-08-19 16:16:52 -07:00
Michael Marineau
5793e6c7f9 fix(dev-db/etcd): Fix command line args for >=0.1 etcd versions.
-h is gone, replaced by -n, -c, and -s
2013-08-19 19:06:27 -04:00
Michael Marineau
e251ff660d fix(dev-db/etcd): Remove -v flag, DEBUG is overly verbose prod hosts. 2013-08-19 18:46:22 -04:00
Michael Marineau
9528517210 Merge pull request #165 from marineam/docker
bump(app-emulation/docker): Update to 0.5.3, cleanup ebuild.
2013-08-19 13:09:19 -07:00
Michael Marineau
f43fef7261 bump(app-emulation/docker): Update to 0.5.3, cleanup ebuild.
Now we use a tarball instead of git and set the correct license. Wow!
2013-08-19 15:09:32 -04:00
Michael Marineau
4461185fce Merge pull request #164 from marineam/etcdctl
Etcdctl
2013-08-19 11:51:39 -07:00
Michael Marineau
79f896292c fix(dev-db/etcdctl): Declare copyright properly, this isn't Gentoo 2013-08-19 14:48:33 -04:00
Brandon Philips
e49efe2065 Merge pull request #163 from philips/upgrade-etcd
Upgrade etcd
2013-08-19 11:33:36 -07:00
Michael Marineau
9ca28684dd feat(coreos-base/coreos): Add etcdctl 2013-08-19 14:33:03 -04:00
Michael Marineau
eaf29b98ae add(dev-db/etcdctl): New ebuilds!
Add live ebuild along with 0.1.0 and 0.1.1 releases.
2013-08-19 14:30:22 -04:00
Brandon Philips
5eb5cb496a chore(dev-db/etcd): remove unused env variable in ebuild 2013-08-19 11:28:17 -07:00
Brandon Philips
ebd02c0b19 chore(dev-db/etcd): add a command about the hash source 2013-08-19 11:21:51 -07:00
Brandon Philips
0f71c19ca9 bump(dev-db/etcd): etcd-0.1.1 2013-08-19 10:56:48 -07:00
Brandon Philips
948c15c48d fix(etcd-bootstrap): add -f to delete old etcd info
We are changing stuff pretty rapidly in etcd just start blowing away any
info files we find on disk on an upgrade or start.
2013-08-19 10:56:48 -07:00
Brandon Philips
b539972254 feat(dev-db/etcd): set restart service policy 2013-08-19 10:56:48 -07:00
Brandon Philips
5c400a9c21 Merge pull request #162 from philips/auto-restart-docker
fix(app-emulation/docker): restart on crash
2013-08-16 15:40:15 -07:00
Brandon Philips
37e06a2c65 fix(app-emulation/docker): restart on crash
docker has been known to crash from time to time in odd situations. Auto
restart docker 1 second after an unexpected exit so that people can go
about their business.

Thanks to dsal & fkautz in #coreos
2013-08-16 15:36:04 -07:00
Michael Marineau
34d5789cef Merge pull request #161 from marineam/getty
bump(coreos-base/coreos-init): Update code, enables more gettys
2013-08-16 12:06:30 -07:00
Michael Marineau
ba1ea07df8 bump(coreos-base/coreos-init): Update code, enables more gettys
Now a getty will be created on every terminal specified by the console=
kernel command line options.
2013-08-16 14:16:54 -04:00
Michael Marineau
dca3e51f39 Merge pull request #160 from marineam/units
bump(coreos-base/coreos-init): tmpfiles update
2013-08-14 09:38:13 -07:00
Michael Marineau
17518255d8 bump(coreos-base/coreos-init): tmpfiles update 2013-08-14 12:36:52 -04:00
Brandon Philips
336289b081 Merge pull request #159 from philips/var-lib-etcd-handling
fix(dev-db/etcd): fixup tmp file handling
2013-08-13 16:30:07 -07:00
Brandon Philips
06f12e7668 fix(dev-db/etcd): fixup tmp file handling
instead of having scripts creating and managing directories use
tmpfiles.d do all of that. This will fix c10n not working on the AMI
too.
2013-08-13 15:58:41 -07:00
Michael Marineau
5dac798a26 Merge pull request #158 from marineam/misc-updates
Misc updates
2013-08-12 22:35:57 -07:00
Michael Marineau
42dc93dc92 fix(coreos-base/oem-ami): Simplify ssh key install
Use the new update-ssh-keys script to make the script a lot simpler. :)
2013-08-12 19:13:40 -04:00
Michael Marineau
14454b0cec fix(coreos-base/oem-vagrant): No need for run.sh for copying ssh key.
Copying authorized_keys is now built in to coreos-init.
2013-08-12 19:05:00 -04:00
Michael Marineau
47b3dd1038 bump(net-misc/gsutil): Update to 3.34
ebuilds originally created and tested in my "misc-overlay"
https://github.com/marineam/misc-overlay
2013-08-12 19:00:18 -04:00
Michael Marineau
1c8bd08f85 Merge pull request #157 from marineam/virtfs
coreos-init takes over the world
2013-08-11 20:20:11 -07:00
Michael Marineau
d6203b64c1 bump(coreos-base/coreos-init): Replaces oem-services in a generic way.
coreos-detect-virt has moved from oem-service and the oem-service unit
has been replaced by new units that work for both oem and virtfs mounts.
2013-08-11 22:30:21 -04:00
Michael Marineau
bab545f35b bump(coreos-base/coreos-init): Update to latest init code, includes c10n
Biggest diff here: coreos-init has a Makefile that supports the usual
'install' and 'test' targets so no file copying is required now.
coreos-c10n has moved to init from etcd and has its own service now.
This version of init also includes support for automounting virtfs
filesystems under qemu for use with an updated version of c10n but for
now c10n remains unchanged. Optionally unit tests are available too!
2013-08-11 14:43:51 -04:00
Michael Marineau
97c7997850 fix(dev-db/etcd): Remove coreos-c10n, it is moving to coreos-init 2013-08-11 13:55:43 -04:00
Michael Marineau
3e42b6aded fix(sys-kernel/coreos-kernel): Fix virtfs+dbus, add PCI hotplug.
This adds the following patch: (sent upstream, waiting on response)
  "9p: send uevent after adding/removing mount_tag attribute"

Also enable PCI hotplug to take advantage of more qemu fun! Now
adding/removing virtio devices (which are represented as PCI devices)
at runtime via the qemu monitor console works.
2013-08-11 13:00:02 -04:00
Michael Marineau
741c2aa70c feat(coreos-base/coreos-base): Add default vimrc so vim acts like vim.
Because, I mean, really.
2013-08-10 14:46:05 -04:00
Michael Marineau
73b14d27cf feat(sys-kernel/coreos-kernel): Add 9P virtio fs support.
This allows qemu virtual machines to access plain directories on the
host system in addition to the usual disk/filesystem images.
2013-08-08 13:15:00 -04:00
Michael Marineau
7575dfa11a fix(app-emulation/qemu): Remove unused architectures.
We don't have any arm or i386 targets right now so they can go away.
2013-08-08 13:11:14 -04:00