Package: ifupdown
Version: 0.8.36
Severity: minor
X-Debbugs-Cc: aleksand...@gmail.com

Dear Maintainer,

After adding VLAN interface, e.g. this lines:

auto 555.555                                                                    
 
iface 555.555 inet manual  

to /etc/network/interfaces and executing the following commands:

ifup 555.555
ifdown 555.555

I am getting the following messages:

cat: /sys/class/net/555/type: No such file or directory
/bin/sh: 1: test: -eq: unexpected operator

Although interface is disabled after this command, my complain is unrelated 
error message.

-- Package-specific info:
--- /etc/network/interfaces:
############################################################
# CAUTION: lines under special marker: ###netifcfg-*###
# contains autogenerated information. You can add/modify
# lines outside of those markers    
############################################################

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

# loopback configuration
auto lo
iface lo inet loopback

###netifcfg-begin###

auto eth0
iface eth0 inet static
mtu 1500
address 10.137.0.194
netmask 255.255.0.0
broadcast 10.137.255.255

ifup 555.555
ifdown 555.555

###netifcfg-end###

--- up and down scripts installed:
/etc/network/if-down.d:
total 8
lrwxrwxrwx 1 root root  29 Feb 24  2021 bridge -> /lib/bridge-utils/ifupdown.sh
-rwxr-xr-x 1 root root 104 Jan 31 17:10 custom
-rwxr-xr-x 1 root root 405 Mar 17 16:42 st-virtual-if

/etc/network/if-post-down.d:
total 12
lrwxrwxrwx 1 root root   29 Feb 24  2021 bridge -> /lib/bridge-utils/ifupdown.sh
-rwxr-xr-x 1 root root  114 Jan 31 17:10 custom
-rwxr-xr-x 1 root root 1742 Mar 17 15:42 ifenslave
-rwxr-xr-x 1 root root 1433 Feb  4  2019 vlan

/etc/network/if-pre-up.d:
total 28
lrwxrwxrwx 1 root root   29 Feb 24  2021 bridge -> /lib/bridge-utils/ifupdown.sh
-rwxr-xr-x 1 root root  108 Jan 31 17:10 custom
-rwxr-xr-x 1 root root  344 Jun 30  2016 ethtool
-rwxr-xr-x 1 root root 7126 May  3  2021 ifenslave
-rwxr-xr-x 1 root root  792 Mar 17 16:42 st-virtual-if
-rwxr-xr-x 1 root root 4224 Feb 21  2019 vlan

/etc/network/if-up.d:
total 20
-rwxr-xr-x 1 root root  100 Jan 31 17:10 custom
-rwxr-xr-x 1 root root 1685 Jun 30  2016 ethtool
-rwxr-xr-x 1 root root 1749 Apr 29  2021 ifenslave
-rwxr-xr-x 1 root root  677 Feb  4  2019 ip
-rwxr-xr-x 1 root root  745 Mar 17 16:42 st-virtual-if


-- System Information:
Debian Release: 11.2
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-9-amd64 (SMP w/1 CPU thread)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=locale: Cannot set LC_ALL to 
default locale: No such file or directory
UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ifupdown depends on:
ii  adduser   3.118
ii  iproute2  5.10.0-4
ii  libc6     2.31-13+deb11u2
ii  lsb-base  11.1.0

Versions of packages ifupdown recommends:
ii  isc-dhcp-client [dhcp-client]  4.4.1-2.3+b1+sterra2

Versions of packages ifupdown suggests:
pn  ppp     <none>
pn  rdnssd  <none>

-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_TIME = "ru_RU.UTF-8",
        LC_MONETARY = "ru_RU.UTF-8",
        LC_ADDRESS = "ru_RU.UTF-8",
        LC_TELEPHONE = "ru_RU.UTF-8",
        LC_NAME = "ru_RU.UTF-8",
        LC_MEASUREMENT = "ru_RU.UTF-8",
        LC_IDENTIFICATION = "ru_RU.UTF-8",
        LC_NUMERIC = "ru_RU.UTF-8",
        LC_PAPER = "ru_RU.UTF-8",
        LANG = "C.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("C.UTF-8").
locale: Cannot set LC_ALL to default locale: No such file or directory

Reply via email to