LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-26-2021, 08:28 PM   #7501
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,975

Rep: Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552

Quote:
Originally Posted by Nobby6 View Post
Before you wasted your time on this copy paste you should have read my reply to Pat first
I did read it before posting. It is one of the reasons I made my post. Back in the day is not today.
 
1 members found this post helpful.
Old 04-26-2021, 11:04 PM   #7502
Nobby6
Member
 
Registered: Jul 2012
Location: Sunshine Coast, Australia
Distribution: Slackware 64
Posts: 237
Blog Entries: 1

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by chrisretusn View Post
I did read it before posting. It is one of the reasons I made my post. Back in the day is not today.
wow, ok I'll post on irc Chrisretusn expects all of us who have been running it for about 2 decades to stop, change our configurations, because thats what is decided for todays use.


you should apply for a job as a writer on the comedy channel.

pssst not even RedHat overwrites existing files

and go d/l the source and install postfix,, look at where it puts the alias file oh lookie there it is in /etc/postfix ;P

Last edited by Nobby6; 04-26-2021 at 11:09 PM.
 
2 members found this post helpful.
Old 04-26-2021, 11:22 PM   #7503
pghvlaans
Member
 
Registered: Jan 2021
Distribution: Slackware64 {15.0,-current}, FreeBSD, stuff on QEMU
Posts: 454

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
One of the Japanese mirrors (ftp.kddilabs.jp) in /etc/slackpkg/mirrors hasn't updated -current (32 or 64 bit) since last October. 14.2 patches since that time are also missing. Maybe it should be taken off the list.
Attached Files
File Type: txt mirrors-x86.patch.txt (1.0 KB, 6 views)
File Type: txt mirrors-x86_64.patch.txt (1.0 KB, 4 views)
 
Old 04-26-2021, 11:37 PM   #7504
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,511

Rep: Reputation: 8475Reputation: 8475Reputation: 8475Reputation: 8475Reputation: 8475Reputation: 8475Reputation: 8475Reputation: 8475Reputation: 8475Reputation: 8475Reputation: 8475
Quote:
Originally Posted by Nobby6 View Post
pssst not even RedHat overwrites existing files
I still don't see where the postfix package does this. I mean, if you're *deleting* the /etc/postfix/aliases symlink and creating a same-named file, do you really expect that a package upgrade shouldn't overwrite that?

I've still not heard a good reason why you can't just use the /etc/aliases file.

Quote:
and go d/l the source and install postfix,, look at where it puts the alias file oh lookie there it is in /etc/postfix ;P
I did that. Then this happens:

Code:
# newaliases
postalias: fatal: open /etc/aliases: No such file or directory
Note that the postfix INSTALL documentation doesn't mention anything about being able to *use* the aliases file while leaving it in /etc/postfix:

Code:
10.8 - Create the aliases database

Postfix uses a Sendmail-compatible aliases(5) table to redirect mail for local
(8) recipients. Typically, this information is kept in two files: in a text
file /etc/aliases and in an indexed file /etc/aliases.db. The command "postconf
alias_maps" will tell you the exact location of the text file.

First, be sure to update the text file with aliases for root, postmaster and
"postfix" that forward mail to a real person. Postfix has a sample aliases file
/etc/postfix/aliases that you can adapt to local conditions.

    /etc/aliases:
        root: you
        postmaster: root
        postfix: root
        bin: root
        etcetera...

Note: there should be no whitespace before the ":".

Finally, build the indexed aliases file with one of the following commands:

    # newaliases
    # sendmail -bi
In short, what you're demanding runs contrary to the documentation and doesn't even work. I suspect if the sample file were to be left alone in /etc/postfix, people would try to edit it there and wonder why it doesn't work. Plus it would get overwritten. I'm not about to .new protect something that's not a functional config file (the /etc/aliases file *is* currently .new protected).
 
5 members found this post helpful.
Old 04-26-2021, 11:57 PM   #7505
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 535

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
EDIT: Seems pat posted the previous while i was writing

Quote:
Originally Posted by Nobby6 View Post
pssst not even RedHat overwrites existing files
Your aliases won't get overriden if you would stop replacing the symlink /etc/postfix/aliases from the system package.

Quote:
and go d/l the source and install postfix,, look at where it puts the alias file oh lookie there it is in /etc/postfix ;P
Maybe this helps:
https://www.oreilly.com/library/view...2/ch04s02.html

Quote:
All Postfix parameters are listed and described in the various *sample configuration* files. The *sample files* are located in the directory specified by the sample_directory parameter, which is usually the same directory as your main.cf file.
/etc/postfix/aliases is a there as a *sample file*.

Last edited by franzen; 04-27-2021 at 01:23 AM. Reason: seems pat posted the previous while i was writing
 
2 members found this post helpful.
Old 04-27-2021, 01:47 AM   #7506
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,217

Rep: Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006
Please add ' Kuserfeedback-1.0.0 ', all kde distros, include, it:

https://download.kde.org/stable/kuserfeedback/

https://api.kde.org/frameworks/kuser...tml/index.html

probably more package need rebuild with it:

( akgregator, discover, dolphin, kaddressbook, kate, korganizer, labplot, pim-data-exporter, pim-sieve-editor, plasma-workspace )

Last edited by gmgf; 04-27-2021 at 03:49 AM.
 
Old 04-27-2021, 01:50 AM   #7507
gsl
Member
 
Registered: Jun 2007
Location: Australia
Distribution: Slackware
Posts: 76

Rep: Reputation: 44
Quote:
Originally Posted by franzen View Post
Your aliases won't get overriden if you would stop replacing the symlink /etc/postfix/aliases from the system package.
Assuming Nobby's root filesystem supports file attributes, perhaps he could try "chattr +i /etc/postfix/aliases" to stop his replaced file from getting clobbered by a symlink whenever the postfix package is updated. I haven't tried it myself so I'm not sure if upgradepkg would freak out.

Geoff.
 
Old 04-27-2021, 03:25 AM   #7508
2slguevH
LQ Newbie
 
Registered: Jul 2019
Distribution: slackware
Posts: 8

Rep: Reputation: Disabled
Please add swap file support for mkinitrd.

Please add swap file support for mkinitrd.

Comparing to the hibernation with swap partition, hibernation into swap
file requires both 'resume' and 'resume_offset'. In addition, the
'resume' parameter should point to the unlocked or mapped device that
contains the filesystem with swap file when using LVM or dm-crypt and
the 'resume_offset' parameter contains the offset of the swap header.

Swap partition:

Code:
echo $RESMAJMIN > /sys/power/resume
Swap file:

Code:
echo $RESMAJMIN > /sys/power/resume
     echo $RESUME_OFFSET > /sys/power/resume_offset
The patch file:
https://paste.debian.net/plain/1195340

ref.:
[1] https://www.kernel.org/doc/html/late...er/swsusp.html
[2] https://www.kernel.org/doc/html/late...wap-files.html
 
Old 04-27-2021, 05:19 AM   #7509
j12i
Member
 
Registered: Nov 2013
Location: UTC+1
Distribution: Slackware64 15.0
Posts: 160

Rep: Reputation: Disabled
Post

Quote:
a/mkinitrd-1.4.11-x86_64-22.txz: Rebuilt.
When / is on LVM, include the dm-snapshot module. Thanks to I.G.O.R.
This includes the dm-snapshot module in the initrd even if you only use LUKS and not LVM, which is unneccessary. I solved it thus:
Code:
--- mkinitrd.orig       2021-04-27 12:01:05.216701904 +0200
+++ mkinitrd    2021-04-27 12:01:42.695568840 +0200
@@ -653,7 +653,8 @@
   elif ! echo ${MODULE_LIST} | grep -q dm-mod ; then
     MODULE_LIST="$MODULE_LIST:dm-mod"
   fi
-  if ! echo ${MODULE_LIST} | grep -q dm-snapshot ; then
+  # dm-snapshot is only needed if you use LVM
+  if [ ! -z "$LVM" -a ! echo ${MODULE_LIST} | grep -q dm-snapshot ]; then
     MODULE_LIST="$MODULE_LIST:dm-snapshot"
   fi
   mkdir -p $SOURCE_TREE/lib/udev/rules.d
 
Old 04-27-2021, 05:26 AM   #7510
mumahendras3
Member
 
Registered: Feb 2018
Location: Indonesia
Distribution: Slackware-current + s6 + s6-rc + s6-linux-init (github.com/mumahendras3/sl6ckware)
Posts: 125

Rep: Reputation: Disabled
Hi, it seems /sbin/mkinitrd also uses non-POSIX compliant commands (brace expansion, echo flags, and some more) while still having #!/bin/sh as the shebang line.

Thanks!
 
Old 04-27-2021, 06:03 AM   #7511
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,975

Rep: Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552
Quote:
Originally Posted by Nobby6 View Post
wow, ok I'll post on irc Chrisretusn expects all of us who have been running it for about 2 decades to stop, change our configurations, because thats what is decided for todays use.


you should apply for a job as a writer on the comedy channel.

pssst not even RedHat overwrites existing files

and go d/l the source and install postfix,, look at where it puts the alias file oh lookie there it is in /etc/postfix ;P
From the aliases file:
Code:
#
# Sample aliases file. Install in the location as specified by the
# output from the command "postconf alias_maps". Typical path names
# are /etc/aliases or /etc/mail/aliases.
postfix was added to Slackware on Fri Nov 17 00:56:25 UTC 2017; 3 years 5 months 11 days ago from date of this post. Last I checked a decade was 10 years.

I retired 18 years ago, not looking for a job. Now it's all work, no pay.

I'm done with this subject.
 
1 members found this post helpful.
Old 04-27-2021, 06:56 AM   #7512
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Rep: Reputation: 54
I use the slackware-current DVD as "live-cd", I prefer it to "real" livecd because, boot fast and no useless gui, only need rsync preinstalled.

Last edited by camerabambai; 04-27-2021 at 09:28 AM.
 
Old 04-27-2021, 09:48 AM   #7513
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754
Quote:
Originally Posted by gmgf View Post
Please add ' Kuserfeedback-1.0.0 ', all kde distros, include, it:

https://download.kde.org/stable/kuserfeedback/

https://api.kde.org/frameworks/kuser...tml/index.html

probably more package need rebuild with it:

( akgregator, discover, dolphin, kaddressbook, kate, korganizer, labplot, pim-data-exporter, pim-sieve-editor, plasma-workspace )
OK - I will bite after mulling on this for some hours and checking that the date is well past 1 April.
Why would I want this, apart from the fact that all other kde distros include?
I have read the documentation, the default is off. If allowed, supposedly the data only goes to KDE servers, but history teaches that such databases are prone to being breached. Any data collected provides information that could be used for fingerprinting.
Given KDE's history of being prepared to break users to force hardware manufacturers to comply with standards, I do not expect that this is in users best interests, but rather the interest of KDE.
 
2 members found this post helpful.
Old 04-27-2021, 10:57 AM   #7514
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,374

Rep: Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088
EDIT : moved to a new thread

Last edited by marav; 04-27-2021 at 10:59 AM.
 
Old 04-27-2021, 11:01 AM   #7515
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,217

Rep: Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006Reputation: 1006
Quote:
Originally Posted by allend View Post
OK - I will bite after mulling on this for some hours and checking that the date is well past 1 April.
Why would I want this, apart from the fact that all other kde distros include?
I have read the documentation, the default is off. If allowed, supposedly the data only goes to KDE servers, but history teaches that such databases are prone to being breached. Any data collected provides information that could be used for fingerprinting.
Given KDE's history of being prepared to break users to force hardware manufacturers to comply with standards, I do not expect that this is in users best interests, but rather the interest of KDE.
No problem, you do what you want, me too.
 
  


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
[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 06:35 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