← Back to team overview

ubuntu-389-directory-server team mailing list archive

[Bug 2008441] Re: 389 Directory Server Manager not show even cockpit-389-ds is installed

 

Thank you for taking the time to fix this one, Tom!

The debdiff you submitted is quite big. If I'm understanding correctly, your intention was to submit a new upstream microrelease into the Ubuntu repos. While the SRU policy does foresee the case of a bugfix-only microrelease, I'm not fully confident that this is what we're dealing with here. Although I'm not an expert on the cockpit and 389-ds packages, there are a few things that do stand out from an initial review:
- there's additions of new rust depedencies (from the cargo.lock file)
- several requirements seem to have gone through version changes
- new vendor files being added (like "wasi", "winapi" and "unicode-xid")
- introduces new "acl" requirement in the spec file (this is explicitly called out a a no-go in the SRU Policy, as it'd introduce structural changes to the build system)

Furthermore, the upstream commit log between 2.0.15 and 2.0.16 [1] lists
44 commits, which is quite a bit for a microrelease. I'd really like us
to double-check whether all 44 commits are needed for fixing this bug.
Some of the commits don't seem related to the original issue (e.g. [2]).

It'd be great if we could either:
1) Provide /strong/ justification (and testing) in favor of pushing the 2.0.16 microrelease
2) Narrow down the (few?) responsible commits and backport only those to Jammy

Considering there's no SRU exception for this package, I'd expect
significant resistance to the first option, unless we have significant
motive as well :)

Ultimately, if the underlying problem is missing UI files, could this
actually be a packaging or build-time bug? That won't have a
corresponding upstream commit, and the original description mentioning
index.html and manifest.json files does seem to hint at this (these
don't seem to be in the 2.0.15..2.0.16 diff either).

[0] https://wiki.ubuntu.com/StableReleaseUpdates#New_upstream_microreleases
[1] https://github.com/389ds/389-ds-base/compare/389-ds-base-2.0.15...389-ds-base-2.0.16
[2] https://github.com/389ds/389-ds-base/commit/f46ab49c9f06

** Changed in: 389-ds-base (Ubuntu Jammy)
       Status: In Progress => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
389 Directory Server, which is subscribed to 389-ds-base in Ubuntu.
https://bugs.launchpad.net/bugs/2008441

Title:
  389 Directory Server Manager not show even cockpit-389-ds is installed

Status in 389-ds-base package in Ubuntu:
  Fix Released
Status in 389-ds-base source package in Jammy:
  Incomplete

Bug description:
  [ Impact ]

  It is expected that there will be minimal impact by updating the
  package from 2.0.15 to 2.0.16. I have reviewed the upstream commits
  between the two versions and the only commits are ones that close
  upstream bugs. No new features are included and no functionality is
  changed. The biggest difference between 2.0.15 and 2.0.16 is the
  inclusion of the missing files for cockpit-389-ds. Version 2.0.15
  ships an empty package for cockpit-389-ds which causes the plugin to
  be non-functional.

  [ Test Plan ]

  1. Install the following packages on a fresh installation of Jammy
   - 389-ds
   - cockpit
   - cockpit-389-ds

  2. Ensure that cockpit is enabled and listening on port 9090

  3. Open a browser and connect to the system on port 9090

  4. Login to the cockpit web application

  5. Verify that the menu on the left includes the 389 Directory Server
  link

  6. Click the link and use the plugin to create a new instance of
  389-ds

  [ Where problems could occur ]

  While issues are unlikely, there are a number of places where bug
  fixes include minor changes to the cockpit UI. If users rely on
  scripts for automated testing/automation (e.g. selenium), these
  changes could cause those tests/automations could break.

  [ Other Info ]

   * This change only applies to jammy as releases after jammy have a newer
     version of 389-ds-base that includes the missing files

  [ Original Bug Description ]

  In 22.04 LTS, cockpit-389-ds will also install when install 389-ds

  ```
  # apt info 389-ds
  Package: 389-ds
  Version: 2.0.15-1
  Priority: optional
  Section: universe/net
  Source: 389-ds-base
  Origin: Ubuntu
  Maintainer: Ubuntu Developers <ubuntu-devel-discuss@xxxxxxxxxxxxxxxx>
  Original-Maintainer: Debian FreeIPA Team <pkg-freeipa-devel@xxxxxxxxxxxxxxxxxxxxxxx>
  Bugs: https://bugs.launchpad.net/ubuntu/+filebug
  Installed-Size: 49.2 kB
  Depends: 389-ds-base, cockpit-389-ds
  Homepage: https://directory.fedoraproject.org
  Download-Size: 10.8 kB
  APT-Manual-Installed: yes
  APT-Sources: http://azure.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
  Description: 389 Directory Server suite - metapackage
   Based on the Lightweight Directory Access Protocol (LDAP), the 389
   Directory Server is designed to manage large directories of users and
   resources robustly and scalably.
   .
   This is a metapackage depending on the LDAPv3 server and a Cockpit UI plugin
   for administration.
  ```

  After cockpit-389-ds install, 389 Directory Server suppose could be
  administrated via Cockpit but "389 Directory Server" does not shown
  after login Cockpit.

  After check the files installed via cockpit-389-ds, it seems missing
  some files inside /usr/share/cockpit/389-console such as
  /usr/share/cockpit/389-console/manifest.json,
  /usr/share/cockpit/389-console/index.html, etc.

  ```
  # dpkg --listfiles cockpit-389-ds
  /.
  /usr
  /usr/share
  /usr/share/cockpit
  /usr/share/cockpit/389-console
  /usr/share/doc
  /usr/share/doc/cockpit-389-ds
  /usr/share/doc/cockpit-389-ds/copyright
  /usr/share/metainfo
  /usr/share/metainfo/389-console
  /usr/share/metainfo/389-console/org.port389.cockpit_console.metainfo.xml
  /usr/share/doc/cockpit-389-ds/changelog.Debian.gz
  ```

  Thank you for your time!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/389-ds-base/+bug/2008441/+subscriptions



References