Bug 1925828 - Stubby RPM does not create an user stubby, systemd fails to start the service
Summary: Stubby RPM does not create an user stubby, systemd fails to start the service
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: stubby
Version: epel8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: aegorenk
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1860924
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-06 21:26 UTC by Kai Mosebach
Modified: 2021-08-10 14:54 UTC (History)
3 users (show)

Fixed In Version: stubby-0.4.0-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-10 14:54:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kai Mosebach 2021-02-06 21:26:48 UTC
Description of problem:

Stubby does not create a user stubby, fails to start therefore

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

0.3.1

How reproducible:

# dnf -y install stubby
# id stubby
id: ‘stubby’: no such user

Steps to Reproduce:
1. Install stubby
2. lookup user stubby
3.

Actual results:

Systemd does not start stubby, since it relies on user stubby and its permissions in /var/cache/stubby

Expected results:

Create user, set permissions in /var/cache/stubby accordingly

Additional info:

Comment 1 Kai Mosebach 2021-02-06 21:27:23 UTC
the src rpm does not give any hint about creating a user

Comment 2 aegorenk 2021-02-10 15:53:56 UTC
In Fedora repo this is fixed with the using of DynamicUser in unit file.

I was trying to apply the same changes to the EPEL, but it seems it doesn't work because of:
https://bugzilla.redhat.com/show_bug.cgi?id=1860924

I would give that bug some time to be resolved and apply the same (as Fedora) changes to the EPEL.


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