Recent Updates Toggle Comment Threads | Keyboard Shortcuts

  • lenz 11:35 on 2018-04-16 Permalink
    Tags: ceph, , , , ,   

    Pictures from recent Ceph events 

    I finally got around to publishing a number of photo albums related to Ceph events that I attended in the past few months:

    Ceph Day Ede, NL, 2017-09-20
    Ceph Day Ede, NL, 2017-09-20

    Ceph Day Darmstadt, DE, 2018-02-07
    Ceph Day Darmstadt, DE, 2018-02-07

    Cephalocon APAC 2018-03, Beijing, CN
    Beijing, CN, 2018-03

  • lenz 11:23 on 2017-10-30 Permalink
    Tags: , , , osbar   

    Einsendefrist für den OSBAR 2017 endet morgen! 

    Der Open Source Business Award, kurz OSBAR, ist der Innovationspreis des Open Source Business Alliance Vereins. Auch in diesem Jahr werden wieder innovative und interessante Open Source-Projekte gesucht, die sich für diesen Preis bewerben wollen.

    Ich freue mich sehr, dieses Jahr Teil der Jury zu sein und bin schon sehr auf die Einreichungen gespannt. Am 16.11. findet in Berlin der Open Source Day (ODS) der OSB Alliance statt; dort können die Bewerber ihr Projekt persönlich vorstellen. Anschließend läuft die Bewertung der Einreichungen. Am 6.12. werden dann im Rahmen der OPEN-Konferenz in Stuttgart die Gewinner bekannt gegeben.

    Die Teilnahme ist sehr einfach und ist eine tolle Gelegenheit, den Bekanntheitsgrad eines Projekts zu steigern. In diesem Sinne: mitmachen, man kann nur gewinnen!

  • lenz 13:26 on 2017-02-20 Permalink
    Tags: , development, , ,   

    Installing Microsoft Visual Studio Code on Fedora Linux 

    I never thought I’d ever say this, but I must admit that I have become quite a fan of Microsoft’s Visual Studio Code IDE, which is available for a wide range of platforms, including Linux.

    However, the installation user experience was still somewhat arcane – one had to manually download the RPM package from their web site to install the software. Once a new version was available, the user receives a notification within the application, which redirects him to the website for downloading and updating the latest RPM manually again.

    Therefore it didn’t take long for the community to request the creation of a dedicated yum repository, to keep the package updated automatically.

    This issue has now been resolved: a yum repo has now been created. Until github issue 20895 has been fixed, this still requires setting up the required repository configuration manually though, but hopefully this will be addressed soon as well.

    Until then, here’s how to enable the yum repo on Fedora Linux (Fedora 25 in my case):

    Create a file /etc/yum.repos.d/vscode.repo with the following content:

    name=Visual Studio Code

    Now you can install the package with the following command:

    $ sudo dnf install code

    Upon the first run, you will be requested to import the GPG build key used for signing the package.

    Once a new updates becomes available, running dnf update will pull and install the updated package automatically.

    Thanks to the developers at Microsoft for making this step much easier now!

    • Andreas Walter 20:18 on 2017-02-20 Permalink | Reply

      Cool that Visual Studio works now Linux.

      • lenz 09:08 on 2017-02-21 Permalink | Reply

        Please note that this is about Visual Studio Code, which is a different beast 😉

    • jfichl 22:43 on 2017-03-01 Permalink | Reply

      Error: package code-1.10.0-1488387854.el7.x86_64.rpm isn’t signed – seems like i have to wait a little 🙂

      • lenz 12:40 on 2017-03-02 Permalink | Reply

        Hmm, that’s odd. I ran “dnf update” earlier today, and this is what I got:

        rpm -qi code
        Name : code
        Version : 1.10.0
        Release : 1488387854.el7
        Architecture: x86_64
        Install Date: Thu 02 Mar 2017 10:32:23 AM CET
        Group : Development/Tools
        Size : 157249812
        License : Multiple, see
        Signature : RSA/SHA256, Wed 01 Mar 2017 10:57:41 PM CET, Key ID eb3e94adbe1229cf
        Source RPM : code-1.10.0-1488387854.el7.src.rpm
        Build Date : Wed 01 Mar 2017 06:12:15 PM CET
        Build Host : c432a008bc20
        Relocations : (not relocatable)
        Packager : Visual Studio Code Team
        Vendor : Microsoft Corporation
        URL :
        Summary : Code editing. Redefined.
        Description :
        Visual Studio Code is a new choice of tool that combines the simplicity of a code editor with what developers need for the core edit-build-debug cycle. See for installation instructions and FAQ

  • lenz 16:24 on 2016-09-20 Permalink
    Tags: , , howto, , ,   

    Enabling scroll wheel emulation for the Logitech Trackman Marble on Fedora Linux 24 

    I’ve been struggling with this for quite some time now, but I finally figured out how to enable scroll wheel emulation for the Logitech Trackman Marble on Fedora Linux 24.

    Previously (when I was using Ubuntu Linux), I had a small shell script that defined the required xinput properties. However, this did not work on Fedora, as they use the new libinput framework.

    With the change to the libinput subsystem, you can now enable this behavior by creating a file /etc/X11/xorg.conf.d/10-libinput.conf with the following content:

    Section "InputClass"
     Identifier "Marble Mouse"
     MatchProduct "Logitech USB Trackball"
     Driver "libinput"
     Option "ScrollMethod" "button"
     Option "ScrollButton" "8"

    Magically, this function got enabled as soon as I saved the file, without even having to restart X! I’m impressed.

  • lenz 15:48 on 2016-09-12 Permalink
    Tags: collaboration, , , , ,   

    Summarizing last year’s achievements and highlights 

    A while ago, I concluded my first year in the openATTIC-Team at it-novum. We’ve gone through a lot of changes and I am quite proud of what we’ve achieved so far. In many ways, we’re starting this project and product from scratch, and I’m excited to be able to contribute to this effort with my experience from past jobs, and to help shaping the future direction. I feel grateful for having a very enthusiastic and supportive team. It’s also quite satisfying to observe how the seeds that we planted slowly come to fruition, as the project begins to gain traction with a growing user base and developer community.

    For more details on some of the key highlights, please see my blog post on the openATTIC blog.

  • lenz 01:41 on 2015-12-12 Permalink
    Tags: , , , python A Mercurial hook to automatically add a “Signed-off-by:” tag line below your commit message 

    The openATTIC project is currently transitioning to adapting the patch contribution signoff process initially established by the Linux Kernel developers, in which every commit message is “signed” with a special Signed-off-by: tag line, that certifies that the patch contribution meets certain criteria with regards to ownership/copyright and licensing.

    The git distributed revision control system (DVCS) used by the Linux Kernel and many other projects actually provides an option --sign that can be passed to the git commit command, which will add the Signed-off-by: line at the end of the commit log message automatically.

    However, the openATTIC code base is managed using the Mercurial DVCS, which currently does not offer the same functionality out of the box. Fortunately, Mercurial is written in Python and is very extensible: it is possible to extend its functionality and modify the workflows via Hooks and Extensions.

    Much to my surprise, I was not able to find an existing plugin or extension that provides this functionality. So I took this opportunity to hone my Python skills and wrote one myself – is a simple Mercurial hook, that will automatically add the signoff tag line below the commit message. Currently it is pretty rudimentary, I still need to read up on how to convert it into a proper Mercurial extension that extends the existing hg commit command, so the signoff process can be enabled by passing it as an option.

    To enable it, dowmload the file and save it as into the .hg directory of your Mercurial repository and add the following to .hg/hgrc:

    precommit = python:.hg/

    If you have any suggestions or ideas on how to improve it, please let me know!

  • lenz 17:37 on 2015-12-10 Permalink
    Tags: administration, , , , , troubleshooting   

    Configuring a Brother MFC-7460DN Laser Printer/Scanner on Fedora 23 (64-bit) 

    I’ve always been a fan of Brother, as their devices usually come with decent support for the Linux OS (at least initially). I have an MFC-7460DN Laser Printer / Scanner in my home office, that worked fine with Ubuntu Linux for the past few years. It’s hooked up to my DSL router’s ethernet switch and acts like a network printer for all of our devices.

    Just to keep my mind flexible and to take a look at another Linux distribution for a change, I recently started using Fedora Workstation 23 on my Laptop (a company-issued Lenovo ThinkPad T440s). While the OS installation was painless and all main components like Video, Audio, Networking were detected and configured correctly out of the box, the post-installation of some tools and services required some more effort.

    This time, the printing part of the MFC-7460DN took me quite some time to figure out. While Brother provides RPM packages of the drivers, they are 32-bit only, and the instructions hadn’t been updated since Fedora 12. The first thing I had to do was to download two driver RPM packages. I initially started with the newer versions of the drivers, brgenml1cupswrapper-3.1.0 and brgenml1lpr-3.1.0, but somehow did not get them to work at all. I then tried the older packages, mfc7460dnlpr-2.1.0 and cupswrapperMFC7460DN-2.0.4. These installed flawlessly, and a new printer was added to the CUPS configuration automatically.

    However, it was configured as a local printer, so I first had to change the existing configuration to talk to the remote LPD port instead. While the printer configuration looked correct and no errors showed up, all print jobs simply disappeared into the bit bucket, without any visible error on the application side. Unfortunately the web-based CUPS administration tool was not much helpful, either – the button View Error Log simply returned a “Not found” error. There was no error log file in /var/log/cups, so I queried the status of the CUPS service via systemd next.

    The command systemctl status -l cups then gave me a first hint:

    sh: /opt/brother/Printers/BrGenML1//lpd/rawtobr3: /lib/ bad ELF interpreter: No such file or directory

    Since this is a 32-bit binary, it might help to actually install a 32-bit version of the GNU C library! I simply forgot this step, even though it’s documented in the installation instructions. A simple dnf install glibc.i686 got me over this hurdle.

    Unfortunately the print jobs still did not reach the printer and disappeared in the void! Checking the CUPS error log again, I now saw this:

    /usr/local/Brother/Printer/MFC7460DN/lpd/filterMFC7460DN: line 131: 11660 Done                    eval cat $INPUT_TEMP
    11661 Broken pipe             | $PSCONV $PSCONV_OP
    11662 Segmentation fault      | $BRCONV $BRCONV_OP
    PID 11602 (/usr/lib/cups/filter/brlpdwrapperMFC7460DN) exited with no errors.
    PID 11603 (/usr/lib/cups/backend/lpd) exited with no errors.

    Hilarious. Oh well, maybe the 32-bit binary is simply too old and crashes in the new environment? Let’s take a look at the full systemd journal with journalctl! This gave me further clues:

    cupsd[10951]: /usr/local/Brother/Printer/MFC7460DN/lpd/filterMFC7460DN: line 131: 11660 Done                    eval cat $INPUT_TEMP
    cupsd[10951]: 11661 Broken pipe             | $PSCONV $PSCONV_OP
    cupsd[10951]: 11662 Segmentation fault      | $BRCONV $BRCONV_OP
    cupsd[10951]: PID 11602 (/usr/lib/cups/filter/brlpdwrapperMFC7460DN) exited with no errors.
    cupsd[10951]: PID 11603 (/usr/lib/cups/backend/lpd) exited with no errors.
    cupsd[10951]: time-at-completed=1449759139
    cupsd[10951]: Job completed.
    cupsd[10951]: Removing document files.
    dbus[1190]: [system] Successfully activated service 'org.fedoraproject.Setroubleshootd'
    setroubleshoot[11624]: SELinux is preventing brprintconflsr3 from using the execmem access on a process. For complete SELinux messages. run sealert -l 5d873063-1d87-4e82-b
    python3[11624]: SELinux is preventing brprintconflsr3 from using the execmem access on a process.
                                    *****  Plugin catchall_boolean (89.3 confidence) suggests   ******************
                                    If you want to allow cups to execmem
                                    Then you must tell SELinux about this by enabling the 'cups_execmem' boolean.
                                    setsebool -P cups_execmem 1
                                    *****  Plugin catchall (11.6 confidence) suggests   **************************
                                    If you believe that brprintconflsr3 should be allowed execmem access on processes labeled cupsd_t by default.
                                    Then you should report this as a bug.
                                    You can generate a local policy module to allow this access.
                                    allow this access for now by executing:
                                    # grep brprintconflsr3 /var/log/audit/audit.log | audit2allow -M mypol
                                    # semodule -i mypol.pp

    OK, so SELinux seems to be getting in the way here. I did as suggested and ran the following commands:

    # setsebool -P cups_execmem 1
    # grep brprintconflsr3 /var/log/audit/audit.log | audit2allow -M brothermfc7460dn
    # semodule -i brothermfc7460dn.pp

    An lo and behold, the printer started printing! Let’s hope it still does when I reboot the system…

    Things I learned and that surprised me:

    • The error handling in CUPS completely failed here. There was not a single end-user accessible hint that something went wrong, the print jobs just disappeared in the void.
    • The move to systemd still has some ripple effects, e.g. the “Not found” error for the missing CUPS error log in the web UI.
    • Analyzing log files with journalctl is actually quite convenient. Instead of grepping and tailing multiple logs under /var/log/, these tasks can now be performed using a single tool.
    • SELinux is still a bitch, even though the hints provided by setroubleshootd were quite useful to resolve the issues at hand.
  • lenz 14:17 on 2015-11-13 Permalink
    Tags: , , openstack, summit   

    Conference report: OpenStack Summit 2015 Tokyo, Japan 

    I finally got around to write down my impressions and notes from the OpenStack Summit 2015 in Tokyo, Japan. You can find my conference report on the openATTIC blog. Enjoy!

  • lenz 14:11 on 2015-11-10 Permalink
    Tags: , , ,   

    Blogging on the openATTIC Community Blog 

    In case you were wondering why there were so few posts on this blog in the past weeks: since we’ve set up a dedicated blog for openATTIC, a lot of my recent blogging activity has taken place there. You can find all my posts using the Posts by Lenz Grimmer view.

  • lenz 14:02 on 2015-11-10 Permalink
    Tags: , , , , , video   

    Video of my German talk “Flexibles Storage Management unter Linux mit OpenATTIC” now on YouTube 

    Back in September, I attended the Kieler Linux Tage, to talk (in German) about how to manage storage on Linux using openATTIC.

    The presentation was recorded and the final result (in 4K) can now be viewed on YouTube. I hope you enjoy it!

Compose new post
Next post/Next comment
Previous post/Previous comment
Show/Hide comments
Go to top
Go to login
Show/Hide help
shift + esc