Skip to content

Config File - "bridge not found in /etc/network/interfaces" when using SDNΒ #4530

@SlothCroissant

Description

@SlothCroissant

βœ… Have you read and understood the above guidelines?

yes

πŸ“œ What is the name of the script you are using?

Jellyfin, thoguh not specific to any script.

πŸ“‚ What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/jellyfin.sh)"

βš™οΈ What settings are you using?

  • Default Settings
  • Advanced Settings

πŸ–₯️ Which Linux distribution are you using?

Debian 12

πŸ“ Provide a clear and concise description of the issue.

When running an install via config file, it appears that it only looks in /etc/network/interfaces for bridges, and ignores /etc/network/interfaces.d/. This conflicts with use of Proxmox SDN (https://pve.proxmox.com/wiki/Software-Defined_Network)

πŸ”„ Steps to reproduce the issue.

Deploy via config file with an SDN interface (which exists in /etc/network/interfaces.d/ and not /etc/network/interfaces

❌ Paste the full error output (if available).

  πŸ’‘    Using Config File on node pve02
  πŸ’‘  Using config File: /opt/community-scripts/8005.jellyfin.settings
  πŸ†”  Container ID: 8005
  πŸ“¦  Container Type: Unprivileged
  πŸ”  Root Password: Automatic Login
  πŸ†”  Container ID: 8005
  🏠  Hostname: jellyfin
  πŸ’Ύ  Disk Size: 64 GB
  🧠  CPU Cores: 4
  πŸ› οΈ  RAM Size: 4096 MiB
  βœ–οΈ   Bridge 'vlan80' does not exist in /etc/network/interfaces

NOTE: vlan80 exists in /etc/network/interfaces.d/sdn

πŸ–ΌοΈ Additional context (optional).

I believe this is the code that builds the interfaces list when using the UI/Menus. Notice it checks all files within /etc/network/interfaces.d/:

IFACE_FILEPATH_LIST="/etc/network/interfaces"$'\n'$(find "/etc/network/interfaces.d/" -type f)

However, when using a config file, it appears to only check /etc/network/interfaces:

if grep -q "^iface ${BRG}" /etc/network/interfaces; then

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions