Package: ppp
Version: 2.4.7-2+4.1+deb10u1
Severity: normal

Dear Maintainer,

Trying to setup a fortissl VPN with network manager I am getting some errors

ppd[56889]: Plugin /usr/lib/pppd/2.4.7/nm-fortisslvpn-pppd-plugin.so loaded.
NetworkManager[56889]: Plugin /usr/lib/pppd/2.4.7/nm-fortisslvpn-pppd-plugin.so
pppd[56889]: Couldn't open the /dev/ppp device: No such file or directory
NetworkManager[56889]: Couldn't open the /dev/ppp device: No such file or direct
NetworkManager[56889]: /usr/sbin/pppd: You need to create the /dev/ppp device no
NetworkManager[56889]: executing the following command as root:
NetworkManager[56889]:         mknod /dev/ppp c 108 0

This causes the VPN initialization to fail.

The reason for this is that ppp_generic mode is not loaded. Seems that
there are some reasons why this is not done by udev (See #263079 for
old standalone udev package).

I was about to file a bug report against network-manager-fortisslvpn
about this, but since it depends on ppp, I think this should be better
handled by ppp package, or at least considered here before.

What I was preparing for network-manager-fortisslvpn was

 * Add an entry to /etc/modules-load.d/ to load ppp_generic on boot.
 * Add a snippet to postinst to load module on package installation. I
was trying

   case "$1" in
    configure)
        if ! ischroot 2>/dev/null; then
            modprobe -q ppp_generic || true
        else
            echo "chroot environment detected - not running 'modprobe
ppp_generic'"
        fi
    ;;
   esac

Regards,
-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (50, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8),
LANGUAGE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ppp depends on:
ii  libc6           2.30-8
ii  libpam-modules  1.3.1-5
ii  libpam-runtime  1.3.1-5
ii  libpam0g        1.3.1-5
ii  libpcap0.8      1.9.1-4
ii  libssl1.1       1.1.1g-1
ii  lsb-base        11.1.0
ii  procps          2:3.3.16-5

ppp recommends no packages.

ppp suggests no packages.

-- no debconf information

Reply via email to