obsolete

toolbox-0.0.99.5-1.fc39

FEDORA-2023-c12a2a84a4 created by rishi a year ago for Fedora 39

Overview of changes in 0.0.99.5

  • Add psmisc to the fedora-toolbox images
  • Add several new system and unit tests, and make the existing ones stricter
  • Add workaround to support configuring the user's password on some Active Directory set-ups
  • Be aware of security hardened mount points marked with 'nosuid,nodev,noexec'
  • Bump the minimum Bats version to 1.7.0 to simplify running a subset of the system tests and fix various warnings
  • Bump the minimum Go requirement to 1.20
  • Bump the minimum github.com/docker/go-units version to 0.5.0
  • Bump the minimum golang.org/x/sys version to 0.1.0 for CVE-2022-29526 or GHSA-p782-xgp4-8hr8
  • Bump the minimum golang.org/x/text version to 0.3.8 for CVE-2022-32149 or GHSA-69ch-w2m2-3vjp
  • Bump the minimum gopkg.in/yaml.v3 version to 3.0.0 for CVE-2022-28948 or GHSA-hp87-p4gw-j4gq
  • Deprecate the --monitor-host option of 'init-container'
  • Don't leak the NAME and VERSION environment variables into containers made from the fedora-toolbox images
  • Drop golang.org/x/term as a dependency
  • Ensure that Toolbx containers start even if there aren't sufficient resources for inotify(7)
  • Ensure that the fedora-toolbox images retain documentation and translations
  • Ensure that toolbox(1) can be built without using podman(1) and validating subordinate IDs
  • Fix DNS queries in Toolbx containers made from images with systemd-resolved, when running on hosts that don't use it
  • Handle space-separated input when asking for confirmation
  • Let the terminal know the active container also on Fedora Linux Asahi Remix
  • Offer built-in support for Arch Linux
  • Offer built-in support for Ubuntu
  • Preserve the host's environment variables for Bash's history facility inside Toolbx containers
  • Rely on podman >= 1.6.4 always being present
  • Report the size of the image that will be downloaded from a registry
  • Show welcome message on Fedora Sericea
  • Support 64-bit RISC-V
  • Update fallback release to 38 for non-fedora hosts
  • Unbreak the line count checks with Bats >= 1.10.0
  • Unbreak the manual page checks with GNU roff >= 1.23
  • Various updates to the documentation and manuals

Caveat:

This update pulls in subscription-manager as a weak dependency. You might want to disable the DNF plugin shipped by subscription-manager by editing /etc/dnf/plugins/subscription-manager.conf if you don't want to show up in your DNF output.

Reboot Required
After installing this update it is required that you reboot your system to ensure the changes supplied by this update are applied properly.

This update has been submitted for testing by rishi.

a year ago

This update's test gating status has been changed to 'waiting'.

a year ago

This update has obsoleted toolbox-0.0.99.4-8.fc39, and has inherited its bugs and notes.

a year ago

rishi edited this update.

a year ago

This update's test gating status has been changed to 'failed'.

a year ago

This update has been pushed to testing.

a year ago

This update's test gating status has been changed to 'waiting'.

a year ago

This update's test gating status has been changed to 'failed'.

a year ago

rishi edited this update.

a year ago
User Icon baptistemm commented & provided feedback a year ago
karma

Downvotiing because it pulls subscription-manager which another bunch of other dependencies

~|⇒ sudo dnf update toolbox                                                          
Last metadata expiration check: 0:04:06 ago on Wed 20 Dec 2023 05:59:51 PM CET.
Dependencies resolved.
=====================================================================================
 Package                                                               Architecture  
=====================================================================================
Upgrading:
 toolbox                                                               x86_64        
Installing dependencies:
 libdnf-plugin-subscription-manager                                    x86_64        
 python3-cloud-what                                                    x86_64        
 python3-iniparse                                                      noarch        
 python3-inotify                                                       noarch        
 python3-librepo                                                       x86_64        
 python3-subscription-manager-rhsm                                     x86_64        
 subscription-manager-rhsm-certificates                                noarch        
 virt-what                                                             x86_64        
Installing weak dependencies:
 skopeo                                                                x86_64        
 subscription-manager                                                  x86_64        

Transaction Summary
=====================================================================================
Install  10 Packages
Upgrade   1 Package

Total download size: 13 M

Bodhi is disabling automatic push to stable due to negative karma. The maintainer may push manually if they determine that the issue is not severe.

a year ago
User Icon alexpl commented & provided feedback a year ago
karma

Same remark as baptistemm. If I let the installation proceed, all my dnf transactions are spammed with this message:

Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.
User Icon rishi commented & provided feedback a year ago

It's not spam. It's intentional and as desired by the Fedora Workstation Working Group: https://pagure.io/fedora-workstation/issue/391

User Icon rishi commented & provided feedback a year ago

It's a weak dependency. So, you are free to remove it if you want to. It's assumed that those using the command line with strong opinions on such things will be able to do that.

User Icon alexpl commented & provided feedback a year ago

I did not intend for my comment to be perceived as conflictual. I am very much in favor of facilitating the people who want to use RHEL containers and that includes me as well.

Having said that, I do not want to run any containers (or RHEL containers specifically) on most of my Fedora Workstation systems, just a couple. Frankly, I don't enjoy seeing a message that informs me of something I am well aware of, on every dnf transaction, nor do I appreciate having to jump through hoops to get rid of it. Is there a configuration option somewhere that allows me to silence it? If you are going to have that message appear forever onwards on users' screens, please do add some useful documentation (or a link to it) on what users are supposed to do about said message.

Second, wasn't this planned for F40, as per the ticket you linked to?

Third, if we're talking assumptions, it can also be assumed that people who want to use RHEL containers are usually capable of determining whether they have subscription-manager installed.

There is also an issue with this update in particular. The original transaction had these packages (sorry for the long lines):

Installing dependencies:
 libdnf-plugin-subscription-manager                                           x86_64                                       1.29.39-1.fc39                                         updates                                               146 k
 python3-cloud-what                                                           x86_64                                       1.29.39-1.fc39                                         updates                                               170 k
 python3-subscription-manager-rhsm                                            x86_64                                       1.29.39-1.fc39                                         updates                                               280 k
 subscription-manager-rhsm-certificates                                       noarch                                       20220623-3.fc39                                        fedora                                                 20 k
 virt-what                                                                    x86_64                                       1.25-4.fc39                                            fedora                                                 32 k
Installing weak dependencies:
 skopeo                                                                       x86_64                                       1:1.14.0-1.fc39                                        updates                                               8.4 M
 subscription-manager                                                         x86_64                                       1.29.39-1.fc39                                         updates                                               1.1 M

Yet if I try to remove subscription-manager, I get this:

# dnf remove subscription-manager
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Dependencies resolved.
================================================================================
 Package                                Arch   Version           Repo      Size
================================================================================
Removing:
 subscription-manager                   x86_64 1.29.39-1.fc39    @updates 3.7 M
Removing unused dependencies:
 libdnf-plugin-subscription-manager     x86_64 1.29.39-1.fc39    @updates  64 k
 python3-cloud-what                     x86_64 1.29.39-1.fc39    @updates  75 k
 python3-iniparse                       noarch 0.5-6.fc39        @fedora  124 k
 python3-inotify                        noarch 0.9.6-32.fc39     @fedora  302 k
 python3-subscription-manager-rhsm      x86_64 1.29.39-1.fc39    @updates 543 k
 subscription-manager-rhsm-certificates noarch 20220623-3.fc39   @fedora   27 k
 virt-what                              x86_64 1.25-4.fc39       @fedora   55 k

Transaction Summary
================================================================================
Remove  8 Packages

Why would it remove python3-iniparse python3-inotify (and virt-what)?

User Icon zeno commented & provided feedback a year ago
karma

It's a weak dependency. So, you are free to remove it if you want to.

Until it gets updated, and the weak dependencies are installed again.

This update has been obsoleted.

a year ago
User Icon rishi commented & provided feedback a year ago

I don't understand why you insist on calling three extra lines in your DNF output as spam. DNF isn't a particularly terse command, and I find it odd to use the word spam in this context.

Will you still call it spam when it shows up in Fedora 40?

User Icon rishi commented & provided feedback a year ago

Second, wasn't this planned for F40, as per the ticket you linked to?

My original intent was to add it to fedora-comps for Fedora Rawhide/40 and advertise it as a Fedora Workstation feature. The discussion in the Fedora Workstation Working Group ticket felt that it's better to leave it as a toolbox package-level feature and dependency.

In fact there were suggestions to add it to even other packages like podman, systemd-container, mkosi, etc., and, even, the hypothetical case of SUSEConnect was discussed.

As the owner of the toolbox package, I do want to have the dependency in existing stable Fedoras too, because it significantly enhances the usability of Toolbx with RHEL containers. In contrast, fedora-comps is used during OS installation. There's no sense in adding to existing stable Fedoras because their installation media are not going to be regenerated. Hence, Fedora Rawhide/40 is the only option for fedora-comps.

It's a weak dependency. So, you are free to remove it if you want to.

Until it gets updated, and the weak dependencies are installed again.

Nobody is forcing you to have toolbox on your system either.

Fedora CoreOS is a genuine case that doesn't want to have subscription-manager and that's already taken care of.

User Icon rishi commented & provided feedback a year ago

Looks like Bodhi doesn't support quoting. :(

This update's test gating status has been changed to 'waiting'.

a year ago

This update's test gating status has been changed to 'passed'.

a year ago

rishi edited this update.

a year ago

This update has been submitted for testing by rishi.

a year ago

rishi edited this update.

a year ago
User Icon alexpl commented & provided feedback a year ago

Debarshi, I double-checked my reply before submitting it, especially looking for the word "spam", as I realized that it could come off as too harsh. I apologize if my tone was offensive.

The fact of the matter is I don't mind having subscription-manager in F39 by default, nor do I care if this goes through a proper change proposal (arguably, others might). Even on systems where I don't use containers, personally I don't mind the extra space being taken up. My issue is with the message, that appears to be persistent. The value of every terminal line is quite high, even more so if you are ssh'ing into the machine. I wouldn't want dnf to inform me that I have x and y repositories disabled or that I haven't installed 'foo' in the beginning of every transaction. If that information is irrelevant to my system's "health", I do not want to be reminded every time I update, install, or remove a package.

Wouldn't you agree that a message along the lines of

Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Please visit https://fedoraproject.org/rhel_containers_on_workstation/ for more information
or run
echo "prompt=False" > /etc/some/config/file
as root to stop seeing this message.

would be far more useful and doubly so for people who do not use containers at all?

User Icon alexpl commented & provided feedback a year ago

Sorry, I wasn't fast enough in my reply, I hope I managed to properly frame the (my) issue.

Looks like Bodhi doesn't support quoting. :(

Supposedly, prefixing a line with ">" should work. At least at some point I'm almost sure it did.

User Icon rishi commented & provided feedback a year ago

Before you again use the word spam, consider this:

  • You are doing a disservice to your role as a tester by actually trying to force me to ship sub-optimal software.

  • Would you throw such a fit if Autoconf generated a configure script had a few extra lines of spew?

  • You are trying to block something that the Fedora Workstation Working Group wants to achieve.

  • You are doing this in an insidious way by taking advantage of the fact that a lot of people are already on their way out for the holidays.

User Icon zeno commented & provided feedback a year ago

“Nobody is forcing you to have toolbox on your system either.”

I am not the one labeling it as 'spam'. However, you are right; perhaps it's time to stop using the toolbox if adding superfluous output to every dnf transaction is deemed a usability improvement, regardless of whether RHEL containers are used or not.

User Icon rishi commented & provided feedback a year ago

Alex, when you hose a pending update with a deluge of negative karma, then it implies that something is very seriously wrong with the update. Arguing about three extra lines in your DNF output is nowhere close to that.

You are essentially saying that nobody can depend on Fedora's subscription-manager package, at least not any package that's sufficiently popular. At that point, we might as well force the removal of subscription-manager from Fedora.

If you want to improve the subscription-manager user interface, then that's fine. I can think of several improvements to it. However, it's quite absurd to hold a toolbox update hostage over deficiencies in the subscription-manager UI.

Those extra three lines are nowhere close to being considered serious breakage. Are they causing data loss? Are they preventing machines from booting and updating? DNF generates dozens if not hundreds of lines, and it's output has changed and swollen over the years. Lots of terminal programs lead to lots of spew. Take any build system for example.

While we haggle over this, there are several users who really want to be able to access a RHEL user space environment on Fedora - either for upstream maintenance or Fedora EPEL work or RHEL work. To do that they need a way to update their UBI Toolbx containers to RHEL.

User Icon rishi commented & provided feedback a year ago

Zeno, you are coming across as a spammer here.

So far, you have contributed nothing other than a couple of passive aggressive comments. If you were genuine in your desire to improve Fedora, then you could have submitted a subscription-manager issue to streamline their output. Have you done that?

User Icon zeno commented & provided feedback a year ago

“If you were genuine in your desire to improve Fedora, then you could have submitted a subscription-manager issue to streamline their output. Have you done that?”

No, because there already is one: https://bugzilla.redhat.com/show_bug.cgi?id=2246833

Labeling me as a spammer and assuming my comments are passive-aggressive is a little too far though. I was responding to your comment “Nobody is forcing you to have toolbox on your system either.” which could be labeled as passive-aggressive.

User Icon rishi commented & provided feedback a year ago

By the way, you can disable the DNF plugin shipped by subscription-manager by editing /etc/dnf/plugins/subscription-manager.conf.

Now you can say that it could be advertised or documented better, but it's not exactly hidden either. It's pretty easy to spot if you do a ls --recursive /etc/dnf.

User Icon rishi commented & provided feedback a year ago

Zeno, so why have you not participated there on the subscription-manager issue? Or are you waiting to attack the next package that happens to rely on subscription-manager.

You are a spammer who is spamming this update, and you literally borked it without adding anything new to the discussion. Then you topped it up with a bunch of snarky and aggressive comments. You are mistaken if you think that I won't call you out on that.

The link to that subscription-manager issue is the first useful information that you shared.

User Icon alexpl commented & provided feedback a year ago

Addressing your points:

  • The single use of "spam" as a verb was from my brain being lazy late at night, trying to describe an unsolicited, repetitive message. I apologized for that.

  • I expect anything like what you describe when using Autoconf. When I am using dnf however, which is the only method I use to perform package transactions on my systems, I do not. I don't know how to make this clearer: it's as if whenever I'm playing a song in Audacious, a voice pops over it saying "Audacity is not installed on this system".

  • I am not trying to block something that the Fedora Workstation Working Group wants to achieve, even though the SIG's intents are not scripture and everything should be up for discussion. Like I said, I too want to be able to use RHEL containers on Fedora.

  • Let's tone down the adjectives a bit, shall we? I'm not going to touch the rest of that sentence.

I caught the messages that came in the meantime, a few more points.

When negative karma is given to an update, it means that something is wrong with the update. Not necessarily "very seriously wrong", though I'm pretty sure that if there was a typo introduced by the update, nobody would care to give it a negative vote. By the way, unless 47 more testers give negative karma, you can still push this to stable.

Thank you, thank you, thank you (for reminding me that I can disable dnf plugins)! Could you or csnyder or someone else please add that information somewhere visible?

User Icon alexpl commented & provided feedback a year ago

I'm stopping here for tonight, because it looks like I'm getting dumber by the minute. You can add a caveat with the info about disabling the plugin in the description of this update…

User Icon rishi commented & provided feedback a year ago

Thanks Alex - apology accepted. No hard feelings.

This update literally got hosed (Bodhi called it obsolete) with the toolbox-0.0.99.5-1.fc39 build losing all its tags when the third negative karma came in. I had to do jump through various hoops to undo all that. That's not fun when right before the holidays.

When I restored it, I made sure to bump the negative karma threshold really high to 50 to avoid this. That's why you see the 47 figure.

I think what I will do in the new year is to flip the defaults of DNF's subscription-manager plugin to have it disabled by default unless there's some real problem with doing that.

rishi edited this update.

a year ago

This update has been pushed to testing.

a year ago
User Icon alexpl commented & provided feedback a year ago

That sounds like a solid plan forward. Is there a file somewhere, the existence of which could be the basis for a conditional to enable the plugin or not? Restful holidays and a happy new year!

User Icon kparal commented & provided feedback a year ago
karma

I believe that the extra dnf output is a no-go for general users by default (and toolbox is installed by default). It's confusing, unexpected, and sounds like an error. General users will have no idea what happened in the middle of a stable release, and how to "fix" it (it took me a while to figure out). Also, most of our users have no idea what a subscription is (there is no subscription for Fedora). It should definitely not be displayed by default, IMO. Also, it feels incorrect that toolbox modifies the default intended dnf UX.

I recommend reverting the dependency, or disabling the plugin by default, or raising a ticket with FESCo first, especially when the update targets stable releases.

User Icon siosm commented & provided feedback a year ago
karma

This pulls in dnf on Silverblue (https://github.com/fedora-silverblue/issue-tracker/issues/521) so we should fix that first.

User Icon rishi commented & provided feedback a year ago

Oops! I didn't expect python3-dnf to contain %{_bindir}/dnf-3 and %{_bindir}/dnf4. That's definitely a big problem for Fedora Silverblue.

Secondly, it looks like disabling subscription-manager's DNF plugin on Fedora hosts prevents it from upgrading UBI containers to RHEL.

Anyway, ending up with DNF executables on Silverblue is definitely a big problem. I will submit another build to drop the weak dependency on subscription-manager.

This update has been obsoleted by toolbox-0.0.99.5-2.fc39.

a year ago

Please login to add feedback.

Metadata
Type
enhancement
Severity
medium
Karma
-5
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-50
Stable by Karma
disabled
Stable by Time
disabled
Thresholds
Minimum Karma
+2
Minimum Testing
14 days
Dates
submitted
a year ago
in testing
a year ago
modified
a year ago
BZ#2255336 toolbox-0.0.99.5 is available
0
0

Automated Test Results

Test Cases

0 0 Test Case toolbox