Comments (2)
Hi, thanks for your help. I tested both arm64 and amd64 platforms, and this patch works fine.I have committed the patch to this project.
I think you can commit patch to proxmox too.
from proxmox-arm64.
As a sidenote, it looks like O_TMPFILE isn't (correctly ?) defined in perl Fnctl library, and must be the reason it was hardcoded. It's value is composed of the flag itself (0x00400000) and O_DIRECTORY which is the flag that differs on arm64 (0x10000 on amd64 while 0x4000 on arm64).
So maybe an other solution could be to declare
--- /usr/share/perl5/PVE/Tools.pm.orig 2023-04-14 11:29:28.388000000 +0200
+++ /usr/share/perl5/PVE/Tools.pm 2023-04-14 15:26:47.736000000 +0200
@@ -100,7 +100,7 @@
use constant {O_PATH => 0x00200000,
O_CLOEXEC => 0x00080000,
- O_TMPFILE => 0x00410000}; # This includes O_DIRECTORY
+ O_TMPFILE => 0x00400000 | O_DIRECTORY};
use constant {AT_EMPTY_PATH => 0x1000,
AT_FDCWD => -100};
which would work on most architectures.
from proxmox-arm64.
Related Issues (20)
- 'vmgenid' is not a valid device model name TASK ERROR: start failed: QEMU exited with code 1 HOT 1
- Expired SSL certificate on https://mirrors.apqa.cn/ HOT 2
- /etc/hosts/ HOT 1
- No Memory and SWAP Limits for CT's HOT 2
- Install proxmox 8 on Raspberry pi 4 with bookworm HOT 2
- Raspberry pi 4b USB passthrough HOT 9
- Arch on Apt HOT 1
- Network Issue HOT 7
- /usr/bin/dpkg returned an error code (1) HOT 3
- Error installing pve-qemu-kvm conflict with qemu-guest-agent HOT 1
- pve-manager (8.0.8-1) Update failed HOT 9
- Question about CPU Affinity HOT 7
- Nodes summary status not loading after upgrade to pve 8.1.3 and know issues HOT 10
- SDN simple network creation issue HOT 3
- PVE 8.1.3 OrangePI 5 pve-edk2-firmware HOT 1
- After updating to 8.1, Secure Boot fails
- Only a Info for RaspberryPi5 Kernel HOT 8
- LXC containers stopped working on PVE 8.1 HOT 3
- Apt update error HOT 1
- Debian 12 LXC with DHCP Fails to Boot HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proxmox-arm64.