Results 7 issues of Dave Goehrig

After noticing that components were still running after GG failed to shut them down upon shutdown, they were reparented to init. Then when greengrass restarted, duplicate processes were started. After...

enhancement

The function getChildPids uses the ps command and flags not supported by Busybox Process proc = Runtime.getRuntime().exec(new String[]{"ps", "-ax", "-o", "pid,ppid"}); https://github.com/aws-greengrass/aws-greengrass-nucleus/blob/87d89a61342f20e2e84f505af38bd89f68514c2f/src/main/java/com/aws/greengrass/util/platforms/unix/UnixPlatform.java#L489 Busyboxy supports -o and -T and that is...

enhancement

The createUser function uses a nonportable useradd to create the user which is not available in busybox by default: runCmd("useradd -r -m " + user, o -> { https://github.com/aws-greengrass/aws-greengrass-nucleus/blob/87d89a61342f20e2e84f505af38bd89f68514c2f/src/main/java/com/aws/greengrass/util/platforms/unix/UnixPlatform.java#L355 Busyboxy...

enhancement

The function addUserToGroup uses usermod under the hood to add a user to a group runCmd("usermod -a -G " + group + " " + user, o -> { https://github.com/aws-greengrass/aws-greengrass-nucleus/blob/87d89a61342f20e2e84f505af38bd89f68514c2f/src/main/java/com/aws/greengrass/util/platforms/unix/UnixPlatform.java#L367...

enhancement

as it is not apparent until you read through the crash dump stating: {"init terminating in do_boot",{undef,[{elib1_misc,dump,["exprs.tmp",....

The utf8 encoding changes have resulted in a regression that has unexpected side effects. Consider the following table: create table foo (foo longblob); and script: use DBI; my $dbh =...

utf8

Changing the binary sigil from %b to %s as per Elixir master. Seems to work :)