Re: [Rpm-maint] [rpm-software-management/rpm] Fix spelling mistake in macros note (PR #2427)

2023-03-15 Thread xiacunshun
> Oh ~ got it and thank you;). Hahaha -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2427#issuecomment-1471167727 You are receiving this because you are subscribed to this thread. Message ID: ___

Re: [Rpm-maint] [rpm-software-management/rpm] Fix spelling mistake in macros note (PR #2427)

2023-03-15 Thread xiacunshun
Closed #2427. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2427#event-8762004484 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-

[Rpm-maint] [rpm-software-management/rpm] Fix spelling mistake in macros note (PR #2427)

2023-03-15 Thread xiacunshun
I found a spelling mistake when I reading macros file. thx. You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/2427 -- Commit Summary -- * Fix spelling mistake in macros note -- File Changes -- M macros.in (2) -- Patch L

Re: [Rpm-maint] [rpm-software-management/rpm] transfiletriggerpostun doesn't work when rpms are removed. (Issue #2324)

2023-01-17 Thread xiacunshun
Okay, I found that this commit already fixed my problem. Pity for that :( https://github.com/rpm-software-management/rpm/commit/0988ccb53abf426587d228df5c60c4042da71999 -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2324#issuecomment-13

Re: [Rpm-maint] [rpm-software-management/rpm] transfiletriggerpostun doesn't work when rpms are removed. (Issue #2324)

2023-01-02 Thread xiacunshun
> There are 200 tickets in the system, more in distro bugzillas and so on. It > will get looked at, in time. In particular, we don't look at bugs during > vacation and holidays. Sorry, I forgot that. =.= -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-mana

Re: [Rpm-maint] [rpm-software-management/rpm] transfiletriggerpostun doesn't work when rpms are removed. (Issue #2324)

2022-12-25 Thread xiacunshun
@pmatilai -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2324#issuecomment-1364852717 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] transfiletriggerpostun doesn't work when rpms are removed. (Issue #2324)

2022-12-21 Thread xiacunshun
Hi, is there any progress? I am now using transfiletriggerun + filetriggerpostun to work around. ` %transfiletriggerun -- /usr/lib/systemd/system /etc/systemd/system if test -d "/run/systemd/system"; then mkdir -p "%{_localstatedir}/lib/rpm-state/systemd" touch "%{_localstatedir}/lib/rpm-s

Re: [Rpm-maint] [rpm-software-management/rpm] transfiletriggerpostun doesn't work when rpms are removed. (Issue #2324)

2022-12-16 Thread xiacunshun
I try to fix this by putting rpmdsNext into a loop, and it seems to work. But I don't know whether it's the right way. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2324#issuecomment-1355096410 You are receiving this because you are su

Re: [Rpm-maint] [rpm-software-management/rpm] transfiletriggerpostun doesn't work when rpms are removed. (Issue #2324)

2022-12-16 Thread xiacunshun
I try to fix this by putting `rpmdsNext` into a loop, and it seems to work. But I don't know whether it's the right way. ` diff -uprN rpm-4.17.1.orig/lib/rpmtriggers.c rpm-4.17.1/lib/rpmtriggers.c --- rpm-4.17.1.orig/lib/rpmtriggers.c 2022-12-16 16:40:08.442304317 +0800 +++ rpm-4.17.1/lib/rpmtrig

Re: [Rpm-maint] [rpm-software-management/rpm] transfiletriggerpostun doesn't work when rpms are removed. (Issue #2324)

2022-12-16 Thread xiacunshun
> I'm not question the existence of a bug, but we need to know the conditions > to reproduce it. A bug may exhibit on distro X but not on X+1, for a whole > variety of reasons. ok. I got the iso from https://getfedora.org/. You can download that and use the steps I mentioned above to reproduce.

Re: [Rpm-maint] [rpm-software-management/rpm] transfiletriggerpostun doesn't work when rpms are removed. (Issue #2324)

2022-12-16 Thread xiacunshun
> And what distro is that on? > > (this is a reproducer, which is a necessary first step, but it's not the kind > of minimal reproducer that we'd need for the test-suite) I tried fedora 37,but the filetriggerpostun is also not called. I think there's something wrong here. -- Reply to this emai

Re: [Rpm-maint] [rpm-software-management/rpm] transfiletriggerpostun doesn't work when rpms are removed. (Issue #2324)

2022-12-16 Thread xiacunshun
> It'd be really helpful if you can turn this into a minimal reproducer that we > could then include in the test-suite. To reproduce: 1.dnf install nghttp2 -y 2.systemctl status nghttpx (inactive) 3.rpm -e nghttp2 4.systemctl status nghttpx (still inactive, but warns that you need to reload daem

Re: [Rpm-maint] [rpm-software-management/rpm] transfiletriggerpostun doesn't work when rpms are removed. (Issue #2324)

2022-12-14 Thread xiacunshun
https://user-images.githubusercontent.com/7437321/207760024-9ed2b111-7df0-4389-98f9-91167ad79e65.png";> -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2324#issuecomment-1352485469 You are receiving this because you are subscribed to th

Re: [Rpm-maint] [rpm-software-management/rpm] transfiletriggerpostun doesn't work when rpms are removed. (Issue #2324)

2022-12-14 Thread xiacunshun
I got some clues as following: in lib/rpmtriggers.c:109 `strcmp(prefix, rpmdsN(ds)) == 0` The rpmdsN(ds) cannot get the right prefix matching the one we need ( /usr/lib/systemd/system/ ) due to the wrong value ds->N[ds->I] returns. -- Reply to this email directly or view it on GitHub: https:/

[Rpm-maint] [rpm-software-management/rpm] transfiletriggerpostun doesn't work when rpms are removed. (Issue #2324)

2022-12-14 Thread xiacunshun
I found this problem when I uninstall rpms. https://github.com/systemd/systemd/issues/25682 A similar issue: https://github.com/rpm-software-management/rpm/commit/f6521c50f6836374a0f7995f8f393aaf36e178ea -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-manag