-
-
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
lxd: 3.13 -> 3.18 #70209
lxd: 3.13 -> 3.18 #70209
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
noticed the shared libraries in libco-canonical don't have execute permissions
[nix-shell:/home/jon/.cache/nix-review/pr-70209/results]$ ls -lg libco-canonical/lib/
.r--r--r-- 7.9k root root 31 Dec 1969 libco.a
lrwxrwxrwx 14 root root 31 Dec 1969 libco.so -> libco.so.0.1.0
lrwxrwxrwx 14 root root 31 Dec 1969 libco.so.0 -> libco.so.0.1.0
.r--r--r-- 20k root root 31 Dec 1969 libco.so.0.1.0
dr-xr-xr-x - root root 31 Dec 1969 pkgconfig
[nix-shell:/home/jon/.cache/nix-review/pr-70209/results]$ ls -lg raft-canonical/lib/
.r-xr-xr-x 969 root root 31 Dec 1969 libraft.la
lrwxrwxrwx 16 root root 31 Dec 1969 libraft.so -> libraft.so.0.0.7
lrwxrwxrwx 16 root root 31 Dec 1969 libraft.so.0 -> libraft.so.0.0.7
.r-xr-xr-x 197k root root 31 Dec 1969 libraft.so.0.0.7
dr-xr-xr-x - root root 31 Dec 1969 pkgconfig
for some closure improvements, i would add outputs = [ "out" "dev" ];
so that the pkgconfig and headers are only used during builds. But the libraries are so small in size it probably won't make too much of a difference.
@jonringer Again, excellent review! I'm baffled about the amount detail caught by your eye. I will adjust according to both of your comments in next hours. |
@jonringer I included your feedback regarding the
So my conclusion here is that it would be the best to let the executability flag just as it came from the 3rd party in this case. It probably doesn't brake something and keeping close to upstream feels best. |
Yea, i guess I stumbled upon it becuase i was getting a warning with ldd saying that |
Unfortunately, I don't have any prior experience with lxd, so I can't really test it well :( |
8f2b4bb
to
eedc510
Compare
In the meantime a new version of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested with nixos-generators
and this PR checked out as nixpkgs, created an alpine container and looked around it with lxc exec
everything looked fine
Do you also want to maintain LXD? |
+ also added myself to maintainer list
Ok |
Motivation for this change
Hopefully this resolves #69818
Edit:
Which is not the case.But the binaries run fine 😆Edit 2:
Running this in a nixos-vm, lxd is working!
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 @fpletz