Your message dated Fri, 13 Feb 2026 16:15:46 +0000
with message-id <[email protected]>
and subject line Re: Bug#1127673: dgit-repos-server: fatal: detected dubious 
ownership in repository at '$repos/_empty' [and 1 more messages]
has caused the Debian Bug report #1127673,
regarding golang-github-microsoft-didx509go and 
golang-github-microsoft-go-winio in bad state on dgit-repos
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.)


-- 
1127673: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1127673
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dgit-infrastructure
X-debbugs-cc: Simon Josefsson <[email protected]>

Debian tag2upload service [11/Feb 12:01pm GMT] wrote:
> dpkg-genchanges: info: not including original source code in upload
> last upload to archive: specified git info (debian)
> .dsc names distro debian: fetching additional commits
> fatal: detected dubious ownership in repository at '$repos/_empty'
> To add an exception for this directory, call:
>
>       git config --global --add safe.directory '$repos/_empty'
> fatal: Could not read from remote repository.
>
> Please make sure you have the correct access rights
> and the repository exists.
> dgit (build host): failed command: git ls-remote -q --refs
> 'git+ssh://[email protected]/dgit/debian/repos/golang-github-microsoft-didx509go.git'
> refs/tags/archive/debian/0.0.3-1

tag2upload job #2730.

This is a bug in dgit-repos-server on gideon, I think.

I'm really surprised we haven't seen it sooner than now.

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Reinhard Tartler writes ("Bug#1127673: dgit-repos-server: fatal: detected 
dubious ownership in repository at '$repos/_empty'"):
> On 2026-02-11 09:46, Ian Jackson wrote:
> > Q. to Reinhard: do you still have copies of the mails from the archive
> > systems, particularly the ones saying "Processing of ... .changes"
> > "golang-github-microsoft-didx509go is NEW" ?  If so can you please
> > forward them to here to this bug.
> 
> Curiously, I'm not able to find the "Proccessing of ... " email, but I 
> did find these two emails:

Thanks.  This seems to align with my theories.

Ian Jackson writes ("Bug#1127673: dgit-repos-server: fatal: detected dubious 
ownership in repository at '$repos/_empty'"):
> Subject to confirmation from Reinhard I propose to manually fix this
> up on the server, by restoring the two repositories (from "_garbage")
> and by removing the taint indications from the database.

I have now done this.

I think these packages are now restored to sanity.  I can dgit clone
them and get the previously-uploaded history.  I think you should be
able to upload them with dgit push and/or with tag2upload now.

Please reopen this bug, or file a new one, if you have any more
trouble.



For our reference, here is what I did.

I ran these commands on gideon (push.dgit.debian.org):

  for p in golang-github-microsoft-didx509go golang-github-microsoft-go-winio; 
do chmod a+rx ${p}_garbage; done
  for p in golang-github-microsoft-didx509go golang-github-microsoft-go-winio; 
do mv ${p}_garbage ${p}.git; done
  for p in golang-github-microsoft-didx509go golang-github-microsoft-go-winio; 
do touch _mirror-queue/$p.n; done
  for p in golang-github-microsoft-didx509go golang-github-microsoft-go-winio; 
do echo rm -r ${p}_saved-diziet; done
  for p in golang-github-microsoft-didx509go golang-github-microsoft-go-winio; 
do echo rm -r ${p}_saved-diziet; done | sh -x

And I manipulated the db as follows:

dgit@gideon:/srv/dgit.debian.org/repos$ sqlite3 policy.sqlite3 
SQLite version 3.40.1 2022-12-28 14:03:47
Enter ".help" for usage hints.
sqlite> begin;
sqlite> PRAGMA foreign_keys = ON;
sqlite> .schema
CREATE TABLE taints (
            taint_id   INTEGER NOT NULL PRIMARY KEY ASC AUTOINCREMENT,
            package    TEXT    NOT NULL,
            gitobjid   TEXT    NOT NULL,
            comment    TEXT    NOT NULL,
            time       INTEGER,
            gitobjtype TEXT,
            gitobjdata TEXT
            );
CREATE TABLE sqlite_sequence(name,seq);
CREATE INDEX taints_by_gitobjid
            ON taints (gitobjid, package)
;
CREATE TABLE taintoverrides (
            taint_id  INTEGER NOT NULL
                      REFERENCES taints (taint_id)
                          ON UPDATE RESTRICT
                          ON DELETE CASCADE
                      DEFERRABLE INITIALLY DEFERRED,
            deliberately TEXT NOT NULL,
            PRIMARY KEY (taint_id, deliberately)
        );
sqlite> select * from taints where package = 
'golang-github-microsoft-didx509go' or package= 
'golang-github-microsoft-go-winio';
170|golang-github-microsoft-go-winio|559b2be52038794785f1c0d010aad9bb01a4aef8|tag
 archive/debian/0.6.2-1 referred to this object in git tree but all previously 
pushed versions were found to have been removed from NEW (ie, rejected) (or 
never arrived)|1754753887|commit|t
171|golang-github-microsoft-go-winio|3ef93743643607d670669949111a6bd711e63488|tag
 debian/0.6.2-1 referred to this object in git tree but all previously pushed 
versions were found to have been removed from NEW (ie, rejected) (or never 
arrived)|1754753887|commit|t
172|golang-github-microsoft-didx509go|8a259de4d07ac3fc487b1e0c5ce7585e1f074097|tag
 archive/debian/0.0.3-1 referred to this object in git tree but all previously 
pushed versions were found to have been removed from NEW (ie, rejected) (or 
never arrived)|1754757447|commit|t
173|golang-github-microsoft-didx509go|34ef290c409daa0cc2aa92b4b7379535692186de|tag
 debian/0.0.3-1 referred to this object in git tree but all previously pushed 
versions were found to have been removed from NEW (ie, rejected) (or never 
arrived)|1754757447|commit|t
sqlite> select * from taints join taintoverrides using (taint_id) where package 
= 'golang-github-microsoft-didx509go' or package= 
'golang-github-microsoft-go-winio';
170|golang-github-microsoft-go-winio|559b2be52038794785f1c0d010aad9bb01a4aef8|tag
 archive/debian/0.6.2-1 referred to this object in git tree but all previously 
pushed versions were found to have been removed from NEW (ie, rejected) (or 
never arrived)|1754753887|commit|t|--deliberately-include-questionable-history
171|golang-github-microsoft-go-winio|3ef93743643607d670669949111a6bd711e63488|tag
 debian/0.6.2-1 referred to this object in git tree but all previously pushed 
versions were found to have been removed from NEW (ie, rejected) (or never 
arrived)|1754753887|commit|t|--deliberately-include-questionable-history
172|golang-github-microsoft-didx509go|8a259de4d07ac3fc487b1e0c5ce7585e1f074097|tag
 archive/debian/0.0.3-1 referred to this object in git tree but all previously 
pushed versions were found to have been removed from NEW (ie, rejected) (or 
never arrived)|1754757447|commit|t|--deliberately-include-questionable-history
173|golang-github-microsoft-didx509go|34ef290c409daa0cc2aa92b4b7379535692186de|tag
 debian/0.0.3-1 referred to this object in git tree but all previously pushed 
versions were found to have been removed from NEW (ie, rejected) (or never 
arrived)|1754757447|commit|t|--deliberately-include-questionable-history
sqlite> select * from taints cross join taintoverrides using (taint_id) where 
package = 'golang-github-microsoft-didx509go' or package= 
'golang-github-microsoft-go-winio';
170|golang-github-microsoft-go-winio|559b2be52038794785f1c0d010aad9bb01a4aef8|tag
 archive/debian/0.6.2-1 referred to this object in git tree but all previously 
pushed versions were found to have been removed from NEW (ie, rejected) (or 
never arrived)|1754753887|commit|t|--deliberately-include-questionable-history
171|golang-github-microsoft-go-winio|3ef93743643607d670669949111a6bd711e63488|tag
 debian/0.6.2-1 referred to this object in git tree but all previously pushed 
versions were found to have been removed from NEW (ie, rejected) (or never 
arrived)|1754753887|commit|t|--deliberately-include-questionable-history
172|golang-github-microsoft-didx509go|8a259de4d07ac3fc487b1e0c5ce7585e1f074097|tag
 archive/debian/0.0.3-1 referred to this object in git tree but all previously 
pushed versions were found to have been removed from NEW (ie, rejected) (or 
never arrived)|1754757447|commit|t|--deliberately-include-questionable-history
173|golang-github-microsoft-didx509go|34ef290c409daa0cc2aa92b4b7379535692186de|tag
 debian/0.0.3-1 referred to this object in git tree but all previously pushed 
versions were found to have been removed from NEW (ie, rejected) (or never 
arrived)|1754757447|commit|t|--deliberately-include-questionable-history
sqlite> delete from taints where package = 'golang-github-microsoft-didx509go' 
or package= 'golang-github-microsoft-go-winio';
sqlite> select count(*) from taints;
87
sqlite> select * from taints cross join taintoverrides using (taint_id) where 
package = 'golang-github-microsoft-didx509go' or package= 
'golang-github-microsoft-go-winio';
sqlite> commit;
sqlite> 

And I waited for /srv/dgit.debian.org/repos/_mirror-queue/ to be empty
again - ie, for the two repos to have been publicly mirrored.
(There's an hourly cronjob at xx:06 which deals with any mirror backlog.)


Ian.

-- 
Ian Jackson <[email protected]>   These opinions are my own.  

Pronouns: they/he.  If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.

--- End Message ---

Reply via email to