Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#41900 - [mkinitcpio] Basic support for systemd factory reset/atomic upgrades
Attached to Project:
Arch Linux
Opened by Pablo Lezaeta (Jristz) - Tuesday, 09 September 2014, 23:26 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 16 September 2014, 11:56 GMT
Opened by Pablo Lezaeta (Jristz) - Tuesday, 09 September 2014, 23:26 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 16 September 2014, 11:56 GMT
|
DetailsDescription:
Systemd offers a factory reset feature for a while now. See http://0pointer.net/blog/projects/stateless.html for a discussion of the feature. It would be nice if that was simple to use on arch Linux. To support this feature the following changes would be needed on pacman (AFAICT:-): * Move the default mkinitcpio.conf into /usr/share/factory/etc. * Provide a tempfiles.d to copy those files to /etc if not already there and create the directories pacman needs to function. With that a user should be able to make use of systemd's factory reset. These changes will also help a lot with the atomic update proposal Lennart made recently ( http://0pointer.net/blog/revisiting-how-we-put-together-linux-systems.html ). Also related featur for pacman #41863 and abs #41899 |
This task depends upon
Closed by Dave Reisner (falconindy)
Tuesday, 16 September 2014, 11:56 GMT
Reason for closing: Won't implement
Tuesday, 16 September 2014, 11:56 GMT
Reason for closing: Won't implement
Systemd is starting to encourage people to store their kernel and initrd in /usr somewhere. This is important for the "revisiting-how-we-put-together-linux-systems", as each snapshot of a system of course needs to come with the correct kernel/initcpio. There should then be a script that installs those kernels to /boot somewhere (not clear of part of systemd or a distribution, but there already is a install-kernel script (man page here: http://www.freedesktop.org/software/systemd/man/kernel-install.html ) to copy kernels/initcpio to /boot and delete them from there again.