FS#69497 - [vsftpd] Coredumps when quitting

Attached to Project: Community Packages
Opened by Michael Vogt (xi1976) - Monday, 01 February 2021, 11:57 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Systemd Coredumps, besides the coredumps vsftpd works as desired

Feb 01 12:52:11 box systemd-coredump[427737]: Process 427716 (vsftpd) of user 65534 dumped core.

Stack trace of thread 1:
#0 0x00007f8a5ff1500b alarm (libc.so.6 + 0xcd00b)
#1 0x00007f8a5fe856a0 __restore_rt (libc.so.6 + 0x3d6a0)
#2 0x00007f8a5ff38f67 write (libc.so.6 + 0xf0f67)
#3 0x0000561c1f1904c7 n/a (vsftpd + 0x164c7)
#4 0x0000561c1f17f900 n/a (vsftpd + 0x5900)
#5 0x0000561c1f17f949 n/a (vsftpd + 0x5949)
#6 0x0000561c1f184736 n/a (vsftpd + 0xa736)
#7 0x0000561c1f186fcc n/a (vsftpd + 0xcfcc)
#8 0x0000561c1f18af02 n/a (vsftpd + 0x10f02)
#9 0x0000561c1f18b64d n/a (vsftpd + 0x1164d)
#10 0x0000561c1f17f56f n/a (vsftpd + 0x556f)
#11 0x00007f8a5fe70152 __libc_start_main (libc.so.6 + 0x28152)
#12 0x0000561c1f17f80e n/a (vsftpd + 0x580e)



Additional info:

Linux box 5.10.9-arch1-1 #1 SMP PREEMPT Tue, 19 Jan 2021 22:06:06 +0000 x86_64 GNU/Linux

User 65534 is user NOBODY

Configuration:
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
listen=YES
listen_ipv6=NO
pam_service_name=vsftpd
chroot_local_user=YES
allow_writeable_chroot=YES



Steps to reproduce:
login with ftp and quit

This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:02 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/vsftpd/issues/6
Comment by Levente Polyak (anthraxx) - Monday, 01 February 2021, 14:40 GMT
Can you attach an strace output of the crash? Sounds like seccomp
Comment by Michael Vogt (xi1976) - Monday, 01 February 2021, 18:33 GMT
I tried the option seecomp_sandbox=NO, which I've seen in the other bug (Paul Schäfer). This seems to stop coredumps.
My strace is enclosed.
Comment by Balázs Vinarz (vinibali) - Saturday, 27 February 2021, 08:15 GMT
+1 for seccomp_sandbox=NO, not seecomp :)
I had force closed connections from the server.
Comment by yuke1 (fosyu1) - Tuesday, 28 December 2021, 03:11 GMT
I have the same problem .
systemd-coredump[4104]: [🡕] Process 4102 (vsftpd) of user 1000 dumped core.

Found module linux-vdso.so.1 with build-id: 577932245928741fa0dede33792beeb68e84c9ed
Found module libffi.so.8 with build-id: f90d8b734f6de9b25faedb8cbfab7054dafc0a42
Found module libp11-kit.so.0 with build-id: f97c44b297b54185bbe3eb6ed6dab5d8967f1532
Found module librt.so.1 with build-id: 75484da2d6f1515189eefa076e0a40328834cd16
Found module libnss_systemd.so.2 with build-id: d41536e781cd484ec7952f6b69938f0b3c04fe8a
Found module libnss_files.so.2 with build-id: 1a36dfc01d3a1010b2ee79766a24a8090a3266d5
Found module libcrypt.so.2 with build-id: 3743451bdaf36f951f926927633fd964813025d0
Found module libcap-ng.so.0 with build-id: 345acbd3f1a251a101cd25c90bf0b3adb9f5c70e
Found module ld-linux-x86-64.so.2 with build-id: 040cc3dd10461562f177df39e3be2f3704258c3c
Found module libpthread.so.0 with build-id: 07c8f95b4f3251d08550217ad8a1f31066229996
Found module libdl.so.2 with build-id: 5abc547e7b0949f89f3c0e21ab0c8331a7440a8a
Found module libaudit.so.1 with build-id: ba2774b7e0faa91f85f6f2e774e2cad9a9e1d550
Found module libc.so.6 with build-id: 4b406737057708c0e4c642345a703c47a61c73dc
Found module libcrypto.so.1.1 with build-id: 6d23f0a3f354825868d044684fad31d482cc9210
Found module libssl.so.1.1 with build-id: 959cd8f1dd43fc31aeb93caac4eda87c907ef18b
Found module libcap.so.2 with build-id: f028e24efdfb362a37fa8dd280c3894b007f88b1
Found module libpam.so.0 with build-id: bb11b2685fe89555938ffd330ea44d82b0f8701c
Found module vsftpd with build-id: f686c3b0f7f2cc92c11059d9e4bd6e5666468ea8
Stack trace of thread 3:
#0 0x00007fed441c7d8e fstatat (libc.so.6 + 0xeed8e)
#1 0x00007fed441a054e opendir_tail (libc.so.6 + 0xc754e)
#2 0x00005604d0573c52 n/a (vsftpd + 0x7c52)
#3 0x00005604d05759ef n/a (vsftpd + 0x99ef)
#4 0x00005604d057d1d2 n/a (vsftpd + 0x111d2)
#5 0x00005604d057d64d n/a (vsftpd + 0x1164d)
#6 0x00005604d057156f n/a (vsftpd + 0x556f)
#7 0x00007fed44100b25 __libc_start_main (libc.so.6 + 0x27b25)
#8 0x00005604d057180e n/a (vsftpd + 0x580e)
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...