You are not logged in.

#1 2017-03-19 06:22:56

beroal
Member
From: Ukraine
Registered: 2009-06-07
Posts: 325
Website

the group name "http" is hardwired in the package "uwsgi"

The package contains the file "/lib/tmpfiles.d/uwsgi.conf":

d /run/uwsgi 0775 root http - - 

This file is in "/lib", not in "/etc". So it will be overwritten when I update the package, I guess. Why the choice of the directory group is forced?

Last edited by beroal (2017-03-19 06:24:39)


we are not condemned to write ugly code

Offline

#2 2017-03-19 08:10:58

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: the group name "http" is hardwired in the package "uwsgi"

I am not sure about the choice of groups, but in case you want to override the options in this file, you can place a similarly named file in /etc/tmpfiles.d.

Offline

#3 2017-03-19 13:08:26

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: the group name "http" is hardwired in the package "uwsgi"

Since /lib is a symlink to /usr/lib, it may look like that file is in /lib but in reality it is in /usr/lib/tmpfiles.d/ .

what is the output of ls -l /usr/lib/tmpfiles.d/uwsgi.conf ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2017-03-19 13:28:44

beroal
Member
From: Ukraine
Registered: 2009-06-07
Posts: 325
Website

Re: the group name "http" is hardwired in the package "uwsgi"

Since /lib is a symlink to /usr/lib

I didn't think this is essential.

>ls -l /usr/lib/tmpfiles.d/uwsgi.conf
-rw-r--r-- 1 root root 34 бер 19 08:25 /usr/lib/tmpfiles.d/uwsgi.conf

we are not condemned to write ugly code

Offline

#5 2017-03-19 13:44:29

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: the group name "http" is hardwired in the package "uwsgi"

There are cases where the difference between a symlinked path and the real path matter, also i tend to be a - sometimes grumpy - stickler for details.

the ownership & permissions of uwsgi.conf are normal, your code snippet is about the run/uwsgi folder, let's check that one also.

Please post ls -l /run .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB