Quantcast
Channel: Adam Young's Web Log
Browsing latest articles
Browse All 491 View Live

More Personal Ansible

I can do anything. I can’t do everything. –Me Anything worth doing is worth doing in a way you can check in to git. To recall what I did from the command line, I should turn those actions into a...

View Article


Parsing a yum repo with XPath

https://gnome.pages.gitlab.gnome.org/libxml2/xmllint.htmlLets say you want to see what src RPMs are in a given yum repo. If the author used createrepo to create the yum repo, it should be an a fairly...

View Article

Why does rpmbuild perf.spec fail

The Linux Kernel git repo has a spec file that builds the Kernel RPM. However, it does not build perf or any of the other userland tools. I want to build a perf RPM using the same code as is used to...

View Article

Algebra VS Music Theory

Think of the algebraic formula:Y=5X+19Y and X are variables, but 5 and 19 are numbers. The numbers don’t change.In Algebra, we use letters as variables, and think of digit based numbers as the actual...

View Article

The development cycle

how to clean up code. run your code to make sure it works while (work_to_do){ make a small change test it commit to git } push to git server on local branch try it on another machine collapse git...

View Article


Fetching all packages from a Koji build

#bin/bash KOJI_URL=https://kojipkgs.fedoraproject.org/packages/kernel/6.12.0/0.rc3.20241015giteca631b8fe80.32.eln143/aarch64/ curl $KOJI_URL > aarch64.dir.html for PACKAGE in `xmllint --html...

View Article

Scoped versus unscoped RBAC

Role Based Access Control (RBAC) as defined by NIST is based on the concept of global roles. Global, in this case, means the scope of the application. So if you have the role of ADMIN, and you are in...

View Article

What Processor do I have?

dmidecode -t processor | grep Version Version: Ampere(R) Altra(R) Processor Version: Ampere(R) Altra(R) Processor

View Article


Preparing to send a patch to LKML

It took me a couple months to get back to my patch, and in the interim, I forgot everything about formatting a patch series to LKML. Here’s what I have remembered. There are a handful of tools I need...

View Article


FreeIPA: whoami via curl

Assuming PRINCIPAL is your Kerberos principal and $IPASERVER is the FQDN of your server, you can query your identity on the IPA server via curl: kinit $PRINCIPAL curl -k -H...

View Article
Browsing latest articles
Browse All 491 View Live