Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove seat_can_multi_session #15459

Merged
merged 2 commits into from Apr 17, 2020

Conversation

keszybz
Copy link
Member

@keszybz keszybz commented Apr 17, 2020

No description provided.

@poettering
Copy link
Member

Hmm, you didn't rework sd_seat_can_multi_session() to do "return 1". Accidentally forgotten, or on purpose? If so, explain plz?

@poettering
Copy link
Member

(lgtm otherwise)

Follow-up for fa2cf64.
Backwards-compat is retained. A short note is added in docs, in case
people see sd_seat_can_multi_session() mentioned somewhere and wonder what
happened to it.

Also see systemd#15337 (comment).
The _sd_deprecated_ annotation gives it all away, and the comment adds
no additional value.
@keszybz keszybz force-pushed the remove-seat_can_multi_session branch from c9d984b to 0500114 Compare April 17, 2020 14:15
@keszybz
Copy link
Member Author

keszybz commented Apr 17, 2020

Hmm, you didn't rework sd_seat_can_multi_session() to do "return 1". Accidentally forgotten, or on purpose? If so, explain plz?

Forgotten. Sorry. Updated.

@poettering poettering added the good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed label Apr 17, 2020
@poettering poettering merged commit 75dff0f into systemd:master Apr 17, 2020
@keszybz keszybz deleted the remove-seat_can_multi_session branch April 18, 2020 14:55
gnomesysadmins pushed a commit to GNOME/gnome-flashback that referenced this pull request Sep 4, 2020
All seats supports multiple sessions:
systemd/systemd#15337
systemd/systemd#15459

sd_seat_can_multi_session function has been deprecated and always
returns true with systemd 246 or newer.

Also CanMultiSession property no longer appears in D-Bus
introspection data. This might have revealed bug somewhere as
now generated gf_login_seat_gen_get_can_multi_session function
returns false but property is supposed to be always true.

Above causes user switch button to be hidden. As all seats should
support multiple session remove can_multi_session check to restore
user switch button in unlock dialog.
gnomesysadmins pushed a commit to GNOME/gnome-panel that referenced this pull request Sep 4, 2020
All seats supports multiple sessions:
systemd/systemd#15337
systemd/systemd#15459

sd_seat_can_multi_session function has been deprecated and always
returns true with systemd 246 or newer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed login
Development

Successfully merging this pull request may close these issues.

None yet

2 participants