Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved iventoy 在LXC debian中启动失败
#1
你好,

非常感谢提供ventoy和iventoy这两个非常好用的工具!
但是在使用iventoy的过程中遇到了一点小疑惑,希望能够在这边找到解决的办法。

尝试在LXC的debian中启动iventoy,但是不管使用iventoy start 或者iventoy -A start, 总是显示"iventoy start SUCCESS PID=0"。
---------------------------------------------------------------------------------------------------------------------------------------------------------
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
iventoy start SUCCESS PID=0

Please open your browser and visit http://127.0.0.1:26000 or http://x.x.x.x:26000 (x.x.x.x is any valid IP address)


--------------------------------------------------------------------------------------------------------------------------------------------------------
尝试直接在VM中尝试,能够正常启动。

尝试过的版本是iventoy-1.0.07和1.0.06。

再次,非常感谢!
Reply
#2
For referrence:
https://forums.ventoy.net/showthread.php?tid=2491
Reply
#3
(07-05-2023, 05:43 AM)longpanda Wrote: For referrence:
https://forums.ventoy.net/showthread.php?tid=2491
错误好像和这个帖子的不太一样,检查了下logfile:

2023/07/05 09:15:43.942 [PXE]  ==========================================================
2023/07/05 09:15:43.942 [PXE]  ##########################################################
2023/07/05 09:15:43.942 [PXE]  ##################### IVENTOY RUN ########################
2023/07/05 09:15:43.942 [PXE]  ##########################################################
2023/07/05 09:15:43.942 [PXE]  ==========================================================
2023/07/05 09:15:43.942 [UTIL] mount directory failed, errno:13
2023/07/05 09:15:43.942 [PXE]  ### iVentoy start failed. ###
Reply
#4
lxc 内必须有权限能够执行 mount -t sysfs 动作。
Reply
#5
(07-05-2023, 03:26 PM)longpanda Wrote: lxc 内必须有权限能够执行  mount -t sysfs  动作。
非常感谢!
在LXC的配置文件加入了:
lxc.apparmor.profile: unconfined
能够正常启动了。
-----------------------------------------------------------------------------------------------------------------
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
iventoy start SUCCESS PID=279

Please open your browser and visit http://127.0.0.1:26000 or http://x.x.x.x:26000 (x.x.x.x is any valid IP address)
----------------------------------------------------------------------------------------------------------
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)