← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1618483] Re: landscape-config new registration request prompt should default to no for subsequent runs

 

This bug was fixed in the package landscape-client - 16.03-0ubuntu4

---------------
landscape-client (16.03-0ubuntu4) bionic; urgency=medium

  [ Simon Poirier]
  * Update landscape-client with upstream fixes (LP: #1721383):
    - Add proxy handling to package reporter. (LP: #1531150)
    - Fix regression in configuration hook under install-cd chroot (LP: #1699789)
    - Report autoremovable packages (LP: #1208393)
    - Do not re-register client by default (LP: #1618483)
    - Remove diff "noise" from d/p/ignore-backports-1668583.diff

 -- Andreas Hasenack <andreas@xxxxxxxxxxxxx>  Fri, 10 Nov 2017 12:26:23
-0200

** Changed in: landscape-client (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1618483

Title:
  landscape-config new registration request prompt should default to no
  for subsequent runs

Status in Landscape Client:
  Fix Committed
Status in landscape-client package in Ubuntu:
  Fix Released
Status in landscape-client source package in Trusty:
  New
Status in landscape-client source package in Xenial:
  New
Status in landscape-client source package in Zesty:
  New
Status in landscape-client source package in Artful:
  New

Bug description:
  When running landscape-config, this prompt always defaults to Yes:

  "Request a new registration for this computer now? (Y/n):"

  The landscape-config command can be used to change configuration
  options in /etc/landscape/client.conf and should default to No when
  running this command on a computer that is already registered to a
  Landscape server and that server doesn't change during that run of
  landscape-config.

  Steps to replicate:

  1) Install landscape-client package on computer
  $ sudo apt-get install landscape-client

  2) Run landscape-config to register client for the first time
  $ sudo landscape-config --account-name standalone --url https://<server>/message-system --ping-url http://<server>/ping

  3) Run landscape-config again to change an option
  $ sudo landscape-config --ping-interval=60

  [Test Case]

  When running landscape-config, this prompt always defaults to Yes:
  "Request a new registration for this computer now? (Y/n):"
  The landscape-config command can be used to change configuration options in /etc/landscape/client.conf and should default to No when running this command on a computer that is already registered to a Landscape server and that server doesn't change during that run of landscape-config.

  To reproduce:

  1) Install landscape-client package on computer.
  2) Run landscape-config to register client for the first time.
  3) Run landscape-config again to change an option:
  sudo landscape-config --ping-interval=60

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/1618483/+subscriptions