From: Alexey Shabalin <a.shabalin@gmail.com> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] недоработка в service legacy actions Date: Fri, 23 Jan 2015 00:24:55 +0400 Message-ID: <CAEdvWkTM=K0kwr_z+pdka4a8O0WQTk9RVgoo6rUiozwR4O5PHQ@mail.gmail.com> (raw) In-Reply-To: <54C12A7B.2010608@altlinux.com> 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 Если хочется нормально рестартовать, то надо это убрать. > может быть научить post_service в любом случае делать service <имя> restart > ? >>> # service auditd restart >> А это транслируется в systemctl restart, который работает. -- Alexey Shabalin
next prev parent reply other threads:[~2015-01-22 20:24 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 [this message] 2015-01-23 7:38 ` Anton Farygin 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='CAEdvWkTM=K0kwr_z+pdka4a8O0WQTk9RVgoo6rUiozwR4O5PHQ@mail.gmail.com' \ --to=a.shabalin@gmail.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