Ahoj,

Dňa Sat, 14 Mar 2026 11:46:20 +0100 "Alexandre Rossi"
<[email protected]> napísal:

> Then please suggest some proper writing!

I described that ;-) My English is not enough to do it better.

> > Second, socket's path was changed, thus enabling .socket unit is not
> > enough, as one need to change nginx's (in my case) config. The old
> > System-V init script for apps-enabled/cgi.ini sets:
> >
> >     /run/uwsgi/app/cgi/socket
> >
> > Now it is created by .socket unit (and from apps-available) as:
> >
> >     /run/uwsgi/cgi.socket  
> 
> Good catch, simple fix.

Please do not fix it now. I guess that multiple people fixed this
already in his configs. Just mention that in readme for others.

> > Third, the old init script starts the app with default.ini, now it
> > is not included, thus some options can be missing now and it needs
> > inspection. It is not mentioned too.  
> 
> This is difficult to fix as I do not know how this might be used
> by users.

Sure, just mention it, to people can know about this change.

> > Last and IMO most important, the NEWS is missing, after upgrade all
> > previously configured uwsgi apps just do not start (uwsgi.service
> > unit is missing as you can see in first snippet). It was enabled by
> > some systemd's magic, and thus after upgrade (and restart) one can
> > notice this too late. That is not expected...  
> 
> I see your point but this is caused by the systemd upgrade, not any
> change in uwsgi, so I would not know which version of uwsgi to attach
> that NEWS to...

I see, but the uwsgi is directly affected, thus worth to do it, not a
lot of words, just mention that things changed. IMO, most people will
be able to do proper action, but they must know that something happened
without hard debugging.

> > BTW, consider remove the /etc/uwsgi/apps-enabled directory from
> > package at all, it is not needed anymore...  
> 
> Again, not sure about removing sysv init conf.

Note, that sysv init script doesn't work, as it is not real SysV
script, it just call systemd's service, which is not generated now...

regards

-- 
Slavko
https://www.slavino.sk

Reply via email to