Mail archive
alpine-devel

Re: [alpine-devel] apk-tools ideas

From: Timo Teras <timo.teras_at_iki.fi>
Date: Sat, 31 Oct 2015 08:13:41 +0200

On Thu, 29 Oct 2015 13:35:20 -0700
systmkor <systmkor_at_gmail.com> wrote:

> A feature that would be nice is that apk would check to make sure all
> the paths it’s going to upgrade/update are not read-only. This would
> be nice for systems where you want the /boot and /usr partitions
> usually read-only

The cannot be done pre-emptively. Apk does not know *all* directories
it's going to write until a package is being extracted.

Though, we do get EROFS, and can do things there. What would be the
preferrer option? To remount rw? Abort and rollback and let admin do
that?




---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Sat Oct 31 2015 - 08:13:41 GMT