pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/57285: glusterfs package doens't handle config files properly
>Number: 57285
>Category: pkg
>Synopsis: glusterfs package doens't handle config files properly
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 23 10:55:01 +0000 2023
>Originator: Manuel Bouyer
>Release: NetBSD 10.0_BETA
>Organization:
>Environment:
System: NetBSD rochebonne.antioche.eu.org 10.0_BETA NetBSD 10.0_BETA (GENERIC_CAN) #3: Mon Jan 30 21:19:32 MET 2023 bouyer%armandeche.soc.lip6.fr@localhost:/local/armandeche1/tmp/build/amd64/obj/local/armandeche2/netbsd-10/src/sys/arch/amd64/compile/GENERIC_CAN amd64
Architecture: x86_64
Machine: amd64
pkgsrc HEAD
>Description:
glusterfs package install files in /usr/pkg/etc/glusterfs/
and doesn't consider them as config files. If the operator changes
them, a following update or reinstall the package, the changes in
the config files will be overwritten.
>How-To-Repeat:
#pkgin in glusterfs
[...]
#vi /usr/pkg/etc/glusterfs/glusterd.vol
# pkgin rm glusterfs
1 packages to delete:
glusterfs-10.3nb1
proceed ? [Y/n]
removing glusterfs-10.3nb1...
original MD5 checksum failed, deleting anyway: /usr/pkg/etc/glusterfs/glusterd.vol
pkg_install warnings: 0, errors: 0
reading local summary...
processing local summary...
#pkgin in glusterfs
[...]
notice that /usr/pkg/etc/glusterfs/glusterd.vol was reset to default
>Fix:
install config file to /usr/pkg/share/examples/glusterfs/
and copy them to /usr/pkg/etc/glusterfs/ if needed, using the
CONF_FILES mechanism.
Home |
Main Index |
Thread Index |
Old Index