* [Buildroot] [Bug 13081] New: host-e2fsprogs attempts to create udev rules.d on build host if not exists @ 2020-07-18 2:47 bugzilla at busybox.net 2020-07-18 2:49 ` [Buildroot] [Bug 13081] " bugzilla at busybox.net ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: bugzilla at busybox.net @ 2020-07-18 2:47 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=13081 Bug ID: 13081 Summary: host-e2fsprogs attempts to create udev rules.d on build host if not exists Product: buildroot Version: unspecified Hardware: All OS: Linux Status: NEW Severity: normal Priority: P5 Component: Other Assignee: unassigned at buildroot.uclibc.org Reporter: christian at paral.in CC: buildroot at uclibc.org Target Milestone: --- If the /usr/lib/udev path does not exist on the build host, the "installdirs-udev" step of the "install-progs-recursive" step of host-e2fsprogs host-install in Buildroot attempts to create it. This is a leak out of the Buildroot host dir structure. Log output: making install in po if test "e2fsprogs" = "gettext-tools"; then \ /bin/mkdir -p /home/paralin/repos/skiff-configs/skiff/workspaces/desktop/host/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en at quot.header en at boldquot.header insert-header.sin Rules-quot Makevars.t emplate; do \ /usr/bin/install -c -m 644 ./$file \ a /home/paralin/repos/skiff-configs/skiff/workspaces/desktop/host/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /home/paralin/repos/skiff-configs/skiff/workspaces/desktop/host/share/gettext/po/$file; \ done; \ else \ : ; \ fi making install in scrub :MKDIR_P /usr/lib/udev/rules.d /bin/mkdir: cannot create directory '/usr/lib/udev': Permission denied make[5]: *** [Makefile:420: installdirs-udev] Error 1 make[4]: *** [Makefile:433: install-progs-recursive] Error 1 make[3]: *** [package/pkg-generic.mk:280: /home/paralin/repos/skiff-configs/skiff/workspaces/desktop/build/host-e2fsprogs-1.45.6/.stamp_host_insta lled] Error 2 -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 13081] host-e2fsprogs attempts to create udev rules.d on build host if not exists 2020-07-18 2:47 [Buildroot] [Bug 13081] New: host-e2fsprogs attempts to create udev rules.d on build host if not exists bugzilla at busybox.net @ 2020-07-18 2:49 ` bugzilla at busybox.net 2020-07-18 6:21 ` bugzilla at busybox.net ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: bugzilla at busybox.net @ 2020-07-18 2:49 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=13081 --- Comment #1 from Christian Stewart <christian@paral.in> --- Seems like the /usr/lib/systemd/system path also leaks: making install in scrub MKDIR_P /usr/lib/udev/rules.d iMKDIR_P /usr/lib/systemd/system /bin/mkdir: cannot create directory '/usr/lib/systemd/system': Permission denied -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 13081] host-e2fsprogs attempts to create udev rules.d on build host if not exists 2020-07-18 2:47 [Buildroot] [Bug 13081] New: host-e2fsprogs attempts to create udev rules.d on build host if not exists bugzilla at busybox.net 2020-07-18 2:49 ` [Buildroot] [Bug 13081] " bugzilla at busybox.net @ 2020-07-18 6:21 ` bugzilla at busybox.net 2020-07-18 6:21 ` bugzilla at busybox.net 2020-07-18 13:51 ` bugzilla at busybox.net 3 siblings, 0 replies; 5+ messages in thread From: bugzilla at busybox.net @ 2020-07-18 6:21 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=13081 --- Comment #2 from Christian Stewart <christian@paral.in> --- Created attachment 8536 --> https://bugs.busybox.net/attachment.cgi?id=8536&action=edit hacky fix for e2fs progs writing to host system -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 13081] host-e2fsprogs attempts to create udev rules.d on build host if not exists 2020-07-18 2:47 [Buildroot] [Bug 13081] New: host-e2fsprogs attempts to create udev rules.d on build host if not exists bugzilla at busybox.net 2020-07-18 2:49 ` [Buildroot] [Bug 13081] " bugzilla at busybox.net 2020-07-18 6:21 ` bugzilla at busybox.net @ 2020-07-18 6:21 ` bugzilla at busybox.net 2020-07-18 13:51 ` bugzilla at busybox.net 3 siblings, 0 replies; 5+ messages in thread From: bugzilla at busybox.net @ 2020-07-18 6:21 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=13081 --- Comment #3 from Christian Stewart <christian@paral.in> --- The attached patch disables e2fsprogs scrub utilities by removing them from the Makefile.in. This fixes the build on systems where the paths it tries to mkdir -p do not already exist. But, a better patch is probably needed for upstream. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 13081] host-e2fsprogs attempts to create udev rules.d on build host if not exists 2020-07-18 2:47 [Buildroot] [Bug 13081] New: host-e2fsprogs attempts to create udev rules.d on build host if not exists bugzilla at busybox.net ` (2 preceding siblings ...) 2020-07-18 6:21 ` bugzilla at busybox.net @ 2020-07-18 13:51 ` bugzilla at busybox.net 3 siblings, 0 replies; 5+ messages in thread From: bugzilla at busybox.net @ 2020-07-18 13:51 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=13081 Thomas Petazzoni <thomas.petazzoni@bootlin.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> --- This is fixed by https://git.buildroot.org/buildroot/commit/?id=ea6ddd367140f38bb512cf35de9f84d0ac853cff -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-07-18 13:51 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-07-18 2:47 [Buildroot] [Bug 13081] New: host-e2fsprogs attempts to create udev rules.d on build host if not exists bugzilla at busybox.net 2020-07-18 2:49 ` [Buildroot] [Bug 13081] " bugzilla at busybox.net 2020-07-18 6:21 ` bugzilla at busybox.net 2020-07-18 6:21 ` bugzilla at busybox.net 2020-07-18 13:51 ` bugzilla at busybox.net
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.