CLI displays unknown extra IP Address

Bug #1880412 reported by Nik DuVall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
landscape-client (Ubuntu)
New
Undecided
Unassigned

Bug Description

While working to set up an additional IP Address on the server from VMWare, somehow the MOTD is coming up with an extra IP Address that doesn't exist on the interface (172.16.50.7).

MOTD + ifconfig output below demonstrating the bug :

user@localworkstation ~ % ssh server
Welcome to Ubuntu 20.04 LTS (GNU/Linux 5.4.0-31-generic x86_64)

 * Documentation: https://help.ubuntu.com
 * Management: https://landscape.canonical.com
 * Support: https://ubuntu.com/advantage

  System information as of Sun 24 May 2020 02:56:13 PM UTC

  System load: 0.0
  Usage of /: 6.4% of 97.93GB
  Memory usage: 34%
  Swap usage: 0%
  Processes: 218
  Users logged in: 0
  IPv4 address for ens160: 172.16.30.15
  IPv4 address for ens161: 172.16.40.53
  IPv4 address for ens193: 172.16.100.53
  IPv4 address for ens224: 172.16.10.53
  IPv4 address for ens225: 172.16.50.6
  IPv4 address for ens225: 172.16.50.7
  IPv4 address for ens256: 172.16.20.53

0 updates can be installed immediately.
0 of these updates are security updates.

Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings

Last login: Sun May 24 14:54:15 2020 from 172.16.10.46
user@server:~$ ifconfig ens225
ens225: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
        inet 172.16.50.6 netmask 255.255.255.0 broadcast 172.16.50.255
        inet6 fe80::282c:c0bc:4862:d381 prefixlen 64 scopeid 0x20<link>
        ether 00:0c:29:c9:36:42 txqueuelen 1000 (Ethernet)
        RX packets 1587 bytes 147366 (147.3 KB)
        RX errors 0 dropped 0 overruns 0 frame 0
        TX packets 49 bytes 4610 (4.6 KB)
        TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

user@server:~$

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: openssh-server 1:8.2p1-4
ProcVersionSignature: Ubuntu 5.4.0-31.35-generic 5.4.34
Uname: Linux 5.4.0-31-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sun May 24 14:58:54 2020
InstallationDate: Installed on 2020-04-25 (28 days ago)
InstallationMedia: Ubuntu-Server 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SSHDConfig:
 Error: command ['pkexec', '/usr/sbin/sshd', '-T'] failed with exit code 127: polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
 Error executing command as another user: Not authorized

 This incident has been reported.
SourcePackage: openssh
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Nik DuVall (cynik21) wrote :
Revision history for this message
Seth Arnold (seth-arnold) wrote : Re: [Bug 1880412] [NEW] CLI displays unknown extra IP Address

On Sun, May 24, 2020 at 03:06:48PM -0000, Nik DuVall wrote:
> While working to set up an additional IP Address on the server from
> VMWare, somehow the MOTD is coming up with an extra IP Address that
> doesn't exist on the interface (172.16.50.7).
>
> MOTD + ifconfig output below demonstrating the bug :

Hello, please note that one of the reasons why ifconfig has been
deprecated since 1999 is that it does not know about multiple IP addresses
on a given interface. Compare with the ip addr output instead, which does
know how to manipulate multiple IP addresses on an interface.

Thanks

Revision history for this message
Colin Watson (cjwatson) wrote :

In addition to what Seth said, this message is added to the MOTD by landscape-sysinfo (in the landscape-common package), not by OpenSSH; so I'm reassigning this bug there.

affects: openssh (Ubuntu) → landscape-client (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.