vwbusguy,
@vwbusguy@mastodon.online avatar

Some #OpenSUSE Leap impressions:

  • Nice to not have an "Install EPEL" first step!
  • Getting up and running with container tools (podman, etc.) was nice and quick (no need for adjusting systemd linger for non-root)
  • Interesing that the cloud image doesn't ship with #btrfs by default
  • No SELinux by default and a little bit of effort to piece it all back together - no default policy even
  • zypper is... OK. dnf's search is definitely more comprehensive.
sfalken,
@sfalken@mastodon.naturalorder.me avatar

@vwbusguy I am a little curious about where you feel zypper search is lacking

vwbusguy,
@vwbusguy@mastodon.online avatar

@sfalken If I do zypper search selinux I don't get policycore-utils in the response (only things with "selinux" explicitly in the name), but I do with dnf search selinux, for example. dnf search appears to be more comprehensive, including description and metadata for search criteria.

vwbusguy,
@vwbusguy@mastodon.online avatar

@sfalken Oh weird. dnf search selinux on Fedora returns policycore-utils. dnf on OpenSUSE Leap 15.5 returns even fewer results than zypper does.

vwbusguy,
@vwbusguy@mastodon.online avatar

@sfalken Oh, that could be it:

Error: There are no enabled repositories in "/etc/dnf/repos.d", "/etc/yum.repos.d", "/etc/yum/repos.d", "/etc/distro.repos.d".

sfalken,
@sfalken@mastodon.naturalorder.me avatar
vwbusguy,
@vwbusguy@mastodon.online avatar

@sfalken Pardon the noob question, but what do I do with the ".ymp" files from a "one-click download" from software.opensuse.org? I assume it would open Yast or something if I had a GUI here?

sfalken,
@sfalken@mastodon.naturalorder.me avatar

@vwbusguy for the most part? Don't use one-click. But yeah, in a GUI, it would open Yast and go through the steps to add teh repo and install the packages.

vwbusguy,
@vwbusguy@mastodon.online avatar

@sfalken I had to clean up the URL and add a repo name but I found a way, it seems:

sudo zypper ar -f <https://software.opensuse.org/ymp/home:ecsos:server/15.5/cockpit.ymp> "Cockpit"

vwbusguy,
@vwbusguy@mastodon.online avatar

@sfalken Spoke too soon. It created the repo file, but the repo file itself is invalid O.o

sfalken,
@sfalken@mastodon.naturalorder.me avatar

@vwbusguy yeah, software.o.o isn't in the best of shape, and Yast is approaching EOL. I'd generally recommend doing the things without them, if you feel like you're going to need to be supporting openSUSE/SLE in the future. It'll just make your life easier.

vwbusguy,
@vwbusguy@mastodon.online avatar

@sfalken FWIW, I was able to add the repo via dnf and that worked:

sudo dnf config-manager --add-repo <https://download.opensuse.org/repositories/home:/ecsos:/server/15.5> cockpit

vwbusguy,
@vwbusguy@mastodon.online avatar

@sfalken I symlinked the .repo file created by dnf to zypper's and that worked as well, so zypper and dnf both picked it up now.

sfalken,
@sfalken@mastodon.naturalorder.me avatar

@vwbusguy right. you'll have to translate any advice I give you about repo management to how you do it in dnf, I think in zypper =P

vwbusguy,
@vwbusguy@mastodon.online avatar

@sfalken I think the .repo files themselves are mostly compatible? I would probably still use zypper dup over dnf system-upgrade as I'm pretty sure that would be better tested.

sfalken,
@sfalken@mastodon.naturalorder.me avatar

@vwbusguy zypper ar <https://download.opensuse.org/repositories/home:/ecsos:/server/15.5> Cockpit is probably what you're looking for.

sfalken,
@sfalken@mastodon.naturalorder.me avatar

@vwbusguy that I have no clue about. I've never actually tried using dnf on openSUSE, I just know there are people that prefer it.

vwbusguy,
@vwbusguy@mastodon.online avatar

@sfalken Hey, and now dnf search gives me all the results I'm looking for - sweet!

sfalken,
@sfalken@mastodon.naturalorder.me avatar

@vwbusguy Ah, yeah, i can see that. Just to be fair, you can install and use dnf just fine on Tumbleweed/Leap, if that's your pleasure. Works fine.

vwbusguy,
@vwbusguy@mastodon.online avatar

@sfalken Looks like I needed to install rpm-repos-openSUSE-Leap along with dnf to get the base repos.

fedops,
@fedops@fosstodon.org avatar

@vwbusguy have you tried their dnf? That would be a big bonus for me personally.

vwbusguy,
@vwbusguy@mastodon.online avatar

@fedops I have not as it wasn't there out of box. Would be interesting to know if it's somehow compatible with zypper on the same system.

fedops,
@fedops@fosstodon.org avatar

@vwbusguy apparently so as it installs as a regular package. Suse uses rpm anyway, right?

vwbusguy,
@vwbusguy@mastodon.online avatar

@fedops Using rpm and having two different package managers manipulate the same rpmdb are two different things.

vwbusguy,
@vwbusguy@mastodon.online avatar

@fedops So looks like dnf installs but doesn't come with any repos:

Error: There are no enabled repositories in "/etc/dnf/repos.d", "/etc/yum.repos.d", "/etc/yum/repos.d", "/etc/distro.repos.d".

vwbusguy,
@vwbusguy@mastodon.online avatar

@fedops Ah, looks like I also needed to install rpm-repos-openSUSE-Leap

fedops,
@fedops@fosstodon.org avatar

@vwbusguy makes sense.

fedops,
@fedops@fosstodon.org avatar

@vwbusguy I know, but AFAIK dnf only works with rpms. And didn't Suse start out with something else and only converted to rpms later on?

vwbusguy,
@vwbusguy@mastodon.online avatar

@fedops Way, way, way back, it was based on Slackware, but I think it's been rpm based since before RHEL was a thing.

SFaulken,
SFaulken avatar

@vwbusguy

@fedops

Yep, back when dinosaurs roamed the planet, it was Slackware based. The Switch to using RPM was begun in SuSE Linux 5.0, in 1997

vwbusguy,
@vwbusguy@mastodon.online avatar

Ah, looks like it ships with AppArmor by default instead of SELinux.

sfalken,
@sfalken@mastodon.naturalorder.me avatar

@vwbusguy Yup, Tumbleweed and Leap both do the AppArmor thing by default, at least for now. We do SELinux on the microOS stuff.

vwbusguy,
@vwbusguy@mastodon.online avatar

@sfalken Interesting! I'm curious as to why that is wrt microOS and not Leap?

sfalken,
@sfalken@mastodon.naturalorder.me avatar

@vwbusguy I actually don't know, @sysrich can you shed any light on why?

Conan_Kudo,
@Conan_Kudo@fosstodon.org avatar

@sfalken @vwbusguy @sysrich Switching to SELinux is probably coming soon to Tumbleweed. The only reason you can't do SELinux on Leap is the missing selinux-policy package.

vwbusguy,
@vwbusguy@mastodon.online avatar

@Conan_Kudo @sfalken @sysrich Yeah. I learned the hard way this afternoon that you should definitely not skip the step of rebooting into permissive first >.<

vwbusguy,
@vwbusguy@mastodon.online avatar

@Conan_Kudo @sfalken @sysrich Also, the repo exists for it, but the docs are wrong. They point to SELinux_Legacy instead of just SELinux in the repo path. This is the right URL:

https://download.opensuse.org/repositories/security:/SELinux/15.5/

Conan_Kudo,
@Conan_Kudo@fosstodon.org avatar

@vwbusguy @sfalken @sysrich When I mean it's not there, I mean that it's not present in the main Leap repositories.

Conan_Kudo,
@Conan_Kudo@fosstodon.org avatar

@vwbusguy @sfalken @sysrich When I mean it's not there, I mean that it's not present in the main Leap repositories.

It was asked before for Leap: https://code.opensuse.org/leap/features/issue/36

Conan_Kudo,
@Conan_Kudo@fosstodon.org avatar

@vwbusguy @sfalken @sysrich When I mean it's not there, I mean that it's not present in the main Leap repositories.

It was asked before for Leap: https://code.opensuse.org/leap/features/issue/36

vwbusguy,
@vwbusguy@mastodon.online avatar

@Conan_Kudo @sfalken @sysrich Ah, yes - would have definitely been a better first user experience to not have to hunt down that repo, especially since the docs pointed to a repo that no longer exists.

sfalken,
@sfalken@mastodon.naturalorder.me avatar

@Conan_Kudo @sysrich @vwbusguy Well, I'm not sure which docs you found, but most of our docs are on a wiki, so you can edit them, and save the next guy the headache, if you wish =]

  • All
  • Subscribed
  • Moderated
  • Favorites
  • openSUSE
  • DreamBathrooms
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • GTA5RPClips
  • Durango
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • ngwrru68w68
  • ethstaker
  • JUstTest
  • osvaldo12
  • tester
  • cubers
  • cisconetworking
  • mdbf
  • tacticalgear
  • modclub
  • Leos
  • anitta
  • normalnudes
  • megavids
  • provamag3
  • lostlight
  • All magazines