forked from openSUSE/transactional-update
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNEWS
461 lines (379 loc) · 15.6 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
transactional-update NEWS -- history of user-visible changes.
Copyright (C) 2016-2020 Thorsten Kukuk, Ignaz Forster et al.
Version 3.3.0
* Add support for more package managers by bind mounting their directories
* Support snapshots without dedicated overlay [boo#1183539], [bsc#1183539]
* Link RPM database correctly with older zypper versions [boo#1183521]
* Don't discard manual changes in fstab [boo#1183856]
Version 3.2.2
* Don't skip patches with rebootSuggested flag
Version 3.2.1
* t-u: Forward --quiet option to tukit
* Regression: Add /opt as bind mount into update environment
* Remove output indicators of the called command to not tamper the result
line
* Fix /etc syncing with --drop-if-no-change
Version 3.2.0
* tukit: Add new command 'callext' to execute an application while the
snapshot is mounted. '{}' as a parameter will be replaced with the path
of the bind mount.
* Fix --drop-if-no-change [boo#1182525]
* Check whether self-updated version is executable (e.g. on noexec /tmp)
[bsc#1173842]
* Fix overlay synchronisation with SELinux (again)
* Always overwrite supplemental files (e.g. for network configuration)
even if they exist in the snapshot already [boo#1182544]
* Improve logging and error messages
Version 3.1.4
* SELinux: Fix syncing of SELinux attributes when using overlays
* SELinux: Tag the overlay directory itself (again)
Version 3.1.3
* Fix overlay syncing on SELinux systems
* Fix resuming transactions where the parent does not exist any more
Version 3.1.2
* libtukit: Report when application was terminated due to a signal, and
return the signal number as a return value. This will cause the
transaction to be aborted when called via `execute`.
* libtukit: Set PATH variable for internal commands to fixed value to
find the helper applications, as in some environments such as PolicyKit
PATH wouldn't be set.
* Fix compiler warnings
Version 3.1.1
* Fix hang in tukit on aarch64 [bsc#1181844]
* Prevent deletion of snapshots when resuming a snapshot where no transaction
is open
* Make tukit work in non-dbus environments [boo#1181934]
Version 3.1.0
* t-u: Support installing RPMs from the user's directory again
* Adapt selfupdate to new packaging
* Implement signal handling
* Remove empty text files
Version 3.0.0
* This release changes the internal structure, but should be identical to the
previous release feature wise.
* Major parts of the previous Bash only application have been rewritten in C++
with the goal to provide an API around transactions; the transactional-update
script is using that new interface internally already, however the API should
be considered experimental for now - if you are interested to use it, please
notify us in https://github.com/openSUSE/transactional-update/issues/52
* A new tool called "tukit" is providing a Shell wrapper for above
functionality. Please also consider it experimental for now, the commands may
still change.
* Bugfixes:
* Implement support for system offline update [boo#1180808]
* Add statistics files to update environment [boo#1173282]
Version 2.28.3
* SELinux: Make synchronisation work for both pre-SELinux snapshots and later
snapshots; SELinux support should be ready for most tasks now.
Version 2.28.2
* SELinux: Exclude security.selinux attribute from rsyncing (again)
Version 2.28.1
* SELinux: Fixed changing the wrong grub configuration file
* SELinux: Move /.autorelabel file to writeable location
Version 2.28
* Add 'setup-selinux' command for easy setup of a SELinux system
* Allow complex commands for the 'run' command
* SELinux: Fix /etc / overlay labeling
Version 2.27
* Add support for network systemd-resolvd network connections in t-u
environment
* Mount /var/lib/ca-certificates read-write to prevent SELinux error
* Prevent calling transactional-update from within transactional-update
Version 2.26
* Fix broken sync for second snapshot [boo#1176989]
* Add new options to allow separate cleanup of snapshots and overlays
* Check for existence of inotifywait before using it
* Check that mount options don't exceed maximum length
Version 2.25.1
* Fix inotify watcher setup
* Use log_{info,error} for more messages to avoid messing up Salt logs
Version 2.25
* Reduce number of overlays:
Instead of using transparent overlays for all previous layers only add the
previous snapshot's overlay; this will greatly reduce the number of overlays
while still making sure that /etc changes in the running system will be
visible in the next snapshot
* When using --drop-if-no-change synchronize potential /etc changes with
running system
* Exclude all non-root-fs mounts from inotify watcher
Version 2.24.1
* SELinux: adjust labels for etc, fstab and grub.cfg
Version 2.24
* Add partial SELinux support
Version 2.23
* Add "run" command to be able to execute a single command in a new snapshot
* Add "--drop-if-no-change" option to discard snapshots if no changes were
perfomed (BETA, required for Salt integration)
* Removed previous CaaSP Salt support
* Avoid "file not found" message on systems without /var subvol
Version 2.22
* Use pkgconf to determine installation paths
* Enable SSL connections in update shell [boo#1149131]
Version 2.21.1
* Rework error messages on failing umount [boo#1168389]
Version 2.21
* Use slave mounts for /proc, /sys & /dev - this will also provide all
submounts into the update environment
Version 2.20.4
* Mount efivarfs on EFI systems to make sure the bootloader will be installed
correctly.
* Fix removal of existing overlay directories
Version 2.20.3
* Reintroduce compatibility with RPM < 4.15 for inclusion in SLE / Leap 15.2
* Prepare for removal of /var/lib/alternatives [jsc#SLE-9101]
Version 2.20.2
* Use full names for zypper options [bsc#1164543]
* Ignore /var/lib/rpm in shandowed file output
* Optimize create-dirs-from-rpmdb
Version 2.20.1
* Add missing documentation about --continue option
* Avoid error message about missing fstab file on first snapshot creation.
[boo#1160213]
Version 2.20
* Add the option `--continue` to extend an existing snapshot; this can be
used to perform multiple operations before rebooting into the new state
* Make sure the dracut service to print warnings on /etc overlay conflicts
also runs in the pre-made images
* Add "none" reboot method
* Remove conflicting overlay artifacts in case an existing overlay directory
will be reused
Version 2.17
* Provide network in shell on systems where resolv.conf is pointing to /run
directly [boo#1151081]
* Print new snapshot number at the end
* Always mount /root subvolume when using shell command to preserve history
Version 2.16
* Use default command if options, but no command was given [boo#1146116]
* Make sure only one process appears in `ps` output [boo#1111897]
* Move update check: If a new repository is added (and
ZYPPER_AUTO_IMPORT_KEYS is set) adding the new repository key won't fail any
more
* Avoid unnecessary snapshots / reboots by detecting zypper operations
without changes more reliably (e.g. when installing an already installed
package)
* Update the manpage accordingly
* Get rid of Perl dependency
* Building documentation requires Python 3 now
* Bugfixes:
* Ignore commented lines in fstab when checking for shadowed files
* Avoid warning when copying network config
Version 2.15
* Move description of interactiveness [boo#1132438]
* Enable network during update [boo#1137890]
* Add compatibilty with new overlayfs versions [boo#1140057]
* Allow updates of the bootloader on EFI systems [boo#1139015]
* Add support for /boot/writable [boo#1126900]
Version 2.14.2
* Prevent unnecessary error message on systems not installed with YaST (e.g.
KIWI)
Version 2.14.1
* Improve non-root fs changes checker based on feedback
* Disable snapper's zypper plugin during transactional-update run
Version 2.14
* Warn user if contents of /var have been changed
* Small cleanups
* Noteworthy: swapped position of upperdir and lowerdir in fstab for better
readability
* Major update to the transactional-update guide
Version 2.13.2
* Add hooks for telemetrics
Version 2.13.1
* Bugfix: Clean up empty /etc snapshot directories again
Version 2.13
* Fix a serious data loss problem (deleting all files in /etc
overlays) in case /var/lib/overlay/etc is not part of any snapshot
any more.
* Avoid error message in case a system has no /etc/fstab.sys
Version 2.12
* Implements support for needs-restart (Fate#326451)
* Adds easy rollback to last known working snapshot by using "last"
as the snapshot number
* Migrate /etc/fstab.sys entires to /etc/fstab for systemd being
able to create mount units; this will prevent errors on unmount
during shutdown for /var and /etc
* Remove implicit --no-allow-vendor-change - this option can be
configured in zypper's configuration file now
* Add support for mounting the /etc overlay file system as a systemd
unit in /etc/fstab on a read-only system (replacing /etc/fstab.sys
in the long run)
* Various bugfixes:
* Only remove /etc overlays on read-only root file systems
[boo#1122455]
* Disable "Persistent" flag in systemd timer unit to prevent
updates during or immediately after the boot phase
* Don't set global zypper options during migration - this is not
supported by the migration plugin
* Fix error handling when interrupting while rsync is running
* Filter out security.selinux attributes during rsync
Version 2.11
* Update man page to explain new /etc overlay handling
* Add special handling for migrating away from old overlay directory
* Read default update method for systemd service from config file
(boo#1111321)
Version 2.10
* Introduce /etc overlays
* Each root file system snapshot now has a dedicated /etc overlay in
/var/lib/snapshots/<snapshot number>/etc
* Changes in older snapshots will be visible in newer snapshots (if
the file hasn't been changed in both snapshots), but not the other
way around; this makes it possible to roll back to a previous
snapshot even if the configuration is broken
* The /etc state of the oldest active snapshot will be synchronized
into the new snapshot to prevent ever growing overlays
* Removed creation of /etc backup snapshots
* Removed complex overlayfs cleanup handling during dracut early boot;
only thing left is to output a warning if files have been changed
in old and new overlay after snapshot creation
* Unused overlays will be removed during "cleanup" operation
* Add compatibility with snapper >= 0.7.0
* Correctly detect BTRFS ID when using multiple snapper configurations
* Fix disappearing prompt in "shell" command when application was updated
* Prevent accidental rollback on fast reboots (boo#1111786)
* Use zypper attribute packages-to-change if available (boo#1105992 &
boo#1097619)
* Add kexec as reboot alternative
* Added explicit --with-doc / --without-doc build configure opttions for
enforcing or excluding documentation build
* Removed precompiled documentation (boo#1088676)
* Added more dependency checks to configure script
* Small improvements to documentation
* Restored compatibility with older rsync versions not supporting the -x
filter
* Small bugfixes for cleanup in error situations
* Fix possible incorrect detection of snapshots numbers during cleanup
* Mention parent in snapshot description
Version 2.6
* Add --interactive and --non-interactive options to change the default
interactivity for zypper calls. For previously non-interactive calls (e.g.
dup) these options makes it possible to pick the correct solution in case
of conflicts or make sure that a script will never be stuck at an input
prompt.
* Add kured reboot support
* Tries to clean up temporary files and mount points if transactional-update
quits unexpectedly
* Remove trancactional-update-helper (replaced by zypper options)
* Create /var/lib/zypp if not available (boo#1104452)
* Add compatibility with new zypper versions (boo#1105992)
* Various small fixes
Version 2.5
* Support for overlayfs attributes like trusted.overlay.opaque - this will
avoid disappearing configuration files on system updates
* Documentation update
* Only sync /etc if it's on an overlayfs mount
* Use correct locale for zypper - thus updating locale specific packages and
avoiding "empty" updates where transactional-update didn't see the change
Version 2.4
* Bug fix release
Version 2.3
* Reformat help text / synopsis
* More detailled output (use --quiet for less output)
* Log all error messages into log file
* Avoid potential lock file race condition on self update
* Accept package names with whitespace
* Don't wait for user input during self-update
* Fix broken error message output when creating new snapshot without reboot
* Fix erroneous mounting of stale grub mounts
Version 2.2
* Fix security issue in self update
* Create dirs in /var more reliably by sorting the list
Version 2.1
* Cleanup /etc cleanup
Version 2.0
* Create missing directories from rpm database during boot
* Merge /etc overlay with root subvolume during update
* Implement register option
Version 1.29
* Implement self-update
* Disable optical media on dup
* Ignore certain zypper return codes
Version 1.28
* Adjust for latest grub2 changes
Version 1.27
* Fallback to snapper without dbus support if dbus fails
* Add workaround for update-alternatives
* Add support for /usr/etc/transactional-update.conf
Version 1.26
* Auto accept repo keys config option
* Detect broken snapshots after abort
* Ignore user deleted snapshots
* Include all error messages in main log file
* Add configuration file
* Correctly implement migration of major OS versions
* Default reboot strategy is configuration option
* Salt option is deprecated
Version 1.25
* Add support for seperate /var partition
* Preliminary SELinux support
Version 1.24
* Fix saving of unused snapshots too early
* Copy passwd, group and shadow to /usr/etc if modified
Version 1.23
* Fix re-registration in rollback case
* Fix problems with updating the grub2 bootloader
* Add support for migration of products with SCC
* Re-add support to re-write bootloader
Version 1.22
* Rewrite cleanup code
Version 1.21
* Reset salt grains if no updates are available
Version 1.20
* Document more options
* Add pkg update option
* Fix output in error case
Version 1.19
* Add undocumented 'shell' option for debugging and testing
Version 1.18
* Auto accept product license in non-interactive mode
Version 1.17
* Copy some modified config files for bootloader into the snapshot
Version 1.16
* Set environment variable that transactional update is running
* Some updates to the systemd units
Version 1.15
* Add support to ceate salt grains with current status
* Rename ptf to pkg
Version 1.14
* Fix check of return values of commands in pipes
Version 1.13
* Remove not-working bootloader option
Version 1.12
* Minor bug fixes
Version 1.11
* Use dup by default if called from systemd
* Use --no-allow-vendor-change with "dup"
* Update manual page
Version 1.10
* Implement rollback
Version 1.9
* Fix umounting of /sys
* Update documentation
Version 1.8
* Fix references in html pages
* Build kdump initrd when building standard initrd, too
Version 1.7
* Disable interactive install mode for PTFs
* Build html version of man pages, too
Version 1.6
* Add support for kdump
Version 1.5
* Install PTFs in interactive mode
* Make sure state file is in sync between snapshots
Version 1.4
* More debug output in case umount fails
* Give umount a second try if it fails
Version 1.3
* Implement "initrd" option to regenerate initrd
Version 1.2
* Add support for read-only subvolume with overlayfs
Version 1.1
* Bug fixes
* Implement lock file
Version 1.0
* Implement and document PTF option
Version 0.99
* Write real manual page
Version 0.90
* Finish normal options
* Implement PTF option
Version 0.1
* Initial release