Performing verification for oracular.

I installed nginx 1.26.0-2ubuntu3.2 from -release:

Running through the policy-rc.d testcase:

$ sudo vim /usr/sbin/policy-rc.d
#!/bin/sh

exit 0
$ sudo chmod 755 /usr/sbin/policy-rc.d

$ sudo apt install -y nginx
Installing:                     
  nginx

Installing dependencies:
  nginx-common

Suggested packages:
  fcgiwrap  nginx-doc  ssl-cert

Summary:
  Upgrading: 0, Installing: 2, Removing: 0, Not Upgrading: 42
  Download size: 643 kB
  Space needed: 1811 kB / 7255 MB available

Get:1 http://archive.ubuntu.com/ubuntu oracular-updates/main amd64 nginx-common 
all 1.26.0-2ubuntu3.2 [43.3 kB]
Get:2 http://archive.ubuntu.com/ubuntu oracular-updates/main amd64 nginx amd64 
1.26.0-2ubuntu3.2 [599 kB]
Fetched 643 kB in 3s (235 kB/s)
Preconfiguring packages ...
Selecting previously unselected package nginx-common.
(Reading database ... 76124 files and directories currently installed.)
Preparing to unpack .../nginx-common_1.26.0-2ubuntu3.2_all.deb ...
Unpacking nginx-common (1.26.0-2ubuntu3.2) ...
Selecting previously unselected package nginx.
Preparing to unpack .../nginx_1.26.0-2ubuntu3.2_amd64.deb ...
Unpacking nginx (1.26.0-2ubuntu3.2) ...
Setting up nginx-common (1.26.0-2ubuntu3.2) ...
Created symlink '/etc/systemd/system/multi-user.target.wants/nginx.service' → 
'/usr/lib/systemd/system/nginx.service'.
Setting up nginx (1.26.0-2ubuntu3.2) ...
 * Upgrading binary nginx                                                       
                                                                                
  [ OK ] 
Processing triggers for man-db (2.12.1-3) ...
Processing triggers for ufw (0.36.2-6) ...

Oracular already has the fix, so it works well.

Running through the nginx-common testcase:

$ sudo apt install nginx-common
Installing:                     
  nginx-common

Suggested packages:
  fcgiwrap  nginx-doc  ssl-cert

Summary:
  Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 42
  Download size: 43.3 kB
  Space needed: 238 kB / 7251 MB available

Get:1 http://archive.ubuntu.com/ubuntu oracular-updates/main amd64 nginx-common 
all 1.26.0-2ubuntu3.2 [43.3 kB]
Fetched 43.3 kB in 1s (35.2 kB/s)       
Preconfiguring packages ...
Selecting previously unselected package nginx-common.
(Reading database ... 76147 files and directories currently installed.)
Preparing to unpack .../nginx-common_1.26.0-2ubuntu3.2_all.deb ...
Unpacking nginx-common (1.26.0-2ubuntu3.2) ...
Setting up nginx-common (1.26.0-2ubuntu3.2) ...
Could not execute systemctl:  at /usr/bin/deb-systemd-invoke line 148.
Processing triggers for ufw (0.36.2-6) ...

ubuntu@oracular-test:~$ systemctl status nginx.service 
× nginx.service - A high performance web server and a reverse proxy server
     Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; preset: 
enabled)
     Active: failed (Result: exit-code) since Thu 2025-06-19 03:14:48 UTC; 6s 
ago
   Duration: 1min 1.827s
 Invocation: 33c390582df9490aad4ba685c76be108
       Docs: man:nginx(8)
    Process: 2840 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; 
master_process on; (code=exited, status=203/EXEC)
   Mem peak: 1.4M
        CPU: 2ms

Jun 19 03:14:48 oracular-test systemd[1]: Starting nginx.service - A high 
performance web server and a reverse proxy server...
Jun 19 03:14:48 oracular-test (nginx)[2840]: nginx.service: Unable to locate 
executable '/usr/sbin/nginx': No such file or directory
Jun 19 03:14:48 oracular-test (nginx)[2840]: nginx.service: Failed at step EXEC 
spawning /usr/sbin/nginx: No such file or directory
Jun 19 03:14:48 oracular-test systemd[1]: nginx.service: Control process 
exited, code=exited, status=203/EXEC
Jun 19 03:14:48 oracular-test systemd[1]: nginx.service: Failed with result 
'exit-code'.
Jun 19 03:14:48 oracular-test systemd[1]: Failed to start nginx.service - A 
high performance web server and a reverse proxy server.

The nginx service fails to start, and we can reproduce the problem.

I then enabled -proposed and installed nginx 1.26.0-2ubuntu3.3

Running through the policy-rc.d testcase:

$ $ sudo apt install -t oracular-proposed nginx
Upgrading:                      
  nginx  nginx-common

Summary:
  Upgrading: 2, Installing: 0, Removing: 0, Not Upgrading: 57
  Download size: 643 kB
  Space needed: 2048 B / 7249 MB available

Continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu oracular-proposed/main amd64 nginx amd64 
1.26.0-2ubuntu3.3 [600 kB]
Get:2 http://archive.ubuntu.com/ubuntu oracular-proposed/main amd64 
nginx-common all 1.26.0-2ubuntu3.3 [43.4 kB]
Fetched 643 kB in 3s (255 kB/s)         
Preconfiguring packages ...
(Reading database ... 76172 files and directories currently installed.)
Preparing to unpack .../nginx_1.26.0-2ubuntu3.3_amd64.deb ...
Unpacking nginx (1.26.0-2ubuntu3.3) over (1.26.0-2ubuntu3.2) ...
Preparing to unpack .../nginx-common_1.26.0-2ubuntu3.3_all.deb ...
Unpacking nginx-common (1.26.0-2ubuntu3.3) over (1.26.0-2ubuntu3.2) ...
Setting up nginx-common (1.26.0-2ubuntu3.3) ...
Setting up nginx (1.26.0-2ubuntu3.3) ...
 * Upgrading binary nginx                                                       
                                                                                
  [ OK ] 
Processing triggers for man-db (2.12.1-3) ...
Processing triggers for ufw (0.36.2-6) ...

Running through the nginx-common testcase:

$ sudo apt install -t oracular-proposed nginx-common
Installing:                     
  nginx-common

Suggested packages:
  fcgiwrap  nginx-doc  ssl-cert

Summary:
  Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 57
  Download size: 43.4 kB
  Space needed: 239 kB / 7248 MB available

Get:1 http://archive.ubuntu.com/ubuntu oracular-proposed/main amd64 
nginx-common all 1.26.0-2ubuntu3.3 [43.4 kB]
Fetched 43.4 kB in 1s (37.5 kB/s)       
Preconfiguring packages ...
Selecting previously unselected package nginx-common.
(Reading database ... 76147 files and directories currently installed.)
Preparing to unpack .../nginx-common_1.26.0-2ubuntu3.3_all.deb ...
Unpacking nginx-common (1.26.0-2ubuntu3.3) ...
Setting up nginx-common (1.26.0-2ubuntu3.3) ...
Processing triggers for ufw (0.36.2-6) ...
Scanning processes...                                                           
                                                                                
         
Scanning linux images...                                                        
                                                                                
         

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
ubuntu@oracular-test:~$ systemctl status nginx.service 
○ nginx.service - A high performance web server and a reverse proxy server
     Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; preset: 
enabled)
     Active: inactive (dead)
  Condition: start condition unmet at Thu 2025-06-19 03:18:16 UTC; 5s ago
             └─ ConditionFileIsExecutable=/usr/sbin/nginx was not met
       Docs: man:nginx(8)

Jun 19 03:16:55 oracular-test systemd[1]: nginx.service - A high
performance web server and a reverse proxy server was skipped because of
an unmet condition check (ConditionFileIsExecutable=/usr/sbin/nginx).

If we then install nginx:

$ sudo apt install -t oracular-proposed nginx
Installing:                     
  nginx

Summary:
  Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 57
  Download size: 600 kB
  Space needed: 1575 kB / 7247 MB available

Get:1 http://archive.ubuntu.com/ubuntu oracular-proposed/main amd64 nginx amd64 
1.26.0-2ubuntu3.3 [600 kB]
Fetched 600 kB in 2s (340 kB/s)
Selecting previously unselected package nginx.
(Reading database ... 76167 files and directories currently installed.)
Preparing to unpack .../nginx_1.26.0-2ubuntu3.3_amd64.deb ...
Unpacking nginx (1.26.0-2ubuntu3.3) ...
Setting up nginx (1.26.0-2ubuntu3.3) ...
Processing triggers for man-db (2.12.1-3) ...

ubuntu@oracular-test:~$ systemctl status nginx.service 
● nginx.service - A high performance web server and a reverse proxy server
     Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; preset: 
enabled)
     Active: active (running) since Thu 2025-06-19 03:18:50 UTC; 2s ago
 Invocation: 769d87179d484bd1917a9f10834a356e
       Docs: man:nginx(8)
    Process: 1815 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; 
master_process on; (code=exited, status=0/SUCCESS)
    Process: 1817 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; 
(code=exited, status=0/SUCCESS)
   Main PID: 1818 (nginx)
      Tasks: 5 (limit: 4654)
     Memory: 4.1M (peak: 4.3M)
        CPU: 14ms
     CGroup: /system.slice/nginx.service
             ├─1818 "nginx: master process /usr/sbin/nginx -g daemon on; 
master_process on;"
             ├─1819 "nginx: worker process"
             ├─1820 "nginx: worker process"
             ├─1821 "nginx: worker process"
             └─1822 "nginx: worker process"

Jun 19 03:18:50 oracular-test systemd[1]: Starting nginx.service - A high 
performance web server and a reverse proxy server...
Jun 19 03:18:50 oracular-test systemd[1]: Started nginx.service - A high 
performance web server and a reverse proxy server.

The policy-rc.d testcase continues to work, and now when nginx-common is 
installed
it does not start nginx.service unless the nginx package is installed.

The package in -proposed fixes the issue, happy to mark verified for
oracular.

** Tags removed: verification-needed-oracular
** Tags added: verification-done-oracular

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

Title:
  Resolve circular dependency loop between nginx and nginx-common

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/2081308/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to