FS#58855 - [filesystem]: Useless files in /usr/share/factory

Attached to Project: Arch Linux
Opened by Tobias Hunger (hunger) - Sunday, 03 June 2018, 18:34 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 05 June 2018, 15:34 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
There are useless files in /usr/share/factory. These are those related to users and groups (passwd, shadow, group, gshadow).

There is a snippet in /usr/lib/tmpfiles.d/arch.conf that is supposed to copy those files to /etc, but that can not ever get triggered since
sysusers will create those files in /etc, before there is any chance to copy them.


Additional info:
* filesystem 2018.1-2

Steps to reproduce:
* Install a bare bones system
* Modify /usr/share/factory/shadow and set a root password
* Make sure to delete /etc/passwd, /etc/shadow, ... .
* Boot into that machine

You will notice that the root password is not set as expected.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 05 June 2018, 15:34 GMT
Reason for closing:  Not a bug
Additional comments about closing:  They're there as a reference, nothing more

Loading...