Skip to content

v2018.6

@jlebon jlebon tagged this 29 Jun 18:48
This release includes many bugfixes and enhancements. The most
significant change is the introduction of Rust code to the tree. This is
gated behind a new `--enable-rust` build option. Right now, the only
Rust component is an internal library which will allow `rpm-ostree
compose tree` to read YAML treefiles rather than JSON. Look forward to
more features in Rust in the future; it's also likely that we will
slowly "oxidize", or convert some portions of C code to Rust, following
in the footsteps of Firefox.
PR: #1377

A new `reset` command was added. This allows users to easily undo all
mutations done to the host: overlays, overrides, and initramfs
regeneration. The command supports switches to only reset *some* of
these, e.g. `reset --overlays --overrides`.
PR: #1419

Related to the above, the `uninstall` command learned a new `--all`
switch to remove all layered packages in a single transaction.
PR: #1408

The `install` command now refuses to overlay packages that are already
part of the base commit. This was causing some confusion among new
users. One may use the new `--allow-inactive` switch to force the
request to become inactive. Documentation for the `install` and
`uninstall` commands were updated to clarify this.
PR: #1378

There is a new `machineid-compat` treefile option, it defaults to
`true`, but we plan to change this to `false` soon for Fedora CoreOS and
Silverblue.  The primary aim is to enable systemd's
`ConditionFirstBoot=` to finally work, which is part of adapting CoreOS
Ignition for the converged Fedora CoreOS.  Note as part of this, the
`default_target` treefile option will now modify the symlink in `/usr`
as opposed to the copy in `/etc`.
PR: #1425

The display of "bare commit origins" has been enhanced; most users will
not notice this as it's for currently unusual cases.  More information
in:
PR: #1396

Locally layered packages can now be uninstalled by only specifying the
package name rather than the full NEVRA.
PR: #1400

There is continuing work on automatic updates; in particular, a major
topic is ensuring that it's clear to system administrators how things
work.  For example, we now display a message if `rpm-ostree upgrade` is
invoked when automatic updates are enabled:
PR: #1399

Further, clients such as gnome-software and Cockpit can now pass a
"client ID"; the idea is that the daemon can track which process
initiated an update.  The goal here is to be able to display in e.g.
`rpm-ostree status` that the automatic updates are controlled by
gnome-software in the Silverblue case, for example.
PR: #1368

The `kargs` command received a few fixes. It is also no longer marked as
experimental, and can thus now be called directly as `rpm-ostree kargs`.
For compatibility, `ex kargs` is still accepted, but will be removed in
the future.
PR: #1420, #1428

There are other miscellaneous fixes such as documentation, ongoing CI
work, etc.  A small preparatory commit landed as part of work towards
using `systemd-sysusers`.  Thanks to all contributors!

Colin Walters (18 PRs, 22 commits)
  compose: Add a missing `return` in error path (#1371)
  .gitmodules: Update URL for libglnx (#1374)
  rust: Fix automake warnings, add unit tests to glibutils (#1389)
  compose: Print out the input hash (#1393)
  packaging: Fix Rust vendoring (#1394)
  Handle "pinned commits" specifically (#1396)
  build-sys: Add some gitignore for Rust bits (#1397)
  upgrade: Note if automatic updates are enabled (#1399)
  rust/treefile: Buffer writes (#1405)
  daemon: Further consolidate option parsing for deploy (#1414)
  status: Assert that we have deployments (#1416)
  rust/treefile: Fix mutate-os-release typo (#1422)
  Add a treefile option to stop creating /etc/machine-id (#1425)
  postprocess: Set default.target in /usr (#1427)
  PR: #1368
    daemon: Add an 'id' param to RegisterClient, log it
    daemon: Load sd unit for callers, log it
  PR: #1391
    rust: Fix unused-import in release mode
    packaging: Support vendoring the Rust sources
  PR: #1403
    daemon: Move deploy parsing down into _new_deploy()
    daemon: Push deploy GVariant parsing down a level
  PR: #1412
    daemon: Drop some internal options → flags conversion
    daemon/txn: Hold a ref to deployment options variant
  PR: #1433
    tests: Update for ostree BLS file naming change
    (and 1 commit from other author)

Jonathan Lebon (25 PRs, 38 commits)
  ci: Bump to F28 (#1358)
  ci: Drop f27-sanity testsuite (#1369)
  daemon/upgrader: Consistently remove transient state (#1372)
  Add support for YAML treefiles (#1377)
  daemon: Don't use absolute path for gdbus-codegen (#1383)
  upgrader: Add missing values to flags GType (#1398)
  libpriv/origin: Allow removing local RPMs by name only (#1400)
  app/override: Don't auto-enable cache-only if also installing (#1402)
  app/uninstall: Add --all switch to drop all layering (#1408)
  app/dbus-helpers: Initialize reboot & dry run vars (#1411)
  treefile.rs: Add missing #[serde(rename)] attributes (#1417)
  Add new `reset` command (#1419)
  app: Lift kargs out of experimental (#1428)
  app/dbus-helpers: Return early if no diff to print (#1431)
  daemon/rollback: Error out if pending deployment is staged (#1434)
  Release 2018.6 (#1436)
  daemon/rollback: Really fix staged deployment case (#1437)
  PR: #1378
    app/install: Add --allow-inactive switch
    daemon/deploy: Re-use base layer rsack
    daemon/deploy: Warn on immediately inactive requests
  PR: #1382
    tests/vmcheck: Fix rojig expected NEVRA for f28
    tests/vmcheck: Disable rojig test on CentOS
    app: Simplify options GVariant generation
    tests/vmcheck: Fix override remove test
    tests/vmcheck: Split basic layering tests in two
  PR: #1390
    rust: Use flat_map for splitting package whitespace
    rust: Pass through clippy
  PR: #1395
    libpriv: Directly parse NEVRAs, don't use branches
    libpriv: Move cache-branch functions to rpm-util.c
  PR: #1407
    daemon/deploy: Fix off-by-one count in `localinstall`
    daemon/deploy: Tweak no-op output message
    daemon/deploy: Fix transaction title on uninstalls
    app/override: Don't crash on no change
  PR: #1418
    app/builtins: Consistent description for --reboot
    man/rpm-ostree: Tweak install/uninstall docs
  PR: #1424
    daemon: Add a few missing transaction titles
    daemon/deploy: Allow layering with no-layering option
  PR: #1433
    ci: Bump version_id match to pick up ostree FAHC
    (and 1 commit from other author)

Micah Abbott (2 PRs, 2 commits)
  docs: improve install/uninstall help (#1388)
  Clarify the use of --uninstall switch (#1421)

Michael Scherer (1 PR, 1 commit)
  Fix the link to Fedora Atomic json file (#1423)

Ruixin Bao (2 PRs, 2 commits)
  passwd-util: change passwd to FALSE to allow checking groups (#1413)
  upgrader/vmcheck: fix kargs get lost when doing multiple operations (#1420)

Git-EVTag-v0-SHA512: 8de50537286eed4ecfee30a10963eb892ee6e1992a8b6e8843aeedc6a2ccca5859c603181a812663e7ac448e0dea8ebb819ac2576ae5dc387c29d45dd5bef59e
Assets 2
Loading