On 6/28/23 11:02, Thorsten Kukuk wrote:
On Wed, Jun 28, Simon Becherer wrote:

hi thorsten,
sorry still unclear to me:

i have never disabled or changed requires/recomends
wtmpdb is not installed.
so the services are not on my systems.
MUST i now install wtmpdb AND after this enable the services ?
OR
did i have to do nothing and everithing works as it should?
Maybe you have a very old system, where the current base patterns are
not installed. In this case, new core packages will not be installed,
too.

"zypper in wtmpdb" will install it, and if your system is up-to-date,
the services should be automatically enabled.

  Thorsten

Hi Thorsten,

My system was installed 03/2021 and I am a few builds back running 20230616.

The wutmpdb package installed, but wtmpdb-rotate.timer and wtmpdb-update-boot.service are both disabled.

Should I enable both ( as you mentioned ) or will that happen when I update to the latest build ?

One thing I noticed is that "last -s 2023-06-28" works properly and returns since midnight, whereas "wtmpdb last -s 2023-06-28" returns "Invalid time value 2023-06-28".

man wtmpdb says ( so that explains it )

    TIME must be in the format "YYYY-MM-DD HH:MM:SS".

but it would be nice if it would default the time like last does.

Thanks!

--
Regards,

Joe