You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//var/tmp/rpm-tmp.bsFUZi: line 119: groupadd: command not found
/var/tmp/rpm-tmp.bsFUZi: line 201: useradd: command not found
error: %pre(sensu-agent-2.0.0~nightly+20180707-1.x86_64) scriptlet failed, exit status 127
Error in PREIN scriptlet in rpm package sensu-agent-2.0.0~nightly+20180707-1.x86_64
Verifying : sensu-agent-2.0.0~nightly+20180707-1.x86_64 1/1
u
Failed:
sensu-agent.x86_64 0:2.0.0~nightly+20180707-1
yum install shadow-utils
yum install sensu-agent - SUCCESS
Context
I am evaluating adding Amazon Linux support to sensu-puppet project for Sensu 2.0.
Your Environment
Sensu version used (sensuctl, sensu-backend, and/or sensu-agent): sensu-agent version 2.0.0-nightly#7cb4b9d, build 7cb4b9da29522b7e54d18ea219d5ed8159320ea5, built 2018-07-07T09:19:17+0000
Expected Behavior
I'd expect
yum install sensu-agent
to succeed.Current Behavior
Install sensu-agent on
amazonlinux:2
docker container and install fails becauseuseradd
andgroupadd
are missing.Possible Solution
Add
Requires: shadow-utils
to RPM spec for sensu packages that add users and groups. May be able to instead addRequires: /usr/sbin/useradd
instead.Steps to Reproduce (for bugs)
docker run -it amazonlinux:2 /bin/bash
curl -s https://packagecloud.io/install/repositories/sensu/nightly/script.rpm.sh | bash
yum install sensu-agent
yum install shadow-utils
yum install sensu-agent
- SUCCESSContext
I am evaluating adding Amazon Linux support to sensu-puppet project for Sensu 2.0.
Your Environment
sensu-agent version 2.0.0-nightly#7cb4b9d, build 7cb4b9da29522b7e54d18ea219d5ed8159320ea5, built 2018-07-07T09:19:17+0000
The text was updated successfully, but these errors were encountered: