Alberto Planas

Results 88 comments of Alberto Planas

I am trying to fix the "test/integration/tests/abrmd_policycountertimer.sh" for PPC64, a big endian architecture. Checking the tests, seems that the expected output is the `sha256(0000016d 03000000 0008000000000000ea60 0000 0005)`, but seems...

In a LE arch the hash is for `0000016d 03000000 0008000000000000ea60 0000 0005` but in a BE the hash is for `0000016d 03000000 000860ea000000000000 0000 0005` So I guess that...

@williamcroberts sadly I do not have ssh access to a ppc64 system, but I use the OBS (open build system) services to run the package in there. With OBS I...

This approach is using macros to share the code, but maybe is cleaner if the function is split in two: one for utmp and other for logind. Is there any...

> Mmmm... what a tricky problem. In order to reproduce the problem I've tried setting the system time to year 2050, then calling `psutil.users()`, but it didn't work. Do you...

> If binaries / wheels are produced with systemd support, but the Linux system installing the wheel doesn't have systemd, are we sure that this patch won't cause a `"sd_get_sessions...

> I am skeptical how much of a problem this is in reality. Who sets the system date to >= 2035? It will happen automatically in

On a second thought I think that `dlopen()` can be a better solution here. I will try this path.

@giampaolo I updated the PR using dlopen(). Now there is no link to libsystemd, so a Linux system without the library will no produce the error of the missing symbol....