FS#49548 - [firejail] Add firejail.install to backup user configuration

Attached to Project: Community Packages
Opened by Luke (Gaming4JC) - Thursday, 02 June 2016, 23:37 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 11 July 2016, 12:48 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: If someone makes their own user modifications to firejail profiles, firejail will overwrite those changes without warning. Firejail should include an .install file which backs up these profiles.


Steps to reproduce:
1) Install Firejail
2) Make some changes to the /etc/firejail/*.profile
3) Install new version of Firejail and loose all your modifications...


See attached firejail.install for a patch that resolves this issue.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 11 July 2016, 12:48 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Friday, 03 June 2016, 02:02 GMT
This is done with the backup array, not in the pre/post install scripts.
Comment by Sergej Pupykin (sergej) - Friday, 03 June 2016, 10:33 GMT
As I understand upstream policy: they /etc/firejail/*.profile files should not be modfied (probably they should be stored in /usr/share/firejail/)

User put own configs into ~/.config/firejail/

Also etc/firejail/login.users is already in backup array.

Loading...