[pmg-devel] applied: [PATCH pmg-api 2/2] do not create /cluster/<cid> unconditionally

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Nov 18 17:03:44 CET 2020


On 18.11.20 15:52, Stoiko Ivanov wrote:
> while looking through the spooldir creation we noticed the mkdir call
> on a relative path. This creates a '/cluster/<cid>/' directory on each system
> which has a cluster.conf (<cid> being the node's clusterid). This is not used
> since the spooldirs are in '/var/spool/pmg/cluster/'
> 
> Simply drop the mkdir call, since the spooldirs get created upon cluster
> creation (PMG::API2::Cluster::create) and joining to an existing cluster.
> 
> Reported-by: Dominik Csapak <d.csapak at proxmox.com>
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
>  src/PMG/MailQueue.pm | 1 -
>  1 file changed, 1 deletion(-)
> 
>

applied, thanks!




More information about the pmg-devel mailing list