Resolve circular dependency of a Python package

2021-05-19 Thread Jan Gru
Dear mentors, I want to ask a question on resolving circular dependencies of Python packages, which use distutils to build, as I am trying to package oletools, for which a RFP-bug has been filed [1]. ~oletools~ has a circular dependency inside its seup.py [2] to ~pcodedmp~ #+BEGIN_SRC

Re: Question about writing systemd unit for old package

2021-05-19 Thread Alec Leamas
Hi, On 20/05/2021 03:35, Paul Wise wrote: > On Wed, May 19, 2021 at 8:51 AM Richard Hector wrote: > >> Does that not depend on whether it does anything before dropping >> privileges? For example, a webserver can bind to low ports before >> dropping privilege. I imagine if the systemd service

Re: Question about writing systemd unit for old package

2021-05-19 Thread Paul Wise
On Wed, May 19, 2021 at 8:51 AM Richard Hector wrote: > Does that not depend on whether it does anything before dropping > privileges? For example, a webserver can bind to low ports before > dropping privilege. I imagine if the systemd service unit specified > running as (eg) www-data, that

Re: Question about writing systemd unit for old package

2021-05-19 Thread Richard Hector
On 18/05/21 11:58 am, Paul Wise wrote: On Mon, May 17, 2021 at 12:51 PM Khoa Tran Minh wrote: A related question: The binary itself can drop privilege and run as non-root, then should I use that native feature or use systemd User= when writing a default config/unit ? I would suggest to use