aws / aws/aws-ec2-instance-connect-config

'make rpm' fails after the removal of host key harvesting

Open
#41 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
88
Forks
39
PR merge metrics
No merged PRs in 30d

Description

Commit 4374d3ac92d089f7c43f96b5fa432c4129327296 removed hostkey harvesting, but the file `/src/bin/eic_harvest_hostkeys` was not removed.

This causes the rpm build process to fail with the following error:
>Checking for unpackaged file(s): /usr/lib/rpm/check-files
> /root/aws-ec2-instance-connect-config/rpmbuild/BUILDROOT/ec2-instance-connect-1.1-18.x86_64error: Installed (but unpackaged) file(s) found:
>
> /opt/aws/bin/eic_harvest_hostkeys

Removing the `/src/bin/eic_harvest_hostkeys` file resolved this.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting /src/bin/eic_harvest_hostkeys and the RPM packaging path invoked by make rpm. Remove the obsolete file and run make rpm; done means the build completes without the unpackaged-file error for /opt/aws/bin/eic_harvest_hostkeys.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
build-system
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.