Adds a new package to updates-testing: console-login-helper-messages - Shows helper information in terminal before/after login (approved: https://bugzilla.redhat.com/show_bug.cgi?id=1667174)

How to install

sudo dnf install --advisory=FEDORA-2019-a19feded91 \*

This update has been submitted for testing by rfairley.

2 years ago

rfairley edited this update.

2 years ago

rfairley edited this update.

2 years ago

This update has been pushed to testing.

2 years ago
User Icon dustymabe commented & provided feedback 2 years ago
karma

working for me on f29 cloud image. thanks for the hard work robert!

Hmm, so when I do:

  # echo "hello" > /run/console-login-helper-messages/motd.d/00_hello
  # systemctl restart console-login-helper-messages-motdgen.service
  # cat /run/console-login-helper-messages/console-login-helper-messages.motd 
  Fedora (29 (Cloud Edition))
  hello

And then log out and back in, I don't see the motd. I'm testing this on FCOS, which also has an /etc/motd, and logging back in just shows that MOTD instead, though I did try to delete /etc/motd to see if it would generate a new one. When does this show up exactly?

@jlebon, I think what might be happening is, if you are using coreos-assembler run, login is the mechanism displaying the MOTD. login will only look for /etc/motd by default, or a specified list of paths with MOTD_FILE (http://man7.org/linux/man-pages/man1/login.1.html).

Have been meaning to add the /etc/motd.d/console-login-helper-messages.motd path with this: https://github.com/coreos/coreos-assembler/issues/244 (though this only solves it for coreos-assembler run).

console-login-helper-messages is relying on something to search /etc/motd.d and follow the symlink from /etc/motd.d/console-login-helper-messages.motd to /run/console-login-helper-messages/console-login-helper-messages.motd - sshd does this today. The generated MOTD should display after the steps you followed, if logging in using SSH.

Will make a note in the docs of the config required for login vs. it showing through sshd by default.

Thank you @jlebon and @dustymabe for testing it by the way!

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

2 years ago

This update has been submitted for batched by rfairley.

2 years ago

This update has been submitted for stable by rfairley.

2 years ago

This update has been submitted for stable by rfairley.

2 years ago

This update has been pushed to stable.

2 years ago

Please login to add feedback.

Metadata
Type
newpackage
Karma
1
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
disabled
Dates
submitted
2 years ago
in testing
2 years ago
in stable
2 years ago
modified
2 years ago

Automated Test Results