HomeSoftware Heritage

conf: Fix the scope of the visudo -c check
6875e3c16bb1Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

conf: Fix the scope of the visudo -c check

Currently, the module does a visudo -c - which check everyfile - to
validate that the sudo::conf was correct. Unfortunately, if one needs
to be in purge -> false, and some files there have wrong permissions
because of a packaging related issues, it cancels the sudo::conf even
if the rule is perfectly valid. This patch aims to fix that, using the
-f option of visudo to validate only the file we are adding.

Details

Provenance
Yanis Guenane <yanis.guenane@enovance.com>Authored on
olasdPushed on Sep 10 2015, 1:29 PM
Parents
rSPSUDObe624a8e6f23: [blacksmith] Bump version
Branches
Unknown
Tags
Unknown

Event Timeline

Yanis Guenane <yanis.guenane@enovance.com> committed rSPSUDO6875e3c16bb1: conf: Fix the scope of the visudo -c check (authored by Yanis Guenane <yanis.guenane@enovance.com>).Feb 19 2015, 9:49 PM