lp:~khurshid-alam/unity-greeter/systemd-240-fix
- Get this branch:
- bzr branch lp:~khurshid-alam/unity-greeter/systemd-240-fix
Branch merges
- Sebastien Bacher: Approve
- Robert Ancell: Approve
- Seth Arnold (community): Approve
- Marco Trevisan (Treviño): Pending requested
-
Diff: 36 lines (+24/-2)1 file modifiedsrc/unity-greeter.vala (+24/-2)
Related bugs
Bug #1815493: Disable mlockall() call for systemd-240 | Critical | Fix Released |
Related blueprints
Branch information
Recent revisions
- 2449. By Khurshid Alam
-
Disable mlockall call
According to systemd-dev,
mlockall() is generally a bad idea and certainly has no place in a graphical program.
A program like this uses lots of memory and it is crucial that this memory can be paged
out to relieve memory pressure.With systemd version 239 the ulimit for RLIMIT_MEMLOCK was set to 16 MiB
and therefore the mlockall call would fail. This is lucky becasue the subsequent mmap would not fail.With systemd version 240 the RLIMIT_MEMLOCK is now set to 64 MiB
and now the mlockall no longer fails. However, it not possible to mmap in all
the memory and because that would still exceed the MEMLOCK limit.See https:/
/bugzilla. redhat. com/show_ bug.cgi? id=1662857 &
https://github. com/CanonicalLt d/lightdm/ issues/ 55 RLIMIT_MEMLOCK = 64 MiB means, unity-greeter will most likely fail with 64 bit and
will always fail on 32 bit systems.Hence we better disable it.
- 2447. By Launchpad Translations on behalf of unity-greeter-team
-
Launchpad automatic translations update.
- 2446. By Launchpad Translations on behalf of unity-greeter-team
-
Launchpad automatic translations update.
- 2445. By Launchpad Translations on behalf of unity-greeter-team
-
Launchpad automatic translations update.
- 2444. By Launchpad Translations on behalf of unity-greeter-team
-
Launchpad automatic translations update.
- 2443. By Launchpad Translations on behalf of unity-greeter-team
-
Launchpad automatic translations update.
- 2442. By Launchpad Translations on behalf of unity-greeter-team
-
Launchpad automatic translations update.
- 2441. By Launchpad Translations on behalf of unity-greeter-team
-
Launchpad automatic translations update.
- 2440. By Launchpad Translations on behalf of unity-greeter-team
-
Launchpad automatic translations update.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:unity-greeter