Bug 913519
| Summary: | login fails with message "libgcc_s.so.1 must be installed for pthread_cancel to work" when using pam_mysql | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Artur <arus> |
| Component: | vsftpd | Assignee: | Jiri Skala <jskala> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | aglotov, jskala, jsynacek, nagy.martin |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | vsftpd-3.0.2-2.fc18 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-30 00:43:36 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Hi & thanks for your report. I've increased the size of VSFTP_AS_LIMIT in the rawhide. I'll backport it later to F18. vsftpd-3.0.2-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/vsftpd-3.0.2-2.fc18 Package vsftpd-3.0.2-2.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing vsftpd-3.0.2-2.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-16330/vsftpd-3.0.2-2.fc18 then log in and leave karma (feedback). vsftpd-3.0.2-2.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: When pam_mysql module is eanbled in /etc/pam.d/vsftpd, authentication fails with the message "libgcc_s.so.1 must be installed for pthread_cancel to work". Version-Release number of selected component (if applicable): vsftpd-3.0.2-1.fc18.x86_64 How reproducible: Steps to Reproduce: 1. yum install vsftpd 2. use the following /etc/vsftpd/vsftpd.conf contents: anonymous_enable=YES local_enable=YES write_enable=YES local_umask=022 dirmessage_enable=YES xferlog_enable=YES connect_from_port_20=YES xferlog_std_format=YES listen=NO listen_ipv6=YES pam_service_name=vsftpd userlist_enable=YES tcp_wrappers=YES 3. use the following /etc/pam.d/vsftpd contents: #%PAM-1.0 auth required pam_listfile.so item=user sense=deny file=/etc/vsftpd/ftpusers onerr=succeed auth required pam_mysql.so user=vsftpd passwd=qwerty host=localhost db=vsftpd table=accounts usercolumn=user passwdcolumn=password crypt=2 account required pam_mysql.so user=vsftpd passwd=qwerty host=localhost db=vsftpd table=accounts usercolumn=user passwdcolumn=password crypt=2 4. create mysql database and test user: create database vsftpd; grant select on vsftpd.* to 'vsftpd'@'localhost' identified by 'qwerty'; create table accounts (id int not null auto_increment,user varchar(64) not null,password varchar(64) not null,primary key (id)); insert into accounts (user,password) values ('test',PASSWORD('test')); 5. let pam interact with mysql by modyfying selinux policies 6. start vsftpd service 7. try to ftp to localhost Actual results: Connected to localhost (127.0.0.1). 220 (vsFTPd 3.0.2) Name (localhost:user): test 331 Please specify the password. Password: libgcc_s.so.1 must be installed for pthread_cancel to work Login failed. Expected results: Connected to localhost (127.0.0.1). 220 (vsFTPd 3.0.2) Name (localhost:user): test 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. Additional info: The problem is caused by too low value of VSFTP_AS_LIMIT in file defs.h. The patch vsftpd-2.3.5-aslim.patch increases it from "100UL * 1024 * 1024" to "200UL * 1024 * 1024", but it is still not enough. After setting it to "400UL * 1024 * 1024" vsftpd works like expected. I have seen the same report on Ubuntu bugtracker.