LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-24-2024, 01:53 PM   #4021
bigbadaboum
Member
 
Registered: Apr 2023
Posts: 146

Rep: Reputation: 60

The right date of Last Login is already available in Slackware.

When I gave the exact time in the BIOS, to the following reboot:
"fsck from util-linux
last login 24-03-2040
last login in the future"
And all the partitions were verified.

Quote:
GazL
LQ Veteran
By the sounds of this it seems they intend to just leave it to rot.
https://www.thkukuk.de/blog/Y2038_glibc_utmp_64bit/
Thorsten Kukuk looks very in love with Systemd, His article may not be very neutral

Last edited by bigbadaboum; 03-24-2024 at 02:16 PM.
 
Old 03-24-2024, 03:52 PM   #4022
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 979

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Quote:
Originally Posted by glennmcc View Post
Yes, that page a couple of others seem to suggest that the 'fix' will be to switch from sysvinit to systemd

Time will tell whether or not Patrick decides to make that switch sometime in the future.

Time will also tell whether or not he decides to drop 32bit all-together and have only 64bit Slackware.
A quick and dirty, fully backwards compatible, solution would be to replace
Code:
           #if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32
               int32_t ut_session;           /* Session ID (getsid(2)),
                                                used for windowing */
               struct {
                   int32_t tv_sec;           /* Seconds */
                   int32_t tv_usec;          /* Microseconds */
               } ut_tv;                      /* Time entry was made */
           #else
with
Code:
           #if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32
               int32_t ut_session;           /* Session ID (getsid(2)),
                                                used for windowing */
               struct {
                   uint32_t tv_sec;           /* Seconds */
                   uint32_t tv_usec;          /* Microseconds */
               } ut_tv;                      /* Time entry was made */
           #else
I see no need to lookup login occasions before 1970 on any Linux system... Such a quick fix will give us another 60+ years before the problem reoccurs.

regards Henrik
 
2 members found this post helpful.
Old 03-24-2024, 03:58 PM   #4023
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0
Posts: 527

Rep: Reputation: 304Reputation: 304Reputation: 304Reputation: 304
Quote:
Originally Posted by henca View Post
A quick and dirty, fully backwards compatible, solution would be to replace
Code:
           #if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32
               int32_t ut_session;           /* Session ID (getsid(2)),
                                                used for windowing */
               struct {
                   int32_t tv_sec;           /* Seconds */
                   int32_t tv_usec;          /* Microseconds */
               } ut_tv;                      /* Time entry was made */
           #else
with
Code:
           #if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32
               int32_t ut_session;           /* Session ID (getsid(2)),
                                                used for windowing */
               struct {
                   uint32_t tv_sec;           /* Seconds */
                   uint32_t tv_usec;          /* Microseconds */
               } ut_tv;                      /* Time entry was made */
           #else
I see no need to lookup login occasions before 1970 on any Linux system... Such a quick fix will give us another 60+ years before the problem reoccurs.

regards Henrik
Is there not a better fix than that which would only last till a bit past my 124th birthday ?
 
Old 03-24-2024, 04:23 PM   #4024
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,571

Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
I'd hope that by 2038, we'd have something better than systemd/sysvinit.
 
Old 03-24-2024, 06:53 PM   #4025
r1w1s1
Member
 
Registered: Mar 2004
Location: São Paulo - Brazil
Distribution: Slackware
Posts: 65
Blog Entries: 1

Rep: Reputation: 39
Sysvinit 3.09
https://github.com/slicer69/sysvinit/releases


Quote:
Version 3.09 of SysV init contains to key changes.

On Linux distributions which use the musl C library (instead of glibc) we can now build properly. Specifically, the hddown helper program now builds on musl C systems.

The reboot command is now able to pass messages to the underlying firmware on Linux systems during a reboot. This allows the admin to pass information to the underlying firmware to, for example, ask the system to boot from another partition. Should be helpful on Raspberry Pi systems.

The reboot command can pass a message to the firmware when using the "-m" command line flag.

This release also improves the Makefile's clean directive.
 
3 members found this post helpful.
Old 03-25-2024, 02:36 AM   #4026
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
Since there is a new init.

Can we have some marker in a Slackware script, clarifying when booting starts, and/or printing the date?

In particular, I would like to ask that the following line be added to /etc/rc.d/rc.S right before the "PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin" line:

Code:
printf "%s:Welcome to Slackware userspace!\n" "$(/usr/bin/date --iso=seconds)"
And the following line

Code:
printf "%s:Welcome to Slackware initrd!\n" "$(/bin/date --iso=seconds)"
right before the "INITRD=$(cat /initrd-name)" line in /boot/initrd-tree/init (/usr/share/mkinitrd/initrd-tree.tar.gz)

At the moment I am filtering this lines from boot logs using the following pattern:

Code:
/mount: proc mounted on \/proc./
But having a distinct marker would have been better for everyone, I think.

Last edited by Lockywolf; 03-25-2024 at 03:54 AM.
 
3 members found this post helpful.
Old 03-25-2024, 09:43 PM   #4027
reddog83
Member
 
Registered: Apr 2018
Distribution: Slackware 15.0/Current
Posts: 457

Rep: Reputation: 236Reputation: 236Reputation: 236
GJS 1.80.2

Quote:
Version 1.80.2
--------------

- Quick follow-up release to fix crash on ppc64.

- Closed bugs and merge requests:
* 1.79.90 failing tests on ppc64 [#605, !927, Daniel Kolesa]
https://download.gnome.org/sources/g...-1.80.2.tar.xz
https://download.gnome.org/sources/g...80.2.sha256sum
 
Old 03-26-2024, 02:52 AM   #4028
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,225

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
qt6-6.6.3:

https://code.qt.io/cgit/qt/qtrelease...elease-note.md

https://download.qt.io/official_rele...c-6.6.3.tar.xz
 
Old 03-26-2024, 05:48 AM   #4029
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,388

Rep: Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109
Slackware uses QT from KDE
So, this one:
https://invent.kde.org/qt/qt/qt5/-/c...ref_type=heads
 
Old 03-26-2024, 06:08 AM   #4030
gildbg
Member
 
Registered: Aug 2017
Distribution: Slackware, OpenBSD
Posts: 161

Rep: Reputation: Disabled
in extras:

AMD ROCm
AMD HIP
 
2 members found this post helpful.
Old 03-26-2024, 06:09 AM   #4031
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,225

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Quote:
Originally Posted by marav View Post
Slackware uses QT from KDE
So, this one:
https://invent.kde.org/qt/qt/qt5/-/c...ref_type=heads
yes, but QT from KDE use also qt new version
 
Old 03-26-2024, 07:31 AM   #4032
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,225

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Suggestions for build kde module 'applications' without 'kdepim',

if you build applications without kdepim, the compilation will fail at module 'kosmindoormap' because it need the module 'kopeninghours', kopeninghours is in module kdepim, i think it better to push it in applications just before kosmindoormap.

other problem 'zanshin' and 'merkuro', also not build in applications, this too modules need many kdepim modules (akonadi,akonadi-calendar,akonadi-contacts, etc....),i think it'better to push these in kdepim.
 
Old 03-26-2024, 03:43 PM   #4033
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0
Posts: 527

Rep: Reputation: 304Reputation: 304Reputation: 304Reputation: 304
Quote:
Originally Posted by gmgf View Post
Suggestions for build kde module 'applications' without 'kdepim',

if you build applications without kdepim, the compilation will fail at module 'kosmindoormap' because it need the module 'kopeninghours', kopeninghours is in module kdepim, i think it better to push it in applications just before kosmindoormap.

other problem 'zanshin' and 'merkuro', also not build in applications, this too modules need many kdepim modules (akonadi,akonadi-calendar,akonadi-contacts, etc....),i think it'better to push these in kdepim.
Is there something wrong with kdepim which makes you want to build things without it ?
 
1 members found this post helpful.
Old 03-26-2024, 03:52 PM   #4034
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,225

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Quote:
Originally Posted by glennmcc View Post
Is there something wrong with kdepim which makes you want to build things without it ?
I think I've compiled kde many times and before, we could, but probably we don't have the same logic.

Last edited by gmgf; 03-26-2024 at 03:56 PM.
 
Old 03-26-2024, 07:16 PM   #4035
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,388

Rep: Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109
Quote:
Originally Posted by gmgf View Post
Suggestions for build kde module 'applications' without 'kdepim',

if you build applications without kdepim, the compilation will fail at module 'kosmindoormap' because it need the module 'kopeninghours', kopeninghours is in module kdepim, i think it better to push it in applications just before kosmindoormap.

other problem 'zanshin' and 'merkuro', also not build in applications, this too modules need many kdepim modules (akonadi,akonadi-calendar,akonadi-contacts, etc....),i think it'better to push these in kdepim.
Done

https://git.slackware.nl/current/dif...e385387d3664e3
https://git.slackware.nl/current/dif...e385387d3664e3
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 2.4 requests to non-SSL site with "Upgrade-Insecure-Requests: 1" and no trailing / get redirected to default site owendelong Linux - Server 2 06-22-2021 02:08 PM
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration