[Bug 1991829] [NEW] machinectl read-only does not work
Dan Streetman
1991829 at bugs.launchpad.net
Wed Oct 5 17:45:05 UTC 2022
Public bug reported:
[impact]
machinectl read-only does not work
[test case]
On a system where the systemd machines dir is *not* on a btrfs volume
(e.g. it's on a normal ext4 fs), create an image 'test' and then:
$ sudo machinectl image-status test
test
Type: directory
Path: /var/lib/machines/test
Hostname: ubuntu
OS: Ubuntu 20.04.5 LTS
RO: writable
Created: Wed 2022-10-05 13:41:15 EDT; 34s ago
$ sudo machinectl read-only test
Could not mark image read-only: Access denied
[regression potential]
failure marking images ro or rw
[scope]
this is needed in all releases that include machinectl
this is fixed upstream by 137d162c42ed858613afc3d7493d08d4ae6d5c1b
** Affects: systemd (Ubuntu)
Importance: Low
Status: New
** Affects: systemd (Ubuntu Focal)
Importance: Low
Status: New
** Affects: systemd (Ubuntu Jammy)
Importance: Low
Status: New
** Affects: systemd (Ubuntu Kinetic)
Importance: Low
Status: New
** Also affects: systemd (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: systemd (Ubuntu Jammy)
Importance: Undecided
Status: New
** Also affects: systemd (Ubuntu Kinetic)
Importance: Undecided
Status: New
** Changed in: systemd (Ubuntu Kinetic)
Importance: Undecided => Low
** Changed in: systemd (Ubuntu Jammy)
Importance: Undecided => Low
** Changed in: systemd (Ubuntu Focal)
Importance: Undecided => Low
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1991829
Title:
machinectl read-only does not work
Status in systemd package in Ubuntu:
New
Status in systemd source package in Focal:
New
Status in systemd source package in Jammy:
New
Status in systemd source package in Kinetic:
New
Bug description:
[impact]
machinectl read-only does not work
[test case]
On a system where the systemd machines dir is *not* on a btrfs volume
(e.g. it's on a normal ext4 fs), create an image 'test' and then:
$ sudo machinectl image-status test
test
Type: directory
Path: /var/lib/machines/test
Hostname: ubuntu
OS: Ubuntu 20.04.5 LTS
RO: writable
Created: Wed 2022-10-05 13:41:15 EDT; 34s ago
$ sudo machinectl read-only test
Could not mark image read-only: Access denied
[regression potential]
failure marking images ro or rw
[scope]
this is needed in all releases that include machinectl
this is fixed upstream by 137d162c42ed858613afc3d7493d08d4ae6d5c1b
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1991829/+subscriptions
More information about the foundations-bugs
mailing list