Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25934 - [autofs] wrong default configuration file

Attached to Project: Community Packages
Opened by Ivan Sokolov (deadbeef) - Friday, 09 September 2011, 06:25 GMT
Last edited by Lukas Fleischer (lfleischer) - Friday, 23 September 2011, 02:05 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

autofs 5 package has a wrong default configuration file bundled in a package with it.
Since version 5, autofs has a different config file syntax then version 4, but ArchLinux package still has a config in autofs 4 format. It prevents, for example, to configure browse mode or timeout properly. I propose to include a default config file from the original autofs tarball, which can be found at 'samples/autofs.conf.default.in'. In the attachment, you can find this file.

This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Friday, 23 September 2011, 02:05 GMT
Reason for closing:  Not a bug
Additional comments about closing:  "/etc/conf.d/autofs" is sourced in "/etc/rc.d/autofs" and not used by automount(8) itself. Create a configuration file manually, instead.
Comment by Lukas Fleischer (lfleischer) - Sunday, 18 September 2011, 10:54 GMT
As far as I can see, we do not bundle any configuration file at all? Where exactly did you find the outdated configuration file?
Comment by Ivan Sokolov (deadbeef) - Thursday, 22 September 2011, 13:13 GMT
Hi, Lukas
It is a part of a package autofs.
The outdated file is /etc/conf.d/autofs. As you can see in the listing below.

[root@warzone ~]# pacman -Qo /etc/conf.d/autofs
/etc/conf.d/autofs is owned by autofs 5.0.6-2
[root@warzone ~]# pacman -Ql autofs | grep conf.d
autofs /etc/conf.d/
autofs /etc/conf.d/autofs
[root@warzone ~]#
Comment by Ivan Sokolov (deadbeef) - Thursday, 22 September 2011, 13:24 GMT
Here is the file itself
   autofs (0.1 KiB)
Comment by Lukas Fleischer (lfleischer) - Thursday, 22 September 2011, 13:28 GMT
"/etc/conf.d/autofs" isn't used upstream at all, it's sourced in "/etc/rc.d/autofs" and used to specify the command line arguments passed to automount(8) only.

Loading...