[pulseaudio-tickets] [PulseAudio] #106: PulseAudio should separate persistent from temporary data

PulseAudio trac-noreply at tango.0pointer.de
Mon Jul 16 16:52:39 PDT 2007


#106: PulseAudio should separate persistent from temporary data
---------------------+------------------------------------------------------
 Reporter:  kalaleq  |       Owner:  lennart
     Type:  defect   |      Status:  new    
 Priority:  low      |   Milestone:         
Component:  daemon   |    Severity:  minor  
 Keywords:           |  
---------------------+------------------------------------------------------
 Currently, when running as a system-wide daemon, pulseaudio stores all its
 files in /var/run/pulse.  However, according to FHS only temporary, run-
 time data should be stored under /var/run.  Data in /var/run can be
 deleted between system boots, so persistent data that should be maintained
 between boots should go under /var/lib or possibly /var/state by default.

 In pulseaudio's case, GConf data and the volume-restore.table file, as
 well as any other persistent-state files, should be moved under
 /var/lib/pulse or a similar directory, with all runtime files remaining
 under /var/run/pulse.  Ideally, GConf's lock files would go under
 /var/run/pulse and its data store would live in /var/lib/pulse, but i'm
 not sure this is possible with GConf's design.

 Looking at the code, it seems the solution would be to split
 PA_SYSTEM_RUNTIME_PATH into two different variables, one for
 temporary/runtime and one for persistent data.

-- 
Ticket URL: <http://pulseaudio.org/ticket/106>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list