Performing verification for plucky.

I installed nginx 1.26.3-2ubuntu1 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: 40
  Download size: 741 kB
  Space needed: 2108 kB / 7076 MB available

Get:1 http://archive.ubuntu.com/ubuntu plucky/main amd64 nginx-common all 
1.26.3-2ubuntu1 [43.4 kB]
Get:2 http://archive.ubuntu.com/ubuntu plucky/main amd64 nginx amd64 
1.26.3-2ubuntu1 [698 kB]
Fetched 741 kB in 3s (274 kB/s)
Preconfiguring packages ...
Selecting previously unselected package nginx-common.
(Reading database ... 77671 files and directories currently installed.)
Preparing to unpack .../nginx-common_1.26.3-2ubuntu1_all.deb ...
Unpacking nginx-common (1.26.3-2ubuntu1) ...
Selecting previously unselected package nginx.
Preparing to unpack .../nginx_1.26.3-2ubuntu1_amd64.deb ...
Unpacking nginx (1.26.3-2ubuntu1) ...
Setting up nginx-common (1.26.3-2ubuntu1) ...
Created symlink '/etc/systemd/system/multi-user.target.wants/nginx.service' → 
'/usr/lib/systemd/system/nginx.service'.
Setting up nginx (1.26.3-2ubuntu1) ...
 * Upgrading binary nginx                                                       
                                                                                
  [ OK ] 
Processing triggers for man-db (2.13.0-1) ...
Processing triggers for ufw (0.36.2-9) ...

Plucky 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: 40
  Download size: 43.4 kB
  Space needed: 239 kB / 7049 MB available

Get:1 http://archive.ubuntu.com/ubuntu plucky/main amd64 nginx-common all 
1.26.3-2ubuntu1 [43.4 kB]
Fetched 43.4 kB in 1s (35.3 kB/s)       
Preconfiguring packages ...
Selecting previously unselected package nginx-common.
(Reading database ... 77694 files and directories currently installed.)
Preparing to unpack .../nginx-common_1.26.3-2ubuntu1_all.deb ...
Unpacking nginx-common (1.26.3-2ubuntu1) ...
Setting up nginx-common (1.26.3-2ubuntu1) ...
Could not execute systemctl:  at /usr/bin/deb-systemd-invoke line 148.
Processing triggers for ufw (0.36.2-9) ...

ubuntu@plucky-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:04:53 UTC; 7s 
ago
   Duration: 38.082s
 Invocation: afb794db118a48199c184c2a20603825
       Docs: man:nginx(8)
    Process: 2718 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; 
master_process on; (code=exited, status=203/EXEC)
   Mem peak: 1.6M
        CPU: 2ms

Jun 19 03:04:53 plucky-test systemd[1]: Starting nginx.service - A high 
performance web server and a reverse proxy server...
Jun 19 03:04:53 plucky-test (nginx)[2718]: nginx.service: Unable to locate 
executable '/usr/sbin/nginx': No such file or directory
Jun 19 03:04:53 plucky-test (nginx)[2718]: nginx.service: Failed at step EXEC 
spawning /usr/sbin/nginx: No such file or directory
Jun 19 03:04:53 plucky-test systemd[1]: nginx.service: Control process exited, 
code=exited, status=203/EXEC
Jun 19 03:04:53 plucky-test systemd[1]: nginx.service: Failed with result 
'exit-code'.
Jun 19 03:04:53 plucky-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.3-2ubuntu1.1

Running through the policy-rc.d testcase:

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

Summary:
  Upgrading: 2, Installing: 0, Removing: 0, Not Upgrading: 67
  Download size: 743 kB
  Space needed: 0 B / 7069 MB available

Continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu plucky-proposed/main amd64 nginx amd64 
1.26.3-2ubuntu1.1 [699 kB]
Get:2 http://archive.ubuntu.com/ubuntu plucky-proposed/main amd64 nginx-common 
all 1.26.3-2ubuntu1.1 [43.6 kB]
Fetched 743 kB in 2s (311 kB/s)         
Preconfiguring packages ...
(Reading database ... 77719 files and directories currently installed.)
Preparing to unpack .../nginx_1.26.3-2ubuntu1.1_amd64.deb ...
Unpacking nginx (1.26.3-2ubuntu1.1) over (1.26.3-2ubuntu1) ...
Preparing to unpack .../nginx-common_1.26.3-2ubuntu1.1_all.deb ...
Unpacking nginx-common (1.26.3-2ubuntu1.1) over (1.26.3-2ubuntu1) ...
Setting up nginx-common (1.26.3-2ubuntu1.1) ...
Setting up nginx (1.26.3-2ubuntu1.1) ...
 * Upgrading binary nginx                                                       
                                                                                
  [ OK ] 
Processing triggers for man-db (2.13.0-1) ...
Processing triggers for ufw (0.36.2-9) ...

Running through the nginx-common testcase:

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

Suggested packages:
  fcgiwrap  nginx-doc  ssl-cert

Summary:
  Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 67
  Download size: 43.6 kB
  Space needed: 239 kB / 7049 MB available

Get:1 http://archive.ubuntu.com/ubuntu plucky-proposed/main amd64 nginx-common 
all 1.26.3-2ubuntu1.1 [43.6 kB]
Fetched 43.6 kB in 1s (36.3 kB/s)       
Preconfiguring packages ...
Selecting previously unselected package nginx-common.
(Reading database ... 77694 files and directories currently installed.)
Preparing to unpack .../nginx-common_1.26.3-2ubuntu1.1_all.deb ...
Unpacking nginx-common (1.26.3-2ubuntu1.1) ...
Setting up nginx-common (1.26.3-2ubuntu1.1) ...
Processing triggers for ufw (0.36.2-9) ...

ubuntu@plucky-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:06:26 UTC; 2s ago
             └─ ConditionFileIsExecutable=/usr/sbin/nginx was not met
       Docs: man:nginx(8)

Jun 19 03:06:26 plucky-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 plucky-proposed nginx
Installing:                     
  nginx

Summary:
  Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 67
  Download size: 699 kB
  Space needed: 1870 kB / 7048 MB available

Get:1 http://archive.ubuntu.com/ubuntu plucky-proposed/main amd64 nginx amd64 
1.26.3-2ubuntu1.1 [699 kB]
Fetched 699 kB in 2s (293 kB/s)
Selecting previously unselected package nginx.
(Reading database ... 77714 files and directories currently installed.)
Preparing to unpack .../nginx_1.26.3-2ubuntu1.1_amd64.deb ...
Unpacking nginx (1.26.3-2ubuntu1.1) ...
Setting up nginx (1.26.3-2ubuntu1.1) ...
Processing triggers for man-db (2.13.0-1) ...

ubuntu@plucky-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:08:56 UTC; 4s ago
 Invocation: 251484e86687414db57ce8fa853c0ba9
       Docs: man:nginx(8)
    Process: 1478 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; 
master_process on; (code=exited, status=0/SUCCESS)
    Process: 1479 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; 
(code=exited, status=0/SUCCESS)
   Main PID: 1481 (nginx)
      Tasks: 5 (limit: 4647)
     Memory: 4.3M (peak: 5M)
        CPU: 13ms
     CGroup: /system.slice/nginx.service
             ├─1481 "nginx: master process /usr/sbin/nginx -g daemon on; 
master_process on;"
             ├─1482 "nginx: worker process"
             ├─1483 "nginx: worker process"
             ├─1484 "nginx: worker process"
             └─1485 "nginx: worker process"

Jun 19 03:08:56 plucky-test systemd[1]: Starting nginx.service - A high 
performance web server and a reverse proxy server...
Jun 19 03:08:56 plucky-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
plucky.

** Tags removed: verification-needed-plucky
** Tags added: 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/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