Natanael Copa

Results 207 comments of Natanael Copa

I think I know what is going on. This happens on fedora because they have a line longer than 504 bytes in /proc/mounts before the `/sys/fs/cgroup` line: ``` overlay /...

For the record, this is the full `/proc/mounts` inside docker on fedora 43: ``` / # cat /proc/mounts overlay / overlay rw,seclabel,relatime,lowerdir=/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/15/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/6/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/5/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/4/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1/fs,upperdir=/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/16/fs,workdir=/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/16/work 0 0 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0...

Reported to upstream busybox: https://lists.busybox.net/pipermail/busybox/2025-December/091859.html

I have pushed `alpine:3.23.2` that works around the problem by increasing the buffer size. > The fix @ncopa submitted is not safe if a line goes over 1k, I aimed...

upstream report: https://lists.busybox.net/pipermail/busybox/2025-December/091859.html patch that was sent upstream: https://lists.busybox.net/pipermail/busybox/2025-December/091861.html

I had a quick look at how properly fix it upstream, but its a bit complicated. the `getmntent_r` interface is not standardized and apparently it does not return `ERANGE` on...

@ushuz `ldconfig` works just fine. it does not cache anything like gnu libc does so there is nothing to print with `ldconfig -p`. as you understand they (rightfully) don't trust...