https://bugzilla.novell.com/show_bug.cgi?id=681952 https://bugzilla.novell.com/show_bug.cgi?id=681952#c0 Summary: ip addr add returns different error codes than before Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: All OS/Version: Other Status: NEEDINFO Severity: Major Priority: P5 - None Component: Network AssignedTo: mt@novell.com ReportedBy: mt@novell.com QAContact: qa@suse.de InfoProvider: ms@novell.com Found By: Development Blocker: --- In any previous version (since suse ... 10.0?), ip addr add always returned the error code 2 in case the ip address is already set on the interface: # ip a s dev bond0 | grep 172 inet 172.16.2.3/24 brd 172.16.2.255 scope global bond0 # ip a a 172.16.2.3/24 dev bond0 ; echo $? RTNETLINK answers: File exists 2 On 11.4, it returns the exit code 254: # ip a s dev eth0 | grep 172 inet 172.16.1.1/24 brd 172.16.1.255 scope global eth0 # ip addr add 172.16.1.1/24 dev eth0 ; echo $? RTNETLINK answers: File exists 254 This of course causes ifup to return an error in this quite common case... Are there more changes like this / did the error reporting changed in another places too? Is this just a bug in some patch or is the new behaviour intended to be used in all further iproute2 versions? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.