Re: Fedora 16 note...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fedora 16 note...
Дата
Msg-id 24182.1320983418@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fedora 16 note...  (Jerry Levan <jerry.levan@gmail.com>)
Список pgsql-general
Jerry Levan <jerry.levan@gmail.com> writes:
> On Nov 10, 2011, at 9:56 PM, Craig Ringer wrote:
>> On 11/10/2011 11:10 PM, Jerry Levan wrote:
>>> I found that postgresql would not start at boot time until
>>> I did:
>>> systemctl enable postgresql.service

>> That's Fedora policy: don't start a service unless the user asks for it to be started.

> This is the first time I have had to manually enable a service like postgresql and httpd
> since Fedora 4. I guess this is mostly from the systemd take over...

It's exactly from the systemd takeover.  Traditionally a system upgrade
would preserve your sysv "chkconfig" settings for which services to
autostart, but there is a specific policy in place to not do that when a
service is transitioned to systemd.  The reasoning was that in many cases
the configuration mechanisms are changing at the same time (for
instance, postgresql no longer pays attention to /etc/sysconfig/) and
autostarting a possibly-now-misconfigured daemon seemed like a bad idea.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re:
Следующее
От: Chris Travers
Дата:
Сообщение: strange behavior, hoping for an explanation