landscape-client package fails to install when run from the installer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
landscape-client (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: landscape-client
When the option to configure landscape client is chosen during a -server installation, the landscape-client package fails to install correctly. Although the install proceeds, the following messages are found in the logs:
Sep 24 13:11:51 useradd[4372]: new user: name=landscape, UID=106, GID=65534, home=/var/
Sep 24 13:11:51 usermod[4377]: change user `landscape' password
Sep 24 13:11:51 chage[4382]: changed password expiry for landscape
Sep 24 13:11:52 chfn[4385]: changed user `landscape' information
Sep 24 17:11:52 in-target: ^M
Sep 24 17:11:52 in-target: SETTING UP LANDSCAPE-CLIENT (1.0.21-0UBUNTU2) ...^M
Sep 24 17:11:52 debconf: Obsolete command TITLE Configuring landscape-client called
Sep 24 17:11:54 in-target: * STOPPING LANDSCAPE-CLIENT DAEMON^M
Sep 24 17:11:54 in-target: ^M
Sep 24 17:11:54 in-target: WARNING: FAKE START-STOP-DAEMON CALLED, DOING NOTHING.^M
Sep 24 17:11:54 in-target: ...DONE.^M
Sep 24 17:11:54 in-target: * STARTING THE LANDSCAPE-CLIENT DAEMON^M
Sep 24 17:11:54 in-target: ^M
Sep 24 17:11:54 in-target: WARNING: FAKE START-STOP-DAEMON CALLED, DOING NOTHING.^M
Sep 24 17:11:54 in-target: ...DONE.^M
Sep 24 17:11:54 in-target: PLEASE WAIT...
Sep 24 17:11:56 in-target: TRACEBACK (MOST RECENT CALL LAST):^M
Sep 24 17:11:56 in-target: FILE "/USR/BIN/
Sep 24 17:11:56 in-target:
Sep 24 17:11:56 in-target: MAIN(SYS.
Sep 24 17:11:56 in-target: FILE "/USR/LIB/
Sep 24 17:11:56 in-target:
Sep 24 17:11:56 in-target: REGISTER(CONFIG)^M
Sep 24 17:11:56 in-target: FILE "/USR/LIB/
Sep 24 17:11:56 in-target:
Sep 24 17:11:56 in-target: REMOTE = REMOTEBROKER(
Sep 24 17:11:56 in-target: FILE "/USR/LIB/
Sep 24 17:11:56 in-target:
Sep 24 17:11:56 in-target: RETURN BUS_CLASS()^M
Sep 24 17:11:56 in-target: FILE "/VAR/LIB/
Sep 24 17:11:56 in-target:
Sep 24 17:11:56 in-target: PRIVATE=PRIVATE)^M
Sep 24 17:11:56 in-target: FILE "/VAR/LIB/
Sep 24 17:11:56 in-target:
Sep 24 17:11:56 in-target: BUS = BUSCONNECTION.
Sep 24 17:11:56 in-target: FILE "/VAR/LIB/
Sep 24 17:11:56 in-target:
Sep 24 17:11:56 in-target: BUS = CLS._NEW_
Sep 24 17:11:56 in-target: DBUS.EXCEPTIONS
Sep 24 17:11:56 in-target: .
Sep 24 17:11:56 in-target: DBUSEXCEPTION
Sep 24 17:11:56 in-target: :
Sep 24 17:11:56 in-target: ORG.FREEDESKTOP
Sep 24 17:11:56 in-target: ^M
Sep 24 17:11:56 in-target: DPKG: ERROR PROCESSING LANDSCAPE-CLIENT (--CONFIGURE):^M
Sep 24 17:11:56 in-target: SUBPROCESS POST-INSTALLATION SCRIPT RETURNED ERROR EXIT STATUS 1^M
This is due to the fact that landscape-config uses dbus to ask the landscape-client to register. However dbus doesn't run during the installation process. Thus the failure.
The landscape team provided a fix in a new release, 1.0.21.1.
An option - ok-no-register - has been added to the landscape-config script so that it doesn't fail with an exit code of 2 when dbus is not available. It prints an error message instead and exits with a code of 0.
The new upstream release also lowers a timeout related to package management.
I've attached a complete debdiff between the current version in the archive and the proposed upload.