From: Anton Farygin <rider@altlinux.com>
To: devel@lists.altlinux.org
Subject: Re: [devel] недоработка в service legacy actions
Date: Fri, 23 Jan 2015 10:38:32 +0300
Message-ID: <54C1FA78.8050406@altlinux.com> (raw)
In-Reply-To: <CAEdvWkTM=K0kwr_z+pdka4a8O0WQTk9RVgoo6rUiozwR4O5PHQ@mail.gmail.com>
On 22.01.2015 23:24, Alexey Shabalin wrote:
> 22 января 2015 г., 19:51 пользователь Anton Farygin написал:
>> On 22.01.2015 19:05, Mikhail Efremov wrote:
>>>
>>> On Thu, 22 Jan 2015 18:40:03 +0300 Anton Farygin wrote:
>>>>
>>>> Точнее даже не в нём, а в
>>>> Preparing...
>>>>
>>>> ####################################################################################################
>>>> libaudit1
>>>>
>>>> ####################################################################################################
>>>> libauparse0
>>>>
>>>> ####################################################################################################
>>>> audit
>>>>
>>>> ####################################################################################################
>>>> Failed to try-restart auditd.service: Operation refused, unit
>>>> auditd.service may be requested by dependency only.
>>>> python-module-audit
>>>>
>>>> ####################################################################################################
>>>>
>>>> при этом
>>>> # rpm -q --scripts audit
>>>> postinstall scriptlet (through /bin/sh):
>>>> /usr/sbin/post_service auditd
>>>> preuninstall scriptlet (through /bin/sh):
>>>> /usr/sbin/preun_service auditd
>>>
>>>
>>> Это не имеет никакого отношения к service legacy actions вообще. Т.к.
>>> в случае systemd post_service просто использует systemctl try-restart,
>>> который и не работает с auditd.service, очевидно.
>>
>>
>> Конечно очевидно, поэтому я и написал сюда.
>> restart нужен ? нужен. Работает ? нет.
>> Кто виноват и что делать ?
>
> Написано же:
> Failed to try-restart auditd.service: Operation refused, unit
> auditd.service may be requested by dependency only.
>
> в auditd.service
> RefuseManualStop=yes
> Если хочется нормально рестартовать, то надо это убрать.
commit e94faad18f13da6acc183e98d51d1a93cdc24c03
Author: sgrubb <sgrubb@03a675c2-f56d-4096-908f-63dba836b7e4>
Date: Thu May 16 11:03:16 2013 +0000
Don't use systemctl to stop the audit daemon
git-svn-id: http://svn.fedorahosted.org/svn/audit/trunk@835
03a675c2-f56d-4096-908f-63dba836b7e4
Интересно, зачем он это сделал...
next prev parent reply other threads:[~2015-01-23 7:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-22 15:40 Anton Farygin
2015-01-22 16:05 ` Mikhail Efremov
2015-01-22 16:51 ` Anton Farygin
2015-01-22 20:24 ` Alexey Shabalin
2015-01-23 7:38 ` Anton Farygin [this message]
2015-01-23 12:52 ` Vitaly Kuznetsov
2015-01-23 15:06 ` Anton Farygin
2015-01-23 16:08 ` Sergey V Turchin
2015-01-23 19:01 ` Anton Farygin
2015-01-26 10:18 ` Sergey V Turchin
2015-01-26 11:54 ` Anton Farygin
2015-01-26 12:06 ` Sergey V Turchin
2015-01-26 10:31 ` Alexey Shabalin
2015-01-26 12:03 ` Dmitry V. Levin
2015-01-26 12:24 ` Anton Farygin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54C1FA78.8050406@altlinux.com \
--to=rider@altlinux.com \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git