-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
re-enabling statx support on coreutils #20556
Comments
so what is the issue with travis anyway? the config is pointing to bionic, which should run a recent enough kernel to support statx. |
I assume you meant https://travis-ci.org/github/void-linux/xbps/jobs/669154357. Ok, so in that case can we just build xbps on travis with |
Just as a note, we still have linux3.16 and linux4.9. And I think coreutils should work with them, as long as we still provide them. |
Perhaps create a coreutils-legacy package which disables the statx(2) check and is built at the same time? |
hmm do we have any testing on those older kernels? I'd suspect there may be further problems with glibc being built on newer kernels and autodetecting features that are not necessarily available on a 3.16 kernel for example. |
I do not test the 3.16 kernel, just make sure it can be built. I don't actually know if we have any users of this version. |
linux3.16 does not even boot on my (recent) hardware. |
3.16 doesn't seem to be booting at all (getting stuck in early boot process after decompress/parsing ELF, and/or cold-rebooting). I can try to debug it later on a VM if there's still interest in having this kernel around, let me know. 3.18, 4.9 boot fine, and coreutils doesn't complain with statx enabled (glibc silently fallsback to stat). BTW 3.18 isn't LTS upstream (@pullmoll should we consider dropping it?) |
Same here. I can not get a single log output :-P agree to remove I could boot it several versions back in the past, though. |
@ailiop-git 3.18? We don't have that or do we? |
same on glibc, i suppose infra needs a xbps-rindex -c crontab or something along those lines. |
In case I wouldn't clean my repo on each update, I'd see ENOSPC more often. |
@xtraeme go ahead. |
Linux ash 4.4.215_1 #1 SMP PREEMPT Sun Mar 1 08:34:51 UTC 2020 x86_64 GNU/Linux $ strace -fe statx,fstat stat -t / Linux ash 4.9.215_1 #1 SMP PREEMPT Sun Mar 1 08:33:53 UTC 2020 x86_64 GNU/Linux $ strace -fe statx,fstat stat -t / Linux ash 5.4.23_1 #1 SMP PREEMPT Sat Feb 29 10:14:39 UTC 2020 x86_64 GNU/Linux $ strace -fe statx stat -t / @xtraeme looks OK, falling back to fstat in both 4.{4,9} (same stat binary, compiled against latest glibc on 5.4, statx enabled). |
Commit 9cd29dc ("coreutils: disable statx() support on glibc.") disabled detection of statx support as a workaround, due to the kernel>=v4.11 requirement that breaks travis.
Restoring statx support in coreutils would be nice, as stat (1) and ls are able to report inode birth times only via statx.
@xtraeme not sure what the plan with travis is, but would it make sense to create a base-minimal-travis that depends on a coreutils-compat (or something, maybe a subpkg) that disables statx? That way we can re-enable it on coreutils so that base-system is not impacted.
The text was updated successfully, but these errors were encountered: