Your message dated Thu, 22 Oct 2020 19:47:02 +0000
with message-id <[email protected]>
and subject line Bug#907751: Removed package(s) from unstable
has caused the Debian Bug report #834215,
regarding Original raw image no longer chowned when using --owner and
--convert-cqow2
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
834215: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834215
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vmdebootstrap
Version: 1.6-1
Severity: minor
Tags: patch
The fix for #831030:
> When using both --owner and --convert-qcow2 together, the resulting .img
> file must also be chowned to be useful. Otherwise, the owner will only
> be able to access the .raw file.
appears to be incomplete. While the .img file is being chowned now, the
.raw file no longer is.
Hence why I duplicated the support in #831030, but that was indeed not
clean. I have attached an alternative solution.
Or, perhaps the .raw file should just be removed? Is there any reason to
keep it around? I don't see much of a use case to keep both, especially
when qcow2 is explicitly being requested.
Regards,
Christian
From 960e830f066d9116bd6b8e28424a604644fc8738 Mon Sep 17 00:00:00 2001
From: Christian Kastner <[email protected]>
Date: Sat, 13 Aug 2016 09:33:41 +0200
Subject: [PATCH] Also chown raw image
When both the --owner and --convert-qcow2 option are used, in addition to the
.img file, also chown the original .raw file.
---
vmdebootstrap/filesystem.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/vmdebootstrap/filesystem.py b/vmdebootstrap/filesystem.py
index b911c05..a744098 100644
--- a/vmdebootstrap/filesystem.py
+++ b/vmdebootstrap/filesystem.py
@@ -69,6 +69,10 @@ class Filesystem(Base):
return
self.message("Changing owner to %s" % self.settings["owner"])
runcmd(["chown", "-R", self.settings["owner"], filename])
+ # This combination produces a second file to chown
+ if self.settings['image'] and self.settings['convert-qcow2']:
+ rawfile = self.settings['image'] + '.raw'
+ runcmd(["chown", "-R", self.settings["owner"], rawfile])
def update_initramfs(self):
rootdir = self.devices['rootdir']
--
2.8.1
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Version: 1.11-2+rm
Dear submitter,
as the package vmdebootstrap has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/907751
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Joerg Jaspert (the ftpmaster behind the curtain)
--- End Message ---