Hi I had problems with the stock autofs package from Debian on my amd64 machine. On bootup, it locked the machine. When I freshly installed the packaged, I could not change to any automounted directory. The machine is described on http://lists.debian.org/debian-amd64/2004/08/msg00102.html Somebody else at our institute also had problems with the i386 stable distribution on a similar machine with autofs. At our institute, we normally use RHEL and there, the automounter works out of the box. Strange, isn't it? ;-) Well, they are using autofs 3.1.7 while Debian has a version 4 prerelease at least since the current stable. Changelog of autofs says "Tue, 16 Oct 2001 10:33:36 -0500" (almost 3 years). As autofs does some init script stuff, you cannot just alien the rpm from RHEL. Therefore, I had to use the source: - Source package autofs-3.9.99-4.0.0pre10-16 from Debian - SRPM autofs-3.1.7-42.src.rpm from ftp://mirror.switch.ch/mirror/fedora.us/fedora/fedora/1/i386/SRPMS.os/autofs-3.1.7-42.src.rpm - Mixing both and making sure everything compiles again. I have added the following changelog to the Debian package: autofs (3.1.7-0.1) unstable; urgency=low * Took ftp://mirror.switch.ch/mirror/fedora.us/fedora/fedora/1/i386/SRPMS.os/autofs-3.1.7-42.src.rpm and tried to backport to debian using the debian package 3.9.99-4.0.0pre10-16. * Corrected 002_mkdir_on_readonly_fs, 006_auto_master_s_b_fhs patch, 007_improved_removable_device_options_in_auto_misc, 008_auto_master_format_is_in_man_5, 009_improved_init_script, 013_install_mandirs_before_install_manfiles.diff, 016_showmount_in_sbin, 018_fsck_ext3, 020_submount_not_unmounted, 039_updated_manpages * Removed 019_corrections_in_init_script, 021_check_for_executability_of_map, 022_clarify_comment_about_daemon_options, 023_check_for_specific_types_before_files_and_programs, 024_preserve_order_of_mount_options, 025_allow_dashes_in_options, 026_corrections_in_munge_options, 028_exclude_references_to_other_nis_maps, 029_handle_d_options_in_init_script_correctly, 035_fixed_parsing_error_in_mount_nfs_c, 038_rewrite_process_master_file, 040_document_gid_option_in_autofs_5, 041_nonstrict_and_sort_in_auto_net, 043_nsswitch_and_auto.master_in_ldap, 044_handle_ldif_continued_lines_in_init_script * New patches: 100_configure, 101_Makefile -- Philipp Frauenfelder <pfrauenf@debian.org> Fri, 13 Aug 2004 07:38:14 +0200 If you wonder, why I had to remove so many patches: In case of the init script and auto.net, I simply incorporated all changes into one patch as this was much easier. This rendered many patches obsolete and I could remove them. This could be further refined, but at least, it works. I am using the following line in /etc/nsswitch.conf to get the automounter tables from NIS (it's setup like this at our institute): automount: files nis If you are interested in the preliminary package and the sources I used: http://people.debian.org/~pfrauenf/autofs/ Regards -- Philipp | work: pfrauenf@math.ethz.ch +41 44 632 60 38 Frauenfelder | home: pfrauenf@debian.org +41 44 862 73 14 [PGP] | http://www.math.ethz.ch/~pfrauenf/ Proudly running Debian GNU/Linux. See http://www.debian.org/
Attachment:
signature.asc
Description: Digital signature