Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

rpm created stenographer doesn't run #219

Open
ct0br0 opened this issue Apr 16, 2020 · 3 comments
Open

rpm created stenographer doesn't run #219

ct0br0 opened this issue Apr 16, 2020 · 3 comments

Comments

@ct0br0
Copy link

ct0br0 commented Apr 16, 2020

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

@ct0br0
Copy link
Author

ct0br0 commented Apr 16, 2020

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

@gconnell
Copy link
Contributor

gconnell commented Apr 16, 2020 via email

@ct0br0
Copy link
Author

ct0br0 commented Apr 17, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants