Re: [Rpm-maint] [rpm-software-management/rpm] Accept --nocaps also for the package installation (#178)
@lkundrak Could you please also add the required information to `doc/rpm.8`? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/178#issuecomment-287248475___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
[Rpm-maint] [PATCH] debugedit: Fix edit_dwarf2_line replace_dirs -> replace_files typo.
From: Mark WielaardWe wouldn't replace the changed file names if replace_dirs was false, but replace_files was true. This could overrun the new debug_line data buffer if the original file name was larger than the replacement. It wasn't found before because often when we need to replace files we also would have to replace dirs. This fixes the kubernetes build in fedora. Signed-off-by: Mark Wielaard --- tools/debugedit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/debugedit.c b/tools/debugedit.c index 4798c63..87a423f 100644 --- a/tools/debugedit.c +++ b/tools/debugedit.c @@ -1185,7 +1185,7 @@ edit_dwarf2_line (DSO *dso) { const char *file = (const char *) optr; const char *file_path = NULL; - if (t->replace_dirs) + if (t->replace_files) { file_path = skip_dir_prefix (file, base_dir); if (file_path != NULL) -- 1.8.3.1 ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
[Rpm-maint] [rpm-software-management/rpm] Accept --nocaps also for the package installation (#178)
Makes it possible to work around trouble of installing packages that use file capabilities in user namespaces. It simply ignores the capabilities as opposed to setting a setuid bit. This is a safer things to do, but possibly has a negative impact on some tools (such as ping being usable only by the superuser). https://bugzilla.redhat.com/show_bug.cgi?id=648654 You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/178 -- Commit Summary -- * Accept --nocaps also for the package installation -- File Changes -- M lib/fsm.c (8) M lib/poptI.c (6) M lib/poptQV.c (9) M lib/rpmcli.h (1) M lib/rpmts.h (3) M python/rpmmodule.c (1) -- Patch Links -- https://github.com/rpm-software-management/rpm/pull/178.patch https://github.com/rpm-software-management/rpm/pull/178.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/178 ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint