Re: Mass bug proposal: packages that auto-enable systemd units

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 22, 2014 at 12:00 PM, Miloslav Trmač <mitr@xxxxxxxx> wrote:
> Hello,
> 2014-04-22 20:50 GMT+02:00 Andrew Lutomirski <luto@xxxxxxx>:
>
>> If your package has an exception from FESCo permitting it to enable
>> itself,
>
>
> Note that many (most?) packages don't need an individual exception by FESCo:
> https://fedoraproject.org/wiki/Starting_services_by_default allows fairly
> wide categories.
>      Mirek

Hmm. I can't actually find anything in that category in the list here
except, sort of, OpenIPMI.  OpenIPMI seems rather confused -- it has a
systemd service that claims to be oneshot but still has a stop
command.  That service does one-shot stuff and (I think) starts a real
daemon.  It should probably be split into two units.  In any event,
the actual offending code in OpenIPMI is in %triggerun, so it should
still go, and I think OpenIPMI has a preset entry anyway.

Nonetheless, I'll add:

If your package falls into the general exception, then it is possible
that no change is required.  Nevertheless, if you are relying on the
exception, please make sure that your rpm scripts are sensible.  The
exception is:

In addition, any service which does not remain persistent on the
system (aka, it "runs once then goes away"), does not listen to
incoming connections during initialization, and does not require
configuration to be functional may be enabled by default (but is not
required to do so). Examples of "runs once then goes away" services
include iptables and udev.

Also, yum-cron and varnish should be removed from the list.  Varnish
doesn't actually auto-enable itself, and yum-cron is dead.

>
>
> --
> devel mailing list
> devel@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux