You are not logged in.

#1 2017-12-15 20:30:12

maxmoon
Member
Registered: 2014-11-30
Posts: 16

Is there some kind of efficient sandbox solution for Arch Linux?

After updating my Arch system it happens that something is not working. And the solution always costs a lot of time. Sometimes I am even afraid of typing in "yaourt -Syu", because I know something gets broken, even if I don't know it exactly after the update. But in many cases it is something with the webserver, because the websites don't work anymore.

To avoid those blocking issues, I would like to have some kind of button, which roll back everything to the point I pressed "Please start from here if I press the button"... some kind of snapshot of a virtual machine.

Does a simple solution exist? Because it would save a lot of time if I could press a button before updating the system and press another button to discard all changes done since the last button was pressed.

An important part would be that it could survive a reboot. Does something similar exist?

Thanks a lot for your help and tips.

Offline

#2 2017-12-15 20:37:48

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Is there some kind of efficient sandbox solution for Arch Linux?

maxmoon wrote:

Sometimes I am even afraid of typing in "yaourt -Syu"


Yaourt is not your package manager.


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-12-15 21:11:58

maxmoon
Member
Registered: 2014-11-30
Posts: 16

Re: Is there some kind of efficient sandbox solution for Arch Linux?

jasonwryan wrote:
maxmoon wrote:

Sometimes I am even afraid of typing in "yaourt -Syu"


Yaourt is not your package manager.


Moving to NC...

You don't say! But yaourt -Syu is magically doing the same thing like pacman -Syu... hmm Starting an offtopic discussion isn't nice of you!

Back to topic... big_smile

I use Arch Linux for years but I couldn't figure out a solution for those time wasting broken updates, so is it really a question for the newbie corner to get answers for it?

Offline

#4 2017-12-15 21:16:58

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Is there some kind of efficient sandbox solution for Arch Linux?

If you think that yaourt is your package manager, I am not surprised that you find that your updates are problematic. My point was not offtopic, it was that the issue is fundamentally operator error, not Arch. That's why it was moved to Newbie Corner.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2017-12-15 21:46:17

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,920

Re: Is there some kind of efficient sandbox solution for Arch Linux?

But in many cases it is something with the webserver, because the websites don't work anymore.

If you are using AL on a server, you should have a test system where updates are being tested before they get installed on the server.

a few options to save system states :

- create disk images before an after changes
- btrfs snapshots could also be used
- use Virtual Machines for the servers. many hypervisors have excellent rollback/snapshotting features


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2017-12-15 22:26:36

seth
Member
Registered: 2012-09-03
Posts: 58,577

Re: Is there some kind of efficient sandbox solution for Arch Linux?

https://wiki.archlinux.org/index.php/Btrfs#Snapshots
https://wiki.archlinux.org/index.php/Ar … cific_date
https://wiki.archlinux.org/index.php/Do … Automation

Sometimes I am even afraid of typing in "yaourt -Syu"

You're probably running some arch derivate, but if you're "afraid" to update, you're using the wrong distro for sure.

Offline

#7 2017-12-15 22:51:07

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,281

Re: Is there some kind of efficient sandbox solution for Arch Linux?

As for the "sandbox" - what you mean is a recovery solution. Yes there is. https://wiki.archlinux.org/index.php/System_backup

Last edited by Roken (2017-12-15 22:51:30)


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

#8 2017-12-16 00:38:31

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Is there some kind of efficient sandbox solution for Arch Linux?

seth wrote:

You're probably running some arch derivate, but if you're "afraid" to update, you're using the wrong distro for sure.

Exactly this. If Arch breaks in critical ways for you on a regular basis, and you are afraid to update, you might be happier with Debian stable.

If you decide to stay with Arch, rather than looking for some pushbutton rollback solution, try to understand how and why things break, and fix them. Breakage will become less common as you learn more. With a pushbutton rollback you will never learn anything.

Last edited by 2ManyDogs (2017-12-16 00:40:44)

Offline

#9 2017-12-16 08:49:38

positronik
Member
Registered: 2016-02-08
Posts: 95

Re: Is there some kind of efficient sandbox solution for Arch Linux?

And as a last resort I guess one can always use the Arch Linux Archive to go back to a working configuration.

Offline

#10 2017-12-18 05:35:28

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,358

Re: Is there some kind of efficient sandbox solution for Arch Linux?

A filesystem level snapshot will get you most of the way there. However judging from the nature of your question I'd say that may cause you more problems than it would solve.

As others have said, Arch users need to be fairly familiar with their system to the point that 'not knowing what has gone wrong' isn't common at all. Debian is better for other users.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB