[aur-general] TU application: Maxim Baz
Eli Schwartz
eschwartz at archlinux.org
Tue Nov 6 01:35:31 UTC 2018
On 11/5/18 8:33 PM, Levente Polyak via aur-general wrote:
> On 11/6/18 2:22 AM, Eli Schwartz via aur-general wrote:
>> On 11/5/18 7:05 PM, Maxim Baz via aur-general wrote:
>>> Same question here, but actually worth confirming with you: is it a bad practice
>>> to execute "systemctl daemon-reload" in post_install() function? I've seen people
>>> do that, but so far I was refraining from executing any commands in .install files.
>>>
>>> Creating a wiki page that would only tell people to run "systemctl daemon-reload"
>>> after installation sounds wrong...
>>
>> It's pretty wrong to execute this, mostly because the systemd package
>> installs a universal hook to do so and it's therefore outdated bloat to
>> do so.
>>
>> This is, after all, why we developed hooks for pacman. :)
>>
>> It was originally added in March of this year:
>> https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/systemd&id=c2ba1fefa6e393e5cb4d2c19ba65a4ec4c33fb9f
>>
>
>
> Ah, somehow wasn't really aware that we also do this for
> daemon-reload... well then, mv my previous paragraph about this to
> /dev/null :P
Ah, it seems we've become Debian too. When did that happen...
--
Eli Schwartz
Bug Wrangler and Trusted User
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20181105/8a13abab/attachment.asc>
More information about the aur-general
mailing list