Skip to content

added conditional SystemD support for notify#251

Closed
expeditioneer wants to merge 1 commit intoopenssh:masterfrom
expeditioneer:systemd
Closed

added conditional SystemD support for notify#251
expeditioneer wants to merge 1 commit intoopenssh:masterfrom
expeditioneer:systemd

Conversation

@expeditioneer
Copy link
Copy Markdown

This adds SystemD notify support.

Based on patch of Jakub Jelen [email protected] from RedHat / CentOS packaging.

configure.ac Outdated
SYSTEMD_CFLAGS=`$PKGCONFIG --cflags libsystemd`
SYSTEMD_LIBS=`$PKGCONFIG --libs libsystemd`
CPPFLAGS="$CPPFLAGS $SYSTEMD_CFLAGS"
+ SSHDLIBS="$SSHDLIBS $SYSTEMD_LIBS"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
+ SSHDLIBS="$SSHDLIBS $SYSTEMD_LIBS"
SSHDLIBS="$SSHDLIBS $SYSTEMD_LIBS"

I had to remove this superfluous + character to get the SSHDLIBS popluted correctly.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've fixed this.

@spacexnasa
Copy link
Copy Markdown

hello,@expeditioneer, i tested openssh-9.4p1 centos 7,cann't work,if you hava time,can make a test ?

@djmdjm
Copy link
Copy Markdown
Contributor

djmdjm commented Mar 30, 2024

We're not interested in taking a dependency on libsystemd, see https://bugzilla.mindrot.org/show_bug.cgi?id=2641 for the approach we are likely to take.

@djmdjm djmdjm closed this Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants