What | Removed | Added |
---|---|---|
Severity | Normal | Major |
Well, as I still have a system on openSUSE 12.3, I could do some research and at least found what is clearly different in 13.1. On 12.3 with two interfaces (eth0, wlan0), both configured with STARTMODE=manual you get this: cinternet -I 01 i modem0 02 a wlan0 03 i eth0 The interface "modem0" is also configured with STARTMODE=manual but irrelevant here. On 13.1 you get this: cinternet -I 01 i modem0 no matter if the command is issued as root or normal user. If you have a look at the directory /dev/.sysconfig/network you can see what�s different. openSUSE 12.3: -rw-r--r-- 1 root root 5 1. Nov 12:11 config-eth0 -rw-r--r-- 1 root root 3 1. Nov 12:11 config-lo -rw-r--r-- 1 root root 7 1. Nov 12:11 config-modem0 -rw-r--r-- 1 root root 6 1. Nov 12:11 config-wlan0 -rw-r--r-- 1 root root 32 1. Nov 12:11 if-eth0 -rw-r--r-- 1 root root 27 1. Nov 12:11 if-lo -rw-r--r-- 1 root root 34 1. Nov 12:11 if-modem0 -rw-r--r-- 1 root root 7 1. Nov 12:11 ifup-lo -rw-r--r-- 1 root root 33 1. Nov 12:11 if-wlan0 -rw-r--r-- 1 root root 8 1. Nov 12:10 new-stamp-2 -rw-r--r-- 1 root root 8 1. Nov 12:10 new-stamp-3 -rw-r--r-- 1 root root 4 1. Nov 12:11 started drwxr-xr-x 2 root root 60 1. Nov 12:11 tmp openSUSE 13.1: -rw-r--r-- 1 root root 5 1. Nov 12:16 config-eth0 -rw-r--r-- 1 root root 3 1. Nov 12:16 config-lo -rw-r--r-- 1 root root 7 1. Nov 12:16 config-modem0 -rw-r--r-- 1 root root 6 1. Nov 12:16 config-wlan0 -rw-r--r-- 1 root root 27 1. Nov 12:16 if-lo -rw-r--r-- 1 root root 7 1. Nov 12:16 ifup-lo -rw-r--r-- 1 root root 8 1. Nov 12:14 new-stamp-2 -rw-r--r-- 1 root root 8 1. Nov 12:14 new-stamp-3 -rw-r--r-- 1 root root 0 1. Nov 12:14 ready-eth0 -rw-r--r-- 1 root root 0 1. Nov 12:14 ready-wlan0 -rw-r--r-- 1 root root 4 1. Nov 12:16 started drwxr-xr-x 2 root root 60 1. Nov 12:16 tmp So on 13.1 the files "if-eth0" and "if-wlan0" are missing/not being created when STARTMODE=manual was configured. Let�s have a look at the content of those files on 12.3: cat /dev/.sysconfig/network/if-eth0 config=eth0 status=disconnected cat /dev/.sysconfig/network/if-wlan0 config=wlan0 status=disconnected Well, makes sense, doesn� t it? So what happens if I create those missing files with the same content on 13.1? echo -e 'config=eth0\nstatus=disconnected' > /dev/.sysconfig/network/if-eth0 echo -e 'config=wlan0\nstatus=disconnected' > /dev/.sysconfig/network/if-wlan0 cinternet -I 01 i modem0 02 i wlan0 03 i eth0 NOW the interfaces are available for smpppd and can be configured with cinternet/qinternet: cinternet -i wlan0 -A cinternet -I 01 i modem0 02 a wlan0 03 i eth0 (a for associated?) cat /dev/.sysconfig/network/if-wlan0 primary=yes hostname=Foobar dhcp4_client=dhclient config=wlan0 dhcp4_state=complete status=connected (looks like it) So something must have been changed in ifup-infrastructure which does not create those /dev/.sysconfig/network/if-$INTERFACE files any longer although all the other files are still being created as in 12.3. I will increase the severity of this bug as an intended feature (non-root users should be able to configure certain interfaces no matter what STARTMODE is being set) is completely broken. Greetings, AK