FS#46764 - [linux-grsec] resolvconf not working
Attached to Project:
Community Packages
Opened by ITwrx (andriesinfoserv) - Saturday, 17 October 2015, 13:28 GMT
Last edited by Daniel Micay (thestinger) - Tuesday, 03 November 2015, 19:32 GMT
Opened by ITwrx (andriesinfoserv) - Saturday, 17 October 2015, 13:28 GMT
Last edited by Daniel Micay (thestinger) - Tuesday, 03 November 2015, 19:32 GMT
|
Details
Description: resolvconf not working with linux-grsec
Additional info: linux-grsec 4.2.3.201510161817-1 systemd 227-1 kernel: resolvconf[832] bad frame in rt_sigreturn ... in libc-2.22.so kernel: grsec: brute force prevention initiated for the next 30 minutes or until service restarted, stalling each fork 30 seconds. Please investigate the crash report for /usr/bin/resolvconf[resolvconf:825] uid/euid:0/0 gid:egid:0/0 systemd-coredump: Process 832(rresolvconf) of user 0 dumped core. Steps to reproduce: boot arch with linux-grsec using dhcp for net interface? Thanks in advance. |
This task depends upon
i'm on x86_64.
thanks again
resolvconf works in linux-grsec-4.1.7.201509201149-1-x86_64.pkg.tar.xz
I'm guessing it's broke in linux-grsec-4.2.3.201510072230-1-x86_64.pkg.tar.xz but i get "bruteforce prevention initiated ... check crash log for /usr/lib/systemd/systemd-udevd" before it ever gets to the resolvconf issue.
same thing with linux-grsec-4.2.3.201510111839-1-x86_64.pkg.tar.xz.
then with linux-grsec-4.2.3.201510130858-1-x86_64.pkg.tar.xz udev issue is gone and resolvconf issue appears.
btw, i noticed i was unable to build a kernel while using in one of the previous two working grsec kernels, as mkinitcpio triggered bruteforce prevention measures too. Please let me know if i need to replicate and report that as well.
thanks.
I have the same kind of issue with 4.2.3.201510202025-1-grsec and mkinitcpio.
Oct 21 11:20:41 redacted kernel: mkinitcpio[502] bad frame in rt_sigreturn frame:0000038bb6ff26b8 ip:38526d4c150 sp:38bb6ff2c78 orax:ffffffffffffffff in libc-2.22.so[38526c70000+19b000]
Postfix doesn't seem to be able to start either:
Oct 21 11:17:46 redacted kernel: sh[281] bad frame in rt_sigreturn frame:00000397ecb10678 ip:31cd0925900 sp:397ecb10c18 orax:ffffffffffffffff in libc-2.22.so[31cd08f2000+19b000]
Oct 21 11:17:46 redacted kernel: grsec: bruteforce prevention initiated for the next 30 minutes or until service restarted, stalling each fork 30 seconds. Please investigate the crash report for /usr/bin/bash[sh:281] uid/euid:0/0 gid/egid:0/0, parent /usr/bin/bash[sh:264] uid/euid:0/0 gid/egid:0/0
Oct 21 11:17:46 redacted postfix[232]: /usr/lib/postfix/bin/post-install: line 481: 281 Segmentation fault (core dumped) ( case "$mail_version" in
And PostgreSQL is not working correctly either:
Oct 21 11:17:47 redacted kernel: traps: postgres[350] trap stack segment ip:36bb5288f35 sp:3becce7feb8 error:0 in libcrypto.so.1.0.0[36bb51b4000+24d000]
Oct 21 11:17:47 redacted systemd-coredump[374]: Process 350 (postgres) of user 88 dumped core.
Everything works fine after downgrading to linux-grsec-4.1.7.201509201149-1.
Ping me (here or on IRC) if providing more info can help.
-Brad
@thestinger
maybe this was closed due to a misunderstanding? I think spendergrsec was saying that the intel issue should be resolved with new version, not this bruteforce prevention issue. I just tried to boot with 10-25-2015 build with my amd system and this issue remains. Haven't tested the intel yet for the other issue. Thanks.
Can you give me a full dmesg with CONFIG_X86_DEBUG_FPU=y ?
Thanks,
-Brad
Thanks again.
The kernel would need to be recompiled with CONFIG_X86_DEBUG_FPU=y present in the kernel config. I'll see if the FPU info in the dmesg can help me track it down.
-Brad
-Brad
https://wiki.archlinux.org/index.php/Kernels/Arch_Build_System
thanks for the info. i'll check it out soon.
@rgacogne
I had to sleep and today i have field work, so i wouldn't have been able to provide this info very quick. Therefore, your input is very timely and appreciated.
@all
please disregard the attachment. That's just a refresh related error. :)
eagerfpu = ENABLE;
and recompile and give me a new dmesg?
Thanks,
-Brad
Thank you, and please let me know if I can help by running more tests.
@thestinger are you asking for logs from me or phone0? I was assuming rgacogne's logs would provide the same potential insights as mine. If y'all would still like mine just let me know and i'll look into it, though i don't know how fast i'll be.
Thanks