Bug 13844

Summary: mythtv home directory not created on install.
Product: Mageia Reporter: Bit Twister <bittwister2>
Component: RPM PackagesAssignee: Colin Guthrie <mageia>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA5TOO
Source RPM: mythtv-backend CVE:
Status comment:

Description Bit Twister 2014-08-02 04:37:56 CEST
Description of problem:

mythtv home directory, /var/lib/mythtv, is not created on install.

mythtv-backend rpm pre-install script runs
  /usr/share/rpm-helper/add-user mythtv $1 mythtv /var/lib/mythtv /sbin/nologin
but add-user has -M option which suppresses /var/lib/mythtv creation.

Suggest adding workaround: commands to rpm pre-install section.

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


How reproducible: Always


Steps to Reproduce:
1. clean install
2. urpmi mythtv-backend
3. pwck -r

Workaround:  
touch -p /var/lib/mythtv
chown mythtv:mythtv  /var/lib/mythtv


Reproducible: 

Steps to Reproduce:
Comment 1 Bit Twister 2014-08-02 04:46:25 CEST
Sorry that should be mkdir instead of touch. Sorry.
David Walser 2014-08-02 14:28:43 CEST

Assignee: bugsquad => mageia

Comment 2 Samuel Verschelde 2015-05-19 20:27:01 CEST
Probably still valid.

Whiteboard: (none) => MGA5TOO

Comment 3 Bit Twister 2016-07-07 00:40:11 CEST
Problem fixed.

Status: NEW => RESOLVED
Resolution: (none) => FIXED