On 26.11.22 19:42, Patrice Duroux wrote:
Dear Debian people,

Already possible or not, I would like to have a Debian system for
which packages can be installed either by a specific user
(root/sysadmin as usual) only or by any other (or a group of) users.
But this would also depend on the class of the requested packages:
1. packages providing mainly commands or library facility (large
majority packages?),
2. packages providing modifying system runtime like (root) services,
new kernel modules, ... (very few packages?).

Any (or a specific group of) users could be able to install any
package of the first class by their own without asking a sysadmin (or
explicitly acquiring privilege of) user.

With this goal (dream?) in mind, I tried to cluster all the packages
between the one that wouldn't change the system runtime (and therefore
even after a reboot) and whatever would be the sign of that.Those
package installation should insure a sort of system default runtime
reproducibility in fact.

If needed in the future, any build process could help to class/tag a
package regarding this purpose (as it could also read any debian/*
packaging file).

Finally the best would be for apt to handle such a scenario, allowing
those users to run the apt command which may fail or not regarding
each package class.

To cluster packages, my first material is to look at the file contents
of a package (having content related to sbin or a systemd service or
init.d or ...)

Opinions or ideas are welcome.

Could this clustering by it-self be interesting fin any case (for
Debian QA, metrics...)?

A few thoughts -

* You should not crosspost. There's various reasons for that f.ex.
  discussion will split because - as in my case - I am not subscribed to
  debian-users...
* You haven't received any feedback yet on debian-devel. A reason
  for that might be that the idea is good, but the devil is in
  implementing it. So unless you come up with code and solutions,
  the idea for itself is maybe not that interesting to discuss
  (because everybody would like to have user installable packages...)
* Debian has "Tags" for packages. Have a look whether there's not
  already a classification like you suggest (or something very
  similar). Maybe you can contribute there (note that last I've
  heard the tag DB and system was unmaintained).

Greets,
*t

Reply via email to