Skip to content

Commit f0d68bb

Browse files
committed
quickpkg: enable include-unmodified-config by default
If the user has not modified an installed config file, there should be no risk of exposing secret information by including the file. This makes quickpkg behave more reasonably with FEATURES="config-protect-if-modified", which has been enabled by default since 304dfb0. Bug: https://bugs.gentoo.org/939896 Signed-off-by: Mike Gilbert <[email protected]>
1 parent 38ff9e6 commit f0d68bb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: bin/quickpkg

+2-2
Original file line numberDiff line numberDiff line change
@@ -420,9 +420,9 @@ if __name__ == "__main__":
420420
parser.add_argument(
421421
"--include-unmodified-config",
422422
choices=["y", "n"],
423-
default="n",
423+
default="y",
424424
metavar="<y|n>",
425-
help="include files protected by CONFIG_PROTECT that have not been modified since installation (as a security precaution, default is 'n')",
425+
help="include files protected by CONFIG_PROTECT that have not been modified since installation",
426426
)
427427
options, args = parser.parse_known_args(sys.argv[1:])
428428
if not options.ignore_default_opts:

Diff for: man/quickpkg.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ default is 'n').
3838
.TP
3939
.BR "\-\-include\-unmodified\-config < y | n >"
4040
Include files protected by CONFIG_PROTECT that have not been modified
41-
since installation (as a security precaution, default is 'n').
41+
since installation.
4242
.TP
4343
.BR \-\-umask=UMASK
4444
The umask used during package creation (default is 0077).

0 commit comments

Comments
 (0)