Overview

Request 963875 accepted

- Version 4.0.0~rc2
- Fix missing prompt in "shell" command [bsc#1196580]
- Add output of tukit commands to log file
- Fix compilation error with GCC12 [boo#1194876]
- Fixed (non-critical) security review comments [boo#1196149]
- Fixed selfupdate
- Code cleanup
- Version 4.0.0~rc1
This release is API, but not ABI compatible with previous releases;
existing applications will have to be recompiled against this new version.
Major features:
- Introduces a D-Bus service to access the libtukit API via the
org.opensuse.tukit.Transaction interface
- Introduces a C binding via libtukit.h.
Other changes:
- t-u: Rework --quiet handling to make sure no output is shown even in
error cases; this is necessary for automation, e.g. with Salt.
[gh#openSUSE/transactional-update#73]
- tukit: Allow storing command output into variable by introducing a new
optional parameter for "execute" and "callExt".
- Replace multiple and non-standalone occurenses of {} in "callExt"
argument.
- Split transactional-update.timer into transactional-update.timer
and transactional-update-cleanup.timer; the later will clean up
old snapshots even when the system does not do automatic updates.
- tukit: Remove legacy alias "setDiscard" for "setDiscardIfUnchanged".
- Throw exception if snapshot is not found.
- Fix various compiler warnings
- Update spec file:
- Include tukitd D-Bus daemon
- Only install one version of the library (as there are no breaking API
changes yet)
- Add %pre scriplets for systemd services
- Replace %systemd_postun scriptlets with %systemd_postun_with_restart
to satisfy rpmlint checks
- Add transactional-update log file as %ghost file


Ignaz Forster's avatar
author source maintainer

Sorry for submitting a prerelease, but mliska needs it for GCC12.


Dominique Leuenberger's avatar

No worries, if it works, you're safe - it it doesn't, you'll be haunted in your dreams


Martin Liška's avatar

Alternatively, you can cherry-pick only https://github.com/openSUSE/transactional-update/commit/68cb932e37cf60f227ff7537419d24d9ecae50f8 and send it to Factory. I just need fix for GCC 12, I don't need a completely new release :P


Ignaz Forster's avatar
author source maintainer

That would have been an alternative ;-) I'll come back to it if this new major version should horribly break (which I don't expect, but you never know...) - but I wanted to push this version anyway. Originally a few days later, but thanks for giving me a reason to do that now :-)


Dominique Leuenberger's avatar
[   55s] tukitd.x86_64: E: dbus-file-unauthorized (Badness: 10000) /usr/share/dbus-1/system.d/org.opensuse.tukit.conf (file digest sha256:05d397544bf468a228f7d9cd96685a6509c3a47239484b4439e8bd45c8cc869c)
[   55s] Packaging D-Bus services requires a review and whitelisting by the SUSE
[   55s] security team. If the package is intended for inclusion in any SUSE product
[   55s] please open a bug report to request review of the package by the security
[   55s] team. Please refer to
[   55s] https://en.opensuse.org/openSUSE:Package_security_guidelines#audit_bugs for
[   55s] more information.
[   55s] 

Ignaz Forster's avatar
author source maintainer

This should have been whitelisted in https://build.opensuse.org/request/show/957735, but apparently it wasn't, probably because I didn't mention the file explicitly... I'll reopen the other ticket.


Martin Liška's avatar

Can you please link the ticket here?


Ignaz Forster's avatar
author source maintainer

https://bugzilla.opensuse.org/show_bug.cgi?id=1196149, but I think you won't be able to access it.


Dominique Leuenberger's avatar

Needs sec approval


Dominique Leuenberger's avatar

Unignored: returned to active backlog.


Dominique Leuenberger's avatar
163+# That should be in /usr/lib/systemd probably
164+%{_prefix}/lib/systemd/system/tukitd.service

=> %{_unitdir}/tukitd.service


Ignaz Forster's avatar
author source maintainer

Fixed

Request History
Ignaz Forster's avatar

fos created request

- Version 4.0.0~rc2
- Fix missing prompt in "shell" command [bsc#1196580]
- Add output of tukit commands to log file
- Fix compilation error with GCC12 [boo#1194876]
- Fixed (non-critical) security review comments [boo#1196149]
- Fixed selfupdate
- Code cleanup
- Version 4.0.0~rc1
This release is API, but not ABI compatible with previous releases;
existing applications will have to be recompiled against this new version.
Major features:
- Introduces a D-Bus service to access the libtukit API via the
org.opensuse.tukit.Transaction interface
- Introduces a C binding via libtukit.h.
Other changes:
- t-u: Rework --quiet handling to make sure no output is shown even in
error cases; this is necessary for automation, e.g. with Salt.
[gh#openSUSE/transactional-update#73]
- tukit: Allow storing command output into variable by introducing a new
optional parameter for "execute" and "callExt".
- Replace multiple and non-standalone occurenses of {} in "callExt"
argument.
- Split transactional-update.timer into transactional-update.timer
and transactional-update-cleanup.timer; the later will clean up
old snapshots even when the system does not do automatic updates.
- tukit: Remove legacy alias "setDiscard" for "setDiscardIfUnchanged".
- Throw exception if snapshot is not found.
- Fix various compiler warnings
- Update spec file:
- Include tukitd D-Bus daemon
- Only install one version of the library (as there are no breaking API
changes yet)
- Add %pre scriplets for systemd services
- Replace %systemd_postun scriptlets with %systemd_postun_with_restart
to satisfy rpmlint checks
- Add transactional-update log file as %ghost file


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar accepted review


Dominique Leuenberger's avatar

dimstar_suse set openSUSE:Factory:Staging:F as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:F"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked "openSUSE:Factory:Staging:F"


Dominique Leuenberger's avatar

dimstar_suse added factory-staging as a reviewer

Being evaluated by group "factory-staging"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Unstaged from project "openSUSE:Factory:Staging:F"


Dominique Leuenberger's avatar

dimstar_suse set openSUSE:Factory:Staging:K as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:K"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked "openSUSE:Factory:Staging:K"


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:K got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:K got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:K got accepted.

openSUSE Build Service is sponsored by