Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#76722 - [SystemD] SystemD stop/disable is no longer working via .install script

Attached to Project: Arch Linux
Opened by czyyodkrcmvo (czyyodkrcmvo) - Friday, 02 December 2022, 23:03 GMT
Last edited by Toolybird (Toolybird) - Saturday, 03 December 2022, 00:54 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:


Additional info:
* package version(s) :

Since SystemD 252 (Last Worked 251.7-4)

Steps to reproduce:

Just try to uninstall any program whose service/socket that was installed and enabled via PKGBUILD .install script. For and example, systemctl disable --now dnscrypt-proxy -f in post_remove() for dnscrypt-proxy.install script is no more working via systemd 252 and later versions. Last worked with systemd 251.7-4 (I have tried downgrading systemd already). But for an example in post_install() section systemctl enable --now dnscrypt-proxy -f working flawlessly. But when uninstalling its showing that Failed to disable unit: dnscrypt-proxy.service doesn't exist. Then I checked with systemctl status dnscrypt-proxy and the status is not-found (active running) and current command vanished from the unit file. Which is very weird. But I have tried manually to disable that (working after installation only). But after unintalling the pkg, the service disabling is not working and only stop is working. If its not stopped then it also persists in the future boots. Very Very weird bug from latest systemd. I didn't changed anything to the service file. Just updated systemd and tried uninstalling and this thing happened
This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 03 December 2022, 00:54 GMT
Reason for closing:  None
Additional comments about closing:  See comments
Comment by Toolybird (Toolybird) - Saturday, 03 December 2022, 00:53 GMT
Not sure what you're referring to because there is no post_remove() in our dnscrypt-proxy.install.

Please visit the proper support channels (forum/IRC/etc) to seek help in whatever issue it is that you seem to be having. If you can reproduce a problem and detail it with clear and concise steps that we can understand (using official repo pkgs) then please come back here. If it's a generic systemd issue then you should report it upstream.

PS - please do not misuse the severity field when reporting issues [1]

[1] https://wiki.archlinux.org/title/Bug_reporting_guidelines#Severity

Loading...