[opensuse] Brand new VM with tumbleweed read only???

All, I haven't use btrfs much yet. Yesterday, I created a new Tumbleweed VM inside Virtualbox (hosted on a Win 10 PC) and accepted the default btrfs. I've barely done anything with it yet, but admittedly I have rebooted several times. I think I did a clean poweroff each time. When I run "zypper in mariadb" I get: == Error: Subprocess failed. Error: RPM failed: error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Read-only file system) == But mount doesn't show /var as readonly: == # mount | grep var /dev/sda2 on /var type btrfs (rw, ..., subvol=/@/var) overlay on /etc type overlay (rw, relatime, lowerdir=/sysroot/etc,upperdir=/sysroot/var/lib/overlay/etc,workdir=/sysroot/var/lib/overlay/work-etc) == [I typed the above, so beware of typos.] Is there a easy fix, or should I just blow this VM away recreate with btrfs in the loop? Thanks Greg -- Greg Freemyer Advances are made by answering questions. Discoveries are made by questioning answers. — Bernard Haisch -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

I have a guess. I set it up as a "transaction server" since I was just going to doing some SQL testing. I realize now that I totally misunderstood what a transaction server is. Still, I would expect to be able to install packages? Greg -- Greg Freemyer Advances are made by answering questions. Discoveries are made by questioning answers. — Bernard Haisch On Wed, Apr 25, 2018 at 12:35 PM, Greg Freemyer <greg.freemyer@gmail.com> wrote:
All,
I haven't use btrfs much yet.
Yesterday, I created a new Tumbleweed VM inside Virtualbox (hosted on a Win 10 PC) and accepted the default btrfs.
I've barely done anything with it yet, but admittedly I have rebooted several times. I think I did a clean poweroff each time.
When I run "zypper in mariadb" I get:
== Error: Subprocess failed. Error: RPM failed: error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Read-only file system) ==
But mount doesn't show /var as readonly:
== # mount | grep var /dev/sda2 on /var type btrfs (rw, ..., subvol=/@/var) overlay on /etc type overlay (rw, relatime, lowerdir=/sysroot/etc,upperdir=/sysroot/var/lib/overlay/etc,workdir=/sysroot/var/lib/overlay/work-etc) ==
[I typed the above, so beware of typos.]
Is there a easy fix, or should I just blow this VM away recreate with btrfs in the loop?
Thanks Greg -- Greg Freemyer Advances are made by answering questions. Discoveries are made by questioning answers. — Bernard Haisch
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On Wed, Apr 25, 2018 at 11:33 AM, Greg Freemyer <greg.freemyer@gmail.com> wrote:
I have a guess. I set it up as a "transaction server" since I was just going to doing some SQL testing.
I realize now that I totally misunderstood what a transaction server is.
Still, I would expect to be able to install packages?
Greg
See this blog post for more information: https://kubic.opensuse.org/blog/2018-04-20-transactionalupdates2/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

Greg Freemyer wrote:
I have a guess. I set it up as a "transaction server" since I was just going to doing some SQL testing.
I realize now that I totally misunderstood what a transaction server is.
A pretty poorly chosen description imho. It's apparently something to do with https://kubic.opensuse.org/ Last I worked with a "transaction server", it was called TPF and ran on IBW hardware. :-) -- Per Jessen, Zürich (19.6°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On 2018-04-25 19:59, Per Jessen wrote:
Greg Freemyer wrote:
I have a guess. I set it up as a "transaction server" since I was just going to doing some SQL testing.
I realize now that I totally misunderstood what a transaction server is.
A pretty poorly chosen description imho. It's apparently something to do with https://kubic.opensuse.org/
I still don't get what it is. Shouldn't YaST have a description? -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)

Just for the record. On my tw that dir is not located on /var. It's linked to /usr ls -ld /var/lib/rpm lrwxrwxrwx 1 root root 26 7 mar 10.46 /var/lib/rpm -> ../../usr/lib/sysimage/rpm Cheers, /bengan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

25.04.2018 19:35, Greg Freemyer пишет:
All,
I haven't use btrfs much yet.
Yesterday, I created a new Tumbleweed VM inside Virtualbox (hosted on a Win 10 PC) and accepted the default btrfs.
I've barely done anything with it yet, but admittedly I have rebooted several times. I think I did a clean poweroff each time.
When I run "zypper in mariadb" I get:
== Error: Subprocess failed. Error: RPM failed: error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Read-only file system) ==
But mount doesn't show /var as readonly:
== # mount | grep var /dev/sda2 on /var type btrfs (rw, ..., subvol=/@/var) overlay on /etc type overlay (rw, relatime, lowerdir=/sysroot/etc,upperdir=/sysroot/var/lib/overlay/etc,workdir=/sysroot/var/lib/overlay/work-etc)
That's not normal TUmbleweed (or openSUSE in general) installation which has no overlays. You should explain what you actually did. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (6)
-
Andrei Borzenkov
-
Bengt Gördén
-
Carlos E. R.
-
Greg Freemyer
-
Mike Henry
-
Per Jessen