public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH-SERIES proxmox{, -mail-forward, -backup}/pve-manager] add proxmox-mail-forward helper binary
@ 2022-10-21 13:02 Fiona Ebner
  2022-10-21 13:02 ` [pbs-devel] [PATCH proxmox 1/1] section config: parse additional properties when schema allows it Fiona Ebner
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Fiona Ebner @ 2022-10-21 13:02 UTC (permalink / raw)
  To: pve-devel, pbs-devel

written in Rust, and replacing the pvemailforward binary in PVE. Can
be used in PVE and PBS as well as in a mixed installations of the two.

To make reading the config files work, it is a setuid binary owned by
root, but it sets the effective UID to the real UID after reading the
configs, so parsing and sendmail invocation happen with lower
privileges again (well, except if the binary was called by root
directly).

The .forward file is updated during postinst as currently done in
pve-manager. proxmox-mail-forward's postinst will not do anything
when detecting a pvemailforward entry. Instead pve-manager is
responsible for the switchover in PVE.


proxmox-mail-forward needs a depenency bump for proxmox-section-config
for the functionality added by the first patch.

proxmox-backup recommends proxmox-mail-forward (I felt a Recommends
is more fitting, but feel free to change it) and pve-manager depends
on proxmox-mail-forward are part of the series.


proxmox:

Fiona Ebner (1):
  section config: parse additional properties when schema allows it

 proxmox-section-config/src/lib.rs | 79 ++++++++++++++++++++++++++++++-
 1 file changed, 78 insertions(+), 1 deletion(-)


proxmox-mail-forward:

Fiona Ebner (3):
  initial commit
  add Debian packaging
  d/postinst: register binary in .forward


proxmox-backup:

Fiona Ebner (1):
  fix #4287: d/control: recommend proxmox-mail-forward

 debian/control | 1 +
 1 file changed, 1 insertion(+)


pve-manager:

Fiona Ebner (4):
  d/control: depend on proxmox-mail-forward
  d/postinst: replace pvemailforward with proxmox-mail-forward
  remove pvemailforward binary
  d/control: drop ${shlibs:Depends} for pve-manager

 bin/Makefile             | 11 +++-------
 bin/pvemailforward.c     | 17 ---------------
 bin/pvemailforward.pl    | 45 ----------------------------------------
 debian/control           |  2 +-
 debian/lintian-overrides |  4 ----
 debian/postinst          | 10 +++++++--
 debian/rules             |  2 +-
 7 files changed, 13 insertions(+), 78 deletions(-)
 delete mode 100644 bin/pvemailforward.c
 delete mode 100755 bin/pvemailforward.pl

-- 
2.30.2





^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-11-10 11:11 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-21 13:02 [pbs-devel] [PATCH-SERIES proxmox{, -mail-forward, -backup}/pve-manager] add proxmox-mail-forward helper binary Fiona Ebner
2022-10-21 13:02 ` [pbs-devel] [PATCH proxmox 1/1] section config: parse additional properties when schema allows it Fiona Ebner
2022-10-24 11:47   ` [pbs-devel] applied: " Wolfgang Bumiller
2022-10-21 13:02 ` [pbs-devel] [PATCH proxmox-mail-forward 1/3] initial commit Fiona Ebner
2022-11-10 10:46   ` [pbs-devel] applied: " Wolfgang Bumiller
2022-10-21 13:02 ` [pbs-devel] [PATCH proxmox-mail-forward 2/3] add Debian packaging Fiona Ebner
2022-10-21 13:02 ` [pbs-devel] [PATCH proxmox-mail-forward 3/3] d/postinst: register binary in .forward Fiona Ebner
2022-10-21 13:02 ` [pbs-devel] [PATCH proxmox-backup 1/1] fix #4287: d/control: recommend proxmox-mail-forward Fiona Ebner
2022-11-10 10:49   ` [pbs-devel] applied: " Wolfgang Bumiller
2022-10-21 13:02 ` [pbs-devel] [PATCH manager 1/4] d/control: depend on proxmox-mail-forward Fiona Ebner
2022-10-21 13:02 ` [pbs-devel] [PATCH manager 2/4] d/postinst: replace pvemailforward with proxmox-mail-forward Fiona Ebner
2022-10-21 13:02 ` [pbs-devel] [PATCH manager 3/4] remove pvemailforward binary Fiona Ebner
2022-10-21 13:02 ` [pbs-devel] [PATCH manager 4/4] d/control: drop ${shlibs:Depends} for pve-manager Fiona Ebner
2022-11-10 11:11   ` [pbs-devel] [pve-devel] " Thomas Lamprecht
2022-11-10 10:58 ` [pbs-devel] applied-series: [PATCH-SERIES proxmox{, -mail-forward, -backup}/pve-manager] add proxmox-mail-forward helper binary Wolfgang Bumiller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal