Conversation
SuperSandro2000
left a comment
There was a problem hiding this comment.
Does rebasing the patches actually do anything? patches can be applied if the hunks have offsets.
Other than removing two patches it didn't seem to do anything, no; this was mostly done to make sure it applies (and some apply method fail on fuzz offset so I wasn't sure about this part) |
|
I've removed the rebase altogether, it'll probably need further updating when systemd unfreezes after release while this patch will always stay valid (at least until/if it's also backported upstream) |
I do not think the freeze applies to minor / bugfix bumps. |
flokli
left a comment
There was a problem hiding this comment.
Like in #146573 (comment), we shouldn't ship these patches downstream, but poke upstream to release it in systemd-stable.
I see. There were other such patches so I didn't think too much about it, I've asked upstream about it in the systemd PR |
For curious ones: That's systemd/systemd#21498 (comment). |
For the future, I disagree: keeping patches up-to-date reduces the risk of them being unappliable in the future (if the differences around the change become too large). @flokli I see this is in systemd-stable, but not yet in a release. Do you think it's sufficient to wait for another stable v249 or should we merge this? (@martinetd I think this should go to staging btw). |
Adding what I wrote on Matrix some time ago: The issue with patch files vs. a git repository is that the patch files have a limited set of context around each change. If that context isn't suffient anymore the patches fail to apply. My workflow for new systemd versions is typically:
This has been going smooth so far. |
Upstream wanted to wait for some other patches, but I haven't seen anything more getting cherry-picked. I poked them for the tag in systemd/systemd#21498 (comment). |
Motivation for this change
Fixes #147103 (pid1 crash)
While backporting the patch I noticed we weren't up to date, so also updated along the way.
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes