tracker icon indicating copy to clipboard operation
tracker copied to clipboard

snipe-it lxc proxmox pptp problem

Open PAOK1926 opened this issue 2 years ago • 1 comments

hello,

i just installed snipe-it as lxc on my proxmox server. everything seems to work fine, except, i cannot add a pptp tunel to my vpn server. when i try to initiate the pptp connection, i get this message:

Couldn't open the /dev/ppp device: Permission denied
/usr/sbin/pppd: Sorry - this system lacks PPP kernel support

is this true ? this system lacks PPP kernel support ?

PAOK1926 avatar Jun 27 '22 19:06 PAOK1926

Hi there,

This is a limitation of running in an unprivileged LXC container.

To work around it, you have 3 options:

  • run the container as privileged (and deal with all the bugs and issues that will bring)
  • download the ISO instead (from the Snipe-IT page on our website and install to a "proper" VM; or
  • (probably the most relevant option) explicitly set up the required resources/permissions.

Assuming that you are using Proxmox, here is a thread that seems related to the 3rd option I noted: https://forum.proxmox.com/threads/ppp-on-multiple-containers-not-working.54714/

If you're not using Proxmox and/or you want more general LXC info, please have a look at these: https://discuss.linuxcontainers.org/t/lxc-allow-openfortivpn-client-to-create-a-ppp0-interface/3048/2 https://discuss.linuxcontainers.org/t/dev-ppp-in-lxc-permission-denied/8326

If you work it out, please post back as I'm sure it will help others.

JedMeister avatar Jun 28 '22 05:06 JedMeister

I'm closing this now as there's not really anything we can do about it.

If you worked it out @PAOK1926 - please still free to post back with instructions.

JedMeister avatar May 10 '24 02:05 JedMeister