Issues with vsftpd on Fedora 12
LDAP is enabled on my server for authentication. I would like to use vsftpd on that server, but there is a very big delay during authentication and I am wondering if this is not an issue with vsftpd software. It seems that even if I log in as anonymous user, vsftpd tries to access LDAP server. On my server, I see these error logs during authentication: Nov 24 15:52:44 localhost vsftpd[25813]: nss_ldap: failed to bind to LDAP server ldap://10.1.1.5/: Can't contact LDAP server Nov 24 15:52:44 localhost vsftpd[25813]: nss_ldap: reconnecting to LDAP server (sleeping 8 seconds)... After a delay of more than a minute, vsftpd will authorize anonymous user, but this very long delay is causing me a lot of grief. What is even more surprising is that I ran tcpdump to see the vsftpd communication to the LDAP server, but the LDAP server never receives any packets from my Fedora 12 server. It looks like vsftpd thinks it needs to contact the server, but never does. What is also surprising is that I can ssh to that server and ssh is configured to use the LDAP server. So, the LDAP server is reachable from that server. Not sure how to troubleshoot this issue or if I am the only one with this problem. Martin -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
rfkill
Addition of a working version of rfkill in Fedora 12 has been really welcomed. In my application, I would like to monitor the RF kill switch to detect when user enables/disables Wi-Fi on the system. I thought I could use the rfkill executable to do this, using rfkill event, piping the output using popen in my process. However, rfkill outputs the events on standard output, but does not flush every time it reports an event. When I perform fgets to get the events, I get nothing. I am wondering if it would be possible to add a fflush on stdout when events are reported on stdout inside rfkill. Martin -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
Wi-Fi Question
On most laptops, there is a way to disable Wi-Fi either through function keys or kill switch. I am wondering if there is a way programmatically speaking to figure out whether or not Wi-Fi is currently disabled because the user has pressed the Wi-Fi function key or turned Wi-Fi off with the kill switch. Martin -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
Re: Wi-Fi Question
This is a very nice tool. Unfortunately, on my system running Fedora 11, I get the following erro: Can't open RFKILL control device: No such file or directory Using strace, I discovered that rfkill is trying to open path /dev/rfkill, but this path does not exist on my system. Instead, it should try to open path /sys/class/rfkill. Martin On Tue, Oct 27, 2009 at 2:18 PM, Tomasz Torcz to...@pipebreaker.pl wrote: On Tue, Oct 27, 2009 at 12:24:10PM -0400, Martin Dubuc wrote: On most laptops, there is a way to disable Wi-Fi either through function keys or kill switch. I am wondering if there is a way programmatically speaking to figure out whether or not Wi-Fi is currently disabled because the user has pressed the Wi-Fi function key or turned Wi-Fi off with the kill switch. You can install rfkill package and use same-named command: % rfkill list 0: tpacpi_bluetooth_sw: Bluetooth Soft blocked: yes Hard blocked: no 2: phy0: Wireless LAN Soft blocked: no Hard blocked: no -- Tomasz TorczThere exists no separation between gods and men: xmpp: zdzich...@chrome.pl one blends softly casual into the other. -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
Building boost-1.39.0-3.fc12.src.rpm on Fedora11
I was successful building boost 1.39.0 from rawhide source RPM (using boost-1.39.0-3.fc12.src.rpm) for RHEL 5.3. Now, I need to compile the same package on a Fedora 11 server but I am getting some build error in the process: # rpm -ivh boost-1.39.0-3.fc12.src.rpm # cd /root/rpmbuild/SPECS # rpmbuild -bb boost.spec ... cp bin.v2/libs/iostreams/build/gcc-4.4.0/release/debug-symbols-on/threading-multi/libboost_iostreams-mt.so stage/lib/libboost_iostreams-mt.so ...failed updating 1 target... ...skipped 3 targets... ...updated 1424 targets... error: Bad exit status from /var/tmp/rpm-tmp.nuiY8Y (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.nuiY8Y (%build) I am wondering if there is an known incompatibility between the rawhide version of boost and Fedora 11. Martin -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
boost-1.39.0-3.fc12.src.rpm
I would like to build boost 1.39 on RHEL 5.3. In the past, I have been successful building boost library found in rawhide for RHEL 5.x distributions. However, I have not been susccessful building boost 1.39 using boost-1.39.0-2.fc12.src.rpm. I saw a message earlier this month that stated that boost-1.39.0-3.fc12.src.rpm had been released and wanted to see if that version would address the problems I encountered with boost-1.39.0-2.fc12.src.rpm. However, when installing the boost-1.39.0-3.fc12.src.rpm source RPM, I get the following errors: # rpm -ivh boost-1.39.0-3.fc12.src.rpm 1:boost warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root ### [100%] error: unpacking of archive failed on file /usr/src/redhat/SOURCES/boost-bitset.patch;4a646479: cpio: MD5 sum mismatch I am wondering if the source RPM is OK or not. Martin -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
Re: boost-1.39.0-3.fc12.src.rpm
Thanks for the tip Jon. I was able to build boost RPM on RHEL 5.3. Martin On Mon, Jul 20, 2009 at 9:03 AM, Jon Ciesla l...@jcomserv.net wrote: Martin Dubuc wrote: I would like to build boost 1.39 on RHEL 5.3. In the past, I have been successful building boost library found in rawhide for RHEL 5.x distributions. However, I have not been susccessful building boost 1.39 using boost-1.39.0-2.fc12.src.rpm. I saw a message earlier this month that stated that boost-1.39.0-3.fc12.src.rpm had been released and wanted to see if that version would address the problems I encountered with boost-1.39.0-2.fc12.src.rpm. However, when installing the boost-1.39.0-3.fc12.src.rpm source RPM, I get the following errors: # rpm -ivh boost-1.39.0-3.fc12.src.rpm 1:boost warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root ### [100%] error: unpacking of archive failed on file /usr/src/redhat/SOURCES/boost-bitset.patch;4a646479: cpio: MD5 sum mismatch I am wondering if the source RPM is OK or not. Martin This is due to a signature change in RPM from F-11. Blatanly ripping off Mr. Gallagher's post of a few days back: To extract sources from an SRPM: rpm2cpio src.rpm | cpio --extract (Do this in its own directory) To enable the old checksum (for building RHEL packages): rpmbuild -bs --define _source_filedigest_algorithm=1 spec This will recreate the SRPM using an MD5 sum instead of a SHA1 sum. -- in your fear, speak only peace in your fear, seek only love -d. bowie -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list