percona-xtradb-cluster-server-5.7.preinst destroys the /etc/my.cnf symlink

Bug #1696173 reported by György Szombathelyi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
New
Undecided
EvgeniyPatlan

Bug Description

/etc/my.cnf is a symlink managed by alternatives. The preinst script from the Ubuntu package however destroys this symlink with the sed -i commands, and creates a file in place of that.

Changed in percona-xtradb-cluster:
assignee: nobody → EvgeniyPatlan (evgeniy-patlan)
Revision history for this message
György Szombathelyi (gyurco) wrote :

I think the easiest way to solve this to add --follow-symlinks to sed -i.

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXC-1987

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.