bugfix update in Fedora 24 for fedora-motd

Status: stable 3 years ago


  • Add support for Python3 alongside Python2
  • Add motdgen service file
  • Put all runtime files under /var/run/motdgen
  • Fix SELinux labels for motdgen runtime files
  • Automate including /etc/pam.d/motdgen in /etc/pam.d/sshd

Testing Atomic host

Now try to do ssh login to your atomic host, and you should see the dynamic MOTD. You also need to assert that there are no error logs preventing motdgen from writing to /var/run/motdgen due to SELinux. You can do: ausearch -m avc

How to install

sudo dnf upgrade --advisory=FEDORA-2016-c8948356b9

Comments 9

This update has been submitted for testing by rtnpro.

This update has obsoleted fedora-motd-0.1.2-1.fc24, and has inherited its bugs and notes.

rtnpro edited this update.

This update has been pushed to testing.

This update has reached 3 days in testing and can be pushed to stable now if the maintainer wishes

I booted the fedora atomic 23 vagrant libvirt image, modified /etc/ostree/remotes.d/fedora-atomic.conf to change 23 to 24, did setenforce 0 && rpm-ostree rebase fedora-atomic:fedora-atomic/24/x86_64/docker-host (wouldn't work w/o permissive), rebooted, did the ostree admin hotfix, installed the pkg, logged out and in to see a MOTD. No selinux denials related to /var/run/motdgen.

karma: +1 #1309792: +1

This update has been submitted for stable by bodhi.

Works for me!

I have booted fedora atomic 24 qcow2 image and the test passed successfully for the image after following the given procedure for testing.

After following the given procedure, I am able to see the dynamic MOTD after logging out and in. There are no error logs preventing motdgen from writing to /var/run/motdgen due to SELinux.

karma: +1 #1309792: +1

This update has been pushed to stable.

Add Comment & Feedback

Please login to add feedback.

Content Type
Test Gating
Submitted by
Update Type
Update Severity
stable threshold: 2
unstable threshold: -3
Autopush (karma)
Autopush (time)
submitted 3 years ago
in testing 3 years ago
in stable 3 years ago
modified 3 years ago

Related Bugs 1

0+2 #1309792 Review Request: fedora-motd - Generate dynamic MOTD for Fedora

Automated Test Results