[LU-12342] lsvcgss config file overwritten on update Created: 27/May/19  Updated: 20/Jun/19  Resolved: 01/Jun/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.12.2
Fix Version/s: Lustre 2.13.0, Lustre 2.12.3

Type: Bug Priority: Minor
Reporter: Götz Waschk Assignee: Götz Waschk
Resolution: Fixed Votes: 0
Labels: easy, patch
Environment:

Centos 7.6


Attachments: File 0001-mark-lsvcgss-config-to-not-overwrite-it-on-upgrade-L.patch    
Epic/Theme: packaging
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The file /etc/sysconfig/lsvcgss is overwritten on rpm package upgrades as it is not marked as a configuration file, unlike /etc/request-key.d/lgssc.conf.

If the user has set options in the file, e.g. LSVCGSSDARGS='-s -m' on MDS or LSVCGSSDARGS='-s -o' on the OSS, they are removed and the targets will fail to mount.



 Comments   
Comment by Andreas Dilger [ 27/May/19 ]

Hello Götz, thank you for the bug report and patch. Are you able to submit your patch directly to Gerrit (see http://wiki.lustre.org/Using_Gerrit for details)? If not, then we can assign this ticket to another developer, but it will likely take longer to get attention.

Comment by Gerrit Updater [ 28/May/19 ]

Götz Waschk (goetz.waschk@desy.de) uploaded a new patch: https://review.whamcloud.com/34978
Subject: LU-12342 spec: mark lsvcgss as a config file in the rpm
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 93b84d80d1ca991c025b6224a8882c76d2b932e7

Comment by Gerrit Updater [ 01/Jun/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34978/
Subject: LU-12342 spec: mark lsvcgss as a config file in the rpm
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: cfe9e1a56c696bcbba24dd4041845ead12aba291

Comment by Peter Jones [ 01/Jun/19 ]

Landed for 2.13

Comment by Gerrit Updater [ 06/Jun/19 ]

Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35087
Subject: LU-12342 spec: mark lsvcgss as a config file in the rpm
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: b90f815c015d7dc9c818422bb62aef09cb274123

Comment by Gerrit Updater [ 20/Jun/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35087/
Subject: LU-12342 spec: mark lsvcgss as a config file in the rpm
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: 333c2bcdd06b514f54bd1cdffae8d97c4890d2c4

Generated at Sat Feb 10 02:51:44 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.