mktemp error when installing client from scratch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Committed
|
High
|
Francis Ginther | ||
landscape-client (Ubuntu) |
Fix Released
|
Undecided
|
Andreas Hasenack |
Bug Description
This is on a fresh install, where there is no /etc/landscape to begin with:
root@juju-
(...)
Setting up landscape-common3 (17.04+
Adding 'diversion of /etc/update-
Setting up landscape-client (17.04+
mktemp: failed to create file via template ‘/etc/landscape
dpkg: error processing package landscape-client (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (229-4ubuntu16) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
landscape-client
E: Sub-process /usr/bin/dpkg returned an error code (1)
Using 17.04+bzr1002~
Related branches
- Eric Snow (community): Approve
- Andreas Hasenack: Approve
- 🤖 Landscape Builder: Approve (test results)
-
Diff: 34 lines (+7/-5)3 files modifieddebian/landscape-common.dirs (+3/-0)
debian/landscape-common3.dirs (+3/-0)
debian/rules (+1/-5)
Changed in landscape-client: | |
assignee: | nobody → Eric Snow (ericsnowcurrently) |
Changed in landscape-client: | |
assignee: | Eric Snow (ericsnowcurrently) → Francis Ginther (fginther) |
status: | New → In Progress |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
Changed in landscape-client (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Andreas Hasenack (ahasenack) |
This boils down to missing directories in the landscape-common3 package:
- /etc/landscape
- /var/log/landscape
- /var/lib/landscape
Quick diff between of the relevant contents of landscape-common and landscape-common3: common. list 2017-04-07 15:18:18.616666137 -0300 common3. list 2017-04-07 15:19:06.545691302 -0300 landscape landscape/ landscape- sysinfo. wrapper landscape- sysinfo
--- landscape-
+++ landscape-
/.
-/var
-/var/log
-/var/log/landscape
-/var/lib
-/var/lib/landscape
/etc
/etc/update-motd.d
-/etc/landscape
/usr
/usr/share
/usr/share/man
...
/usr/share/
/usr/share/
/usr/bin
/usr/bin/
/usr/lib