-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
systemd: remove local-fs.target, which was accidentially added to systemd 243 #69253
Conversation
… systemd's sources Keeping a custom branch and cherry-picking patches on top of vanilla systemd has proven to be error-prone and hard to sync far too often. We ship a chunk of patches in nixpkgs, and slowly move them to upstream or fix inside NixOS where possible. This patch simply inlines all the current commits on top of vanilla systemd 243.
…ge.patch We removed that patch in our 242 branch, but somehow it landed in 243 back again.
This needs to be cherry-picked to 19.09 too, as we now assume local-fs.target is back into sysinit.target. |
I am against this since maintaining a bazillion patch files is no fun. If
this is desireable please remove me from the maintainer list.
…On Sun, 22 Sep 2019, 17:22 Florian Klink, ***@***.***> wrote:
This needs to be cherry-picked to 19.09 too, as we now assume
local-fs.target is back into sysinit.target.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#69253?email_source=notifications&email_token=AAE365BDM6ZPVJ4ICCALSRDQK6ESZA5CNFSM4IZDGWCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7JIPPA#issuecomment-533891004>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAE365BWOI3X2NX7GEE2GRDQK6ESZANCNFSM4IZDGWCA>
.
|
I am OK with dropping NixOS/systemd, when we get to a significant lower patch count. But not in the current state. |
Heya all. Just to give some context to this patch. It was a result of the Systemd Hackathon that I, @flokli, fpletz, globin and more attended. First of all, note that it consists of two things. Making sure About the second commit: We had a long discussion with the core maintainers about some bugs we're facing with systemd (e.g. the machinectl stuff, and predictible interfaces names) but we also went through all our commits that we have one by one and discussed them pretty thoroughly. They convinced us that many of these patches can either be upstreamed or dropped because there is behaviour in systemd that we didn't know of that can actually implement the semantics we want. To give some examples:
All in all this can drastically decrease the amount of patches that we maintain on top of systemd - probably to the point it is only one or two patches - and will make it a lot easier to follow Flokli introduced this change because he had to touch the systemd codebase, and this seemed like an easy way to introduce both his desired Whether we want to do this now, or whether we want to discuss the patchset part more thoroughly and remove that for now, is both fine to me. @andir if you're more comfortable with not having the "move to patchset" part in this PR, then I think we should remove it for now and rebase our changes to P.S. |
I would put these two changes in separate pull requests. I have pushed a revert to the current systemd 243 branch: NixOS/systemd@ccec67c that we can backport to 19.09 as well. |
Also see #69284 |
Perfect. Feel free to close this PR then. |
BTW I disagree with this:
Git is a much better patch manager than manually applying patches in Nixpkgs. Doing a git rebase is much easier than manually unpacking the latest upstream sources, applying the patches, fixing the conflicts and regenerating the patches. |
Indeed this PR would be a step backwards: it restores the bad situation that we used to have, with lots of patches in the Nixpkgs tree rather than under proper version management control. |
Fair enough. However I think it's still a noble goal to be as "upstream as possible" and talking to the systemd developers gave me a lot of confidence that we can get rid of many of the patches that we currently have. But that doesn't mean those patches have to live in nixpkgs as a list of patches of course. Those are two orthogonal things. Our fork will also be easier to manage even if we keep it in version control but the amount of patches is smaller. However, in the event that we're able to reduce that patch count to a single patch or two, I think having the patch in nixpkgs instead is desirable. However that is all future work. Step one would be reducing the patch count, which will improve the situation either way. |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @