[Bug 290080] sysutils/amazon-ssm-agent: Enable unprivileged installation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Oct 2025 21:04:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290080
Bug ID: 290080
Summary: sysutils/amazon-ssm-agent: Enable unprivileged
installation
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: cperciva@FreeBSD.org
Reporter: markj@FreeBSD.org
Assignee: cperciva@FreeBSD.org
Flags: maintainer-feedback?(cperciva@FreeBSD.org)
Created attachment 264387
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=264387&action=edit
proposed patch
The attached patch modifies amazon-ssm-agent's post install script to
optionally log added files to the metalog. In particular, when installing as
an unprivileged user, this ensures that the ssm-agent's home directory is added
to the metalog manifest.
Sample entries from when I install a modified package into a staging directory:
1413 ./home type=dir mode=0755 uid=0 gid=0
1414 ./home/ssm-user type=dir mode=0755 uid=1001 gid=1001
1415 ./home/ssm-user/.mailrc type=file mode=0644 uid=1001 gid=1001
1416 ./home/ssm-user/.login_conf type=file mode=0644 uid=1001 gid=1001
1417 ./home/ssm-user/.mail_aliases type=file mode=0600 uid=1001 gid=1001
1418 ./home/ssm-user/.login type=file mode=0644 uid=1001 gid=1001
1419 ./home/ssm-user/.profile type=file mode=0644 uid=1001 gid=1001
1420 ./home/ssm-user/.cshrc type=file mode=0644 uid=1001 gid=1001
1421 ./home/ssm-user/.shrc type=file mode=0644 uid=1001 gid=1001
--
You are receiving this mail because:
You are the assignee for the bug.