google/stenographer

rpm created stenographer doesn't run

ct0br0 opened this issue · 3 comments

Used the spec file to create an rpm.
But after install, stenographer does not run.
No error messages, with defaults, -v, -config, -syslog.
Ran as root, as service with stenographer.
Just exits, $? is 1

stenokeys.sh does not run properly

had to comment out the CertPath variable lines
not sure where CertPath is supposed to be brought in
https://github.com/google/stenographer/blob/master/stenokeys.sh#L143

then running as root, errors came

Apr 16 19:06:01 sensor02 stenographer[6840]: 2020/04/16 19:06:01 Stenotype ran for too little time, crashing to avoid stenotype crash loop
Apr 16 19:06:01 sensor02 stenographer[6840]: 2020/04/16 19:06:01 Stenotype stopped after 570.027666ms: stenotype wait failed: signal: aborted
Apr 16 19:06:01 sensor02 stenographer[6840]: /usr/bin/stenotype() [0x408228]
                                             /usr/bin/stenotype() [0x42c214]
                                             /usr/bin/stenotype() [0x42d24c]
                                             /lib64/libc.so.6(__libc_start_main+0xf5) [0x7efffd184555]
                                             /usr/bin/stenotype() [0x40410b]
Apr 16 19:06:01 sensor02 stenographer[6840]: 2020-04-16T19:06:01.673858Z T:fec237 [stenotype.cc:260] CHECK(group != NULL) Unable to get info for group nogroup
                                             ABORTABORTABORT

running as stenographer user as a service works

looks like it's hardcoded to /etc/stenographer/config too?