QEMU 오류 해결 - failed to create tun device : Operation not permittedDevOps/QEMU2024. 6. 2. 11:48
Table of Contents
반응형
문제 상황
QEMU 디바이스에 bridge 인터페이스를 추가하려고 하는데 아래와 같은 에러코드가 발생하는 문제입니다.
2024/06/02 11:45:08 packer-plugin-qemu_v1.1.0_x5.0_linux_amd64 plugin: 2024/06/02 11:45:08 Qemu stderr: failed to create tun device: Operation not permitted
2024/06/02 11:45:08 packer-plugin-qemu_v1.1.0_x5.0_linux_amd64 plugin: 2024/06/02 11:45:08 Qemu stderr: qemu-system-x86_64: -netdev bridge,id=net0,br=virbr0: bridge helper failed
해결 방법
해당 명령어를 실행시킨 유저의 권한이 부족한 문제로 아래 명령어를 입력하면 해결이 가능합니다.
sudo chmod u+s /usr/libexec/qemu-bridge-helper
참고
https://forums.gentoo.org/viewtopic-t-1093206-start-0.html
반응형
'DevOps > QEMU' 카테고리의 다른 글
QEMU Tips- NIC에 NUMA 할당하기 (2) | 2024.06.06 |
---|---|
QEMU 오류 해결 - unsupported configuration : TPM version '2.0' is not supported (0) | 2024.06.06 |
QEMU 오류 해결 - Booting from hard disk... 에서 freeze (0) | 2024.06.01 |
QEMU 오류 해결 - this function is not supported by the connection driver : virtConnectNodeDevice (0) | 2024.05.30 |
@ray5273 :: Micro Changes, Macro Impact
개발 및 IT 관련 포스팅을 작성 하는 블로그입니다.
IT 기술 및 개인 개발에 대한 내용을 작성하는 블로그입니다. 많은 분들과 소통하며 의견을 나누고 싶습니다.