Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 222509 - handle updating of ~/.xmms/config safely
handle updating of ~/.xmms/config safely
Product: Fedora
Classification: Fedora
Component: xmms (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Paul F. Johnson
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-01-12 19:37 EST by Sami Farin
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-01-18 18:01:08 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
update ~/.xmms/config safely (1.80 KB, patch)
2007-01-12 19:37 EST, Sami Farin
no flags Details | Diff

  None (edit)
Description Sami Farin 2007-01-12 19:37:59 EST
Description of problem:
xmms writes ~/.xmms/config in a not-so-safe-way.
when xmms crashes or system blows up while xmms is writing config file,
on next xmms startup you are probably left with empty/invalid config file.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. save config
2. have bad luck
Actual results:
~/.xmms/config contains garbage or is empty

Expected results:
~/.xmms/config having earlier contents prior to crash

Additional info:
playlist seems to be written badly, too, but that's another issue...
in case someone cares.
Comment 1 Sami Farin 2007-01-12 19:38:00 EST
Created attachment 145507 [details]
update ~/.xmms/config safely

Note You need to log in before you can comment on or make changes to this bug.