dev-db/pgagent: new revision with a dedicated "pgagent" user.
authorMichael Orlitzky <mjo@gentoo.org>
Wed, 16 Aug 2017 05:15:21 +0000 (01:15 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Wed, 16 Aug 2017 05:15:21 +0000 (01:15 -0400)
commit5b41b4fb3fc10a2b4046fb2c8c97d9b824505f20
tree5faa235c2925a14c716d51ce1d57b67da9fd87e1
parent89f1b0aa6d37709506b3a0718ca030461eb492c0
dev-db/pgagent: new revision with a dedicated "pgagent" user.

The pgagent daemon used to run as root, which can be dangerous. That
system user is used to execute the database jobs, meaning that a
non-root user with permission to schedule pgagent jobs could gain
root. This new revision creates a dedicated "pgagent" system user,
and the new init script launches the daemon as that user.

An ewarn lets users know that some migration work may be needed.

Gentoo-Bug: 537264

Package-Manager: Portage-2.3.6, Repoman-2.3.1
dev-db/pgagent/files/pgagent.initd-r1 [new file with mode: 0644]
dev-db/pgagent/pgagent-3.4.0-r2.ebuild [new file with mode: 0644]