pam config not listed in backup array

Task Info (Flyspray)
Opened By Julian Brost (julian)
Task ID 63107
Type Bug Report
Project Community Packages
Category Packages
Version None
OS All
Opened 2019-07-05 15:41:07 UTC
Status Assigned
Assignee Levente Polyak (anthraxx)

Details

Description: Version 3.0.3-5 of the vsftpd package added a PAM configuration file at /etc/pam.d/vsftpd which is not listed in the backup array in the PKGBUILD. Upgrading the package from earlier versions results in the following error message if one already had a PAM config there:

error: failed to commit transaction (conflicting files) vsftpd: /etc/pam.d/vsftpd exists in filesystem

Also, my custom config would now be overwritten by package upgrades.

Additional info:

  • package version(s): 3.0.3-5 and later

Steps to reproduce:

  • Create a custom PAM config for vsftpd at /etc/pam.d/vsftpd
  • Upgrade from a earlier version to 3.0.3-5 or later (this will break)
  • Reinstall the package (this will delete the custom config)