Closed Bug 781029 Opened 12 years ago Closed 10 years ago

Don't clobber config files in the deployment rpm

Categories

(Cloud Services Graveyard :: Server: Sync, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: rfkelly, Assigned: rfkelly)

Details

(Whiteboard: [qa+])

Attachments

(1 file)

The deployment rpm for server-storage includes a default config file.  When installed, this clobbers the puppetized config file and leads to much breakage.

I don't see any reason to include the config file in the RPM, we should just remove it.
Assignee: nobody → rfkelly
From the SyncStorage.spec file:
install -m 0644 etc/sync.conf %{buildroot}%{_sysconfdir}/sync/sync.conf

If that was changed to be a %config line like for the nginx configuration files, replacement shouldn't be a problem.  See the nginx lines from the same file:
# the config files for Sync apps
# nginx config
%config(noreplace) %{_sysconfdir}/sync/*
%config(noreplace) %{_sysconfdir}/nginx/conf.d/syncstorage.conf
Attachment #649875 - Flags: review?(bobm)
http://hg.mozilla.org/services/server-storage/rev/a3918623fd36
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Looks like this fix didn't work as intended, reopening the bug
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [qa+]
Attachment #649875 - Flags: review?(bobm) → review+
Summary: Don't include config files in the deployment rpm → Don't clobber config files in the deployment rpm
I've no clue as to why this is not working.  The tokenserver .spec file uses the same options on its bundled production.ini file, but this does not result the clobbering we see in sync stage.

It would be interesting to try this in a fresh VM and see if the clobbering still occurs.  Maybe it's some artifact of the state of the system rather than the rpm itself..?
We have no plans to work on further sync1.1 process improvements like this
Status: REOPENED → RESOLVED
Closed: 12 years ago10 years ago
Resolution: --- → WONTFIX
Status: RESOLVED → VERIFIED
Product: Cloud Services → Cloud Services Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: