[Bug 2122345] Re: Systemd circular dependency

2025-11-13 Thread Launchpad Bug Tracker
This bug was fixed in the package azure-proxy-agent -
1.0.30-0ubuntu6~22.04.1

---
azure-proxy-agent (1.0.30-0ubuntu6~22.04.1) jammy; urgency=medium

  [ Daniel Draper ]
  * d/p/fix-systemd-deps-cycle.patch: ensure the service is terminated on
system shutdown (LP: #2125930)

azure-proxy-agent (1.0.30-0ubuntu4~22.04.3) jammy; urgency=medium

  * d/p/fix-systemd-deps-cycle.patch: fix dependency cycle in the unit file.
Use DefaultDependencies=no to remove the dependency on basic.target.
(LP: #2122345)

azure-proxy-agent (1.0.30-0ubuntu4~22.04.2) jammy; urgency=medium

  * d/rules: use cargo-1.80 to build the agent.
 - The version of the aya crate that is used by the agent requires
   cargo-1.80 or higher.
  * d/control: add missing vendored dependencies and depend on cargo-1.80.
 - dh-cargo-vendored-sources is not able to detect when the rust-vendor
   directory has been generated with cargo-vendor-filterer thus
   producing a XS-Vendored-Sources-Rust string that does not accurately
   reflect the rust dependencies. Specifically, XS-Vendored-Sources-Rust
   includes dependencies that have been selectively removed by
   cargo-vendor-filterer. See LP#2111699.

azure-proxy-agent (1.0.30-0ubuntu4~22.04.1) jammy; urgency=medium

  * Backport to jammy (LP: #2115197)

 -- Miriam España Acebal   Tue, 30 Sep 2025
16:55:01 +0200

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2122345

Title:
  Systemd circular dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/azure-proxy-agent/+bug/2122345/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2122345] Re: Systemd circular dependency

2025-11-13 Thread Launchpad Bug Tracker
This bug was fixed in the package azure-proxy-agent -
1.0.30-0ubuntu6~24.04.1

---
azure-proxy-agent (1.0.30-0ubuntu6~24.04.1) noble; urgency=medium

  [ Daniel Draper ]
  * d/p/fix-systemd-deps-cycle.patch: ensure the service is terminated on
system shutdown (LP: #2125930)

azure-proxy-agent (1.0.30-0ubuntu4~24.04.3) noble; urgency=medium

  * d/p/fix-systemd-deps-cycle.patch: fix dependency cycle in the unit file.
Use DefaultDependencies=no to remove the dependency on basic.target.
(LP: #2122345)

azure-proxy-agent (1.0.30-0ubuntu4~24.04.2) noble; urgency=medium

  * d/rules: use cargo-1.80 to build the agent.
 - The version of the aya crate that is used by the agent requires
   cargo-1.80 or higher.
  * d/control: add missing vendored dependencies and depend on cargo-1.80.
 - dh-cargo-vendored-sources is not able to detect when the rust-vendor
   directory has been generated with cargo-vendor-filterer thus
   producing a XS-Vendored-Sources-Rust string that does not accurately
   reflect the rust dependencies. Specifically, XS-Vendored-Sources-Rust
   includes dependencies that have been selectively removed by
   cargo-vendor-filterer. See LP#2111699.

azure-proxy-agent (1.0.30-0ubuntu4~24.04.1) noble; urgency=medium

  * Backport to noble (LP: #2115197)

 -- Miriam España Acebal   Tue, 30 Sep 2025
15:27:52 +0200

** Changed in: azure-proxy-agent (Ubuntu Noble)
   Status: Fix Committed => Fix Released

** Changed in: azure-proxy-agent (Ubuntu Jammy)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2122345

Title:
  Systemd circular dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/azure-proxy-agent/+bug/2122345/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2122345] Re: Systemd circular dependency

2025-11-13 Thread Launchpad Bug Tracker
This bug was fixed in the package azure-proxy-agent -
1.0.30-0ubuntu6~25.04.1

---
azure-proxy-agent (1.0.30-0ubuntu6~25.04.1) plucky; urgency=medium

  [ Daniel Draper ]
  * d/p/fix-systemd-deps-cycle.patch: ensure the service is terminated on
system shutdown (LP: #2125930)

azure-proxy-agent (1.0.30-0ubuntu4~25.04.2) plucky; urgency=medium

  * d/p/fix-systemd-deps-cycle.patch: fix dependency cycle in the unit file.
Use DefaultDependencies=no to remove the dependency on basic.target
(LP: #2122345)

azure-proxy-agent (1.0.30-0ubuntu4~25.04.1) plucky; urgency=medium

  * Backport to plucky (LP: #2115197), with the following changes:
- d/proxy-agent.json, d/t/smoke: re-enable logging to file. The
  modification of the logging behaviour was not preceded by adequate prior
  communication to potential users of the agent regarding the intended
  change and its consequences.

azure-proxy-agent (1.0.30-0ubuntu4) questing; urgency=medium

  * d/t/control: add the isolation-machine restriction to the smoke test, as
the agent needs a VM.

azure-proxy-agent (1.0.30-0ubuntu3) questing; urgency=medium

  * d/p/cargo-vendor-workspace-ignore.patch: add missing DEP-3 header
  * d/p/systemd-service-description.patch: add missing DEP-3 header

azure-proxy-agent (1.0.30-0ubuntu2) questing; urgency=medium

  * Fix failing autopkgtest.
Since we stopped logging to a file, the smoke test was failing. We can
simply read the logs from the journal instead to fix the issue.
(LP: #2112315)
  * Remove deprecated lintian-overrides.
The systemd service file was modified upstream and some of the
lintian-overrides are not needed anymore.
  * Include Cargo.lock in the binary package.
The MIR doc for rust packages states that the Cargo.lock should be
included in the package.

azure-proxy-agent (1.0.30-0ubuntu1) questing; urgency=medium

  * New upstream version 1.0.30.
  * d/rules: use the main Cargo.toml to create the vendor directory.
  * debian: create README.source and add script to update crates.
This is necessary in case a vulnerability is found in one of the
dependencies and the package needs to be rebuilt.
  * d/p/systemd-service-description.patch: refresh patch.
The patch was not applying correctly on top of the new upstream version.
  * d/copyright: remove superfuous patterns as some dependencies were removed.
  * Update XS-Vendored-Sources-Rust and verify it during build.
This also included adding a patch to exclude the rust-vendor directory
from the workspace.
  * d/control: change Section to admin.
The Section is not about the programing language used to write the
software but should reflect what the package is used for.
  * Generate new vendor directory
  * Disable logging to file. The new version of the agent supports disabling
logging to files by configuring the log directory to an empty string. This
way, only the logs are only going to the journal and don't fill the disk.

 -- Miriam España Acebal   Tue, 30 Sep 2025
12:18:00 +0200

** Changed in: azure-proxy-agent (Ubuntu Plucky)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2122345

Title:
  Systemd circular dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/azure-proxy-agent/+bug/2122345/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2122345] Re: Systemd circular dependency

2025-11-13 Thread Miriam España Acebal
Due to the refinement process that this package has undergone in the
verification steps for the various bugs opened on the way to becoming
SRU to Plucky, Noble and Jammy (this is one of them), verification of
this was included in the last bug opened
https://bugs.launchpad.net/ubuntu/+source/azure-proxy-
agent/+bug/2125930.

** Tags removed: verification-needed verification-needed-jammy 
verification-needed-noble verification-needed-plucky
** Tags added: verification-done verification-done-jammy 
verification-done-noble verification-done-plucky

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2122345

Title:
  Systemd circular dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/azure-proxy-agent/+bug/2122345/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2122345] Re: Systemd circular dependency

2025-10-18 Thread Julian Andres Klode
Removing the block-proposed-* tags as the fixed versions have been
accepted

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2122345

Title:
  Systemd circular dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/azure-proxy-agent/+bug/2122345/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2122345] Re: Systemd circular dependency

2025-10-18 Thread Miriam España Acebal
During the verification steps, we identified a bug [1] in the devel
(Questing) that affects these uploads. Therefore, I have marked them as
blocked while we implement the fix.

[1] https://bugs.launchpad.net/ubuntu/+source/azure-proxy-
agent/+bug/2125930

** Tags added: block-proposed block-proposed-jammy block-proposed-noble
block-proposed-plucky

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2122345

Title:
  Systemd circular dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/azure-proxy-agent/+bug/2122345/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2122345] Re: Systemd circular dependency

2025-09-20 Thread Andreas Hasenack
Hello Gauthier, or anyone else affected,

Accepted azure-proxy-agent into plucky-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/azure-
proxy-agent/1.0.30-0ubuntu4~25.04.2 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
plucky to verification-done-plucky. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-plucky. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: azure-proxy-agent (Ubuntu Plucky)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-plucky

** Changed in: azure-proxy-agent (Ubuntu Noble)
   Status: In Progress => Fix Committed

** Tags added: verification-needed-noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2122345

Title:
  Systemd circular dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/azure-proxy-agent/+bug/2122345/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2122345] Re: Systemd circular dependency

2025-09-12 Thread Gauthier Jolly
** Description changed:

+ [ Impact ]
+ 
+  * A systemd dependency cycle causes either cloud-init or the azure-
+ proxy-agent service to be disabled automatically to resolve the
+ conflict.
+ 
+  * On VM images, this behavior causes a catastrophic failure as cloud-
+ init is responsible for setting up networking, users, and sshd.
+ 
+ [ Test Plan ]
+ 
+  * As described in this SRU exception:
+ https://documentation.ubuntu.com/sru/en/latest/reference/exception-
+ Azure-Proxy-Agent-Updates. The agent will be installed on a live image
+ (before first boot) and CPC will run their test suites on Azure to
+ verify that the VM behaves as expected and that no regression is
+ introduced.
+ 
+  * The Microsoft team responsible for this agent will also use their own
+ tests to verify the new version.
+ 
+ [ Where problems could occur ]
+ 
+  * Setting DefaultDependencies=no removes basic dependencies that
+ systemd adds by default to a service. If the agent doesn't explicitly
+ specify all its actual dependencies, it might fail to start in certain
+ conditions.
+ 
+ [ Original Description ]
+ 
  The agent sets Before=network-pre.target but doesn't set 
DefaultDependencies=no which is dangerous as it means that the service has to 
run after basic.target but while the networking is not configured. It's not 
always a problem but if another service depends on basic.target (default) and 
expects networking to be available (for example by specifying 
After=systemd-networkd-wait-online.service), a dependency cycle will appear.
  On Ubuntu 22.04 and Ubuntu 24.04. This causing cloud-init to be disabled 
(thus provisioning to fail) if the azure-proxy-agent is pre-installed on a VM 
image:
  
  Sep 03 16:27:16 ubuntu systemd[1]: sysinit.target: Found ordering cycle on 
cloud-init.service/start
  Sep 03 16:27:16 ubuntu systemd[1]: sysinit.target: Found dependency on 
systemd-networkd-wait-online.service/start
  Sep 03 16:27:16 ubuntu systemd[1]: sysinit.target: Found dependency on 
systemd-networkd.service/start
  Sep 03 16:27:16 ubuntu systemd[1]: sysinit.target: Found dependency on 
network-pre.target/start
  Sep 03 16:27:16 ubuntu systemd[1]: sysinit.target: Found dependency on 
azure-proxy-agent.service/start
  Sep 03 16:27:16 ubuntu systemd[1]: sysinit.target: Found dependency on 
basic.target/start
  Sep 03 16:27:16 ubuntu systemd[1]: sysinit.target: Found dependency on 
sysinit.target/start
  Sep 03 16:27:16 ubuntu systemd[1]: sysinit.target: Job 
cloud-init.service/start deleted to break ordering cycle starting with 
sysinit.target/start

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2122345

Title:
  Systemd circular dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/azure-proxy-agent/+bug/2122345/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2122345] Re: Systemd circular dependency

2025-09-11 Thread Andreas Hasenack
Please update the bug description with the SRU template.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2122345

Title:
  Systemd circular dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/azure-proxy-agent/+bug/2122345/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2122345] Re: Systemd circular dependency

2025-09-11 Thread Gauthier Jolly
** Changed in: azure-proxy-agent (Ubuntu Jammy)
   Status: New => In Progress

** Changed in: azure-proxy-agent (Ubuntu Noble)
   Status: New => In Progress

** Changed in: azure-proxy-agent (Ubuntu Plucky)
   Status: New => In Progress

** Changed in: azure-proxy-agent (Ubuntu Jammy)
 Assignee: (unassigned) => Gauthier Jolly (gjolly)

** Changed in: azure-proxy-agent (Ubuntu Noble)
 Assignee: (unassigned) => Gauthier Jolly (gjolly)

** Changed in: azure-proxy-agent (Ubuntu Plucky)
 Assignee: (unassigned) => Gauthier Jolly (gjolly)

** Changed in: azure-proxy-agent (Ubuntu)
 Assignee: (unassigned) => Gauthier Jolly (gjolly)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2122345

Title:
  Systemd circular dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/azure-proxy-agent/+bug/2122345/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2122345] Re: Systemd circular dependency

2025-09-11 Thread Utkarsh Gupta
** Also affects: azure-proxy-agent (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** Also affects: azure-proxy-agent (Ubuntu Plucky)
   Importance: Undecided
   Status: New

** Also affects: azure-proxy-agent (Ubuntu Noble)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2122345

Title:
  Systemd circular dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/azure-proxy-agent/+bug/2122345/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2122345] Re: Systemd circular dependency

2025-09-08 Thread Launchpad Bug Tracker
This bug was fixed in the package azure-proxy-agent - 1.0.30-0ubuntu5

---
azure-proxy-agent (1.0.30-0ubuntu5) questing; urgency=medium

  * d/p/fix-systemd-deps-cycle.patch: fix dependency cycle in the unit file.
Use DefaultDependencies=no to remove the dependency on basic.target
(LP: #2122345).

 -- Gauthier Jolly   Mon, 08 Sep 2025
10:26:17 +0200

** Changed in: azure-proxy-agent (Ubuntu)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2122345

Title:
  Systemd circular dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/azure-proxy-agent/+bug/2122345/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs