LinuxQuestions.org
Visit Jeremy's Blog.
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 02-02-2022, 03:36 AM   #9796
Thom1b
Member
 
Registered: Mar 2010
Location: France
Distribution: Slackware
Posts: 485

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339

postfix seems not supporting mariadb. Is this normal?
If I compile it using the 14.2 SBo, mariadb is supported. I don't know what's the difference between the SBo and the official current SB.I'm checking.
 
Old 02-02-2022, 04:38 AM   #9797
Thom1b
Member
 
Registered: Mar 2010
Location: France
Distribution: Slackware
Posts: 485

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
Quote:
Originally Posted by Thom1b View Post
postfix seems not supporting mariadb. Is this normal?
If I compile it using the 14.2 SBo, mariadb is supported. I don't know what's the difference between the SBo and the official current SB.I'm checking.
Found, I compile postfix with this little modification:

Original SB:
Code:
make $NUMJOBS makefiles dynamicmaps=yes pie=yes shared=yes \
  shlib_directory=/usr/lib${LIBDIRSUFFIX}/postfix/MAIL_VERSION \
  CCARGS="$TLSARGS $SASLARGS $DBARGS $PATHARGS" \
  AUXLIBS="$TLSLIBS $SASLLIBS" \
  AUXLIBS_LDAP="-lldap -llber" \
  AUXLIBS_MYSQL="-L/usr/lib${LIBDIRSUFFIX}/mysql -lmysqlclient -lz -lm" \
  AUXLIBS_PCRE="$( pcre-config --libs )" \
  AUXLIBS_SQLITE="-lsqlite3 -lpthread" \
  OPT="$SLKCFLAGS" DEBUG="" || exit 1
With modification:
Code:
make $NUMJOBS makefiles pie=yes shared=yes \
  shlib_directory=/usr/lib${LIBDIRSUFFIX}/postfix/MAIL_VERSION \
  CCARGS="$TLSARGS $SASLARGS $DBARGS $PATHARGS" \
  AUXLIBS="$TLSLIBS $SASLLIBS" \
  AUXLIBS_LDAP="-lldap -llber" \
  AUXLIBS_MYSQL="-L/usr/lib${LIBDIRSUFFIX}/mysql -lmysqlclient -lz -lm" \
  AUXLIBS_PCRE="$( pcre-config --libs )" \
  AUXLIBS_SQLITE="-lsqlite3 -lpthread" \
  OPT="$SLKCFLAGS" DEBUG="" || exit 1
I simply remove the "dynamicmaps=yes" parameter.

Now, "ldd /usr/sbin/postfix" is linked to mariadb.so.3. Tested the package on my testing mail server, it works.
 
Old 02-02-2022, 06:21 AM   #9798
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 535

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
Quote:
Originally Posted by Thom1b View Post
Found, I compile postfix with this little modification:

Original SB:
Code:
make $NUMJOBS makefiles dynamicmaps=yes pie=yes shared=yes \
  shlib_directory=/usr/lib${LIBDIRSUFFIX}/postfix/MAIL_VERSION \
  CCARGS="$TLSARGS $SASLARGS $DBARGS $PATHARGS" \
  AUXLIBS="$TLSLIBS $SASLLIBS" \
  AUXLIBS_LDAP="-lldap -llber" \
  AUXLIBS_MYSQL="-L/usr/lib${LIBDIRSUFFIX}/mysql -lmysqlclient -lz -lm" \
  AUXLIBS_PCRE="$( pcre-config --libs )" \
  AUXLIBS_SQLITE="-lsqlite3 -lpthread" \
  OPT="$SLKCFLAGS" DEBUG="" || exit 1
With modification:
Code:
make $NUMJOBS makefiles pie=yes shared=yes \
  shlib_directory=/usr/lib${LIBDIRSUFFIX}/postfix/MAIL_VERSION \
  CCARGS="$TLSARGS $SASLARGS $DBARGS $PATHARGS" \
  AUXLIBS="$TLSLIBS $SASLLIBS" \
  AUXLIBS_LDAP="-lldap -llber" \
  AUXLIBS_MYSQL="-L/usr/lib${LIBDIRSUFFIX}/mysql -lmysqlclient -lz -lm" \
  AUXLIBS_PCRE="$( pcre-config --libs )" \
  AUXLIBS_SQLITE="-lsqlite3 -lpthread" \
  OPT="$SLKCFLAGS" DEBUG="" || exit 1
I simply remove the "dynamicmaps=yes" parameter.

Now, "ldd /usr/sbin/postfix" is linked to mariadb.so.3. Tested the package on my testing mail server, it works.
I think nothing should be changed, postfix in -current has
Code:
ldd /usr/lib64/postfix/3.6.4/postfix-mysql.so
	...
	libmariadb.so.3 => /usr/lib64/libmariadb.so.3 (0x00007f0ec8eb0000)
	...
because of "dynamicmaps=yes", see Turning on Postfix database-plugin support
 
1 members found this post helpful.
Old 02-02-2022, 06:38 AM   #9799
Thom1b
Member
 
Registered: Mar 2010
Location: France
Distribution: Slackware
Posts: 485

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
Quote:
Originally Posted by franzen View Post
I think nothing should be changed, postfix in -current has
Code:
ldd /usr/lib64/postfix/3.6.4/postfix-mysql.so
	...
	libmariadb.so.3 => /usr/lib64/libmariadb.so.3 (0x00007f0ec8eb0000)
	...
because of "dynamicmaps=yes", see Turning on Postfix database-plugin support
Mmh, good to know. Thanks.
I have to investigate to understand why postfix can't connect to mysql with official package, but can with mine.
Code:
Feb  2 09:59:01 clancygo postfix/trivial-rewrite[17945]: warning: mysql:/etc/postfix/mysql-virtual-alias-maps.cf is unavailable. unsupported dictionary type: mysql
Feb  2 09:59:01 clancygo postfix/trivial-rewrite[17945]: warning: virtual_alias_domains: mysql:/etc/postfix/mysql-virtual-alias-maps.cf: table lookup problem
Feb  2 09:59:01 clancygo postfix/trivial-rewrite[17945]: warning: virtual_alias_domains lookup failure
 
Old 02-02-2022, 06:59 AM   #9800
Thom1b
Member
 
Registered: Mar 2010
Location: France
Distribution: Slackware
Posts: 485

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
I had to modify my postfix-files file and add dynamicmaps.cf to my old conf. Everything works now with official package.
Sorry for the noise. Can be useful for people using postfix with mysql/ldap/sqlite.

Thanks again franzen
 
1 members found this post helpful.
Old 02-02-2022, 11:44 AM   #9801
jruby411
LQ Newbie
 
Registered: Oct 2005
Location: Kansas
Distribution: Slackware
Posts: 7

Rep: Reputation: 10
Since booting kernel 5.15.18 and 5.15.19 on current, I get the following in /var/log/dmesg:

...
[ 14.738261] udevd[1293]: specified group 'kvm' unknown
[ 15.179665] udevd[1300]: starting eudev-3.2.11
...

Doesn't seem to be an issue. It has a history with systemd from some quick googling. Just reporting.

Jeff.
 
1 members found this post helpful.
Old 02-02-2022, 12:22 PM   #9802
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,508

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
Quote:
Originally Posted by jruby411 View Post
Since booting kernel 5.15.18 and 5.15.19 on current, I get the following in /var/log/dmesg:

...
[ 14.738261] udevd[1293]: specified group 'kvm' unknown
[ 15.179665] udevd[1300]: starting eudev-3.2.11
...

Doesn't seem to be an issue. It has a history with systemd from some quick googling. Just reporting.

Jeff.
The word "kvm" makes me think about QEMU with hardware acceleration within the host kernel, which happens to be named KVM.

So, permit me to doubt that it's something about systemd, but it's rather about KVM/QEMU .

http://www.linux-kvm.org/page/Main_Page

Let's do not see Mr. Poettering's shadow at every street corner...

Last edited by LuckyCyborg; 02-02-2022 at 12:28 PM.
 
Old 02-02-2022, 12:41 PM   #9803
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 591

Rep: Reputation: Disabled
Quote:
Originally Posted by jruby411 View Post
Since booting kernel 5.15.18 and 5.15.19 on current, I get the following in /var/log/dmesg:

...
[ 14.738261] udevd[1293]: specified group 'kvm' unknown
[ 15.179665] udevd[1300]: starting eudev-3.2.11
...

Doesn't seem to be an issue. It has a history with systemd from some quick googling. Just reporting.

Jeff.
I assume that one of the files in /etc/udev/rules.d/ or /usr/lib/udev/rules.d/ has "kvm" in it. Did you install qemu or libvirt but forgot to create the "kvm" group which is needed?
 
Old 02-02-2022, 06:31 PM   #9804
Mad_Mason
LQ Newbie
 
Registered: Aug 2020
Distribution: Slackware
Posts: 5

Rep: Reputation: Disabled
Is there any reason the syslinux package hasn't been upgraded to 6.0.3? It is currently at 4.0.7 and doesn't support EFI (EFI only supported from 6.0.0)
 
Old 02-02-2022, 06:48 PM   #9805
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
Quote:
Originally Posted by Mad_Mason View Post
Is there any reason the syslinux package hasn't been upgraded to 6.0.3? It is currently at 4.0.7 and doesn't support EFI (EFI only supported from 6.0.0)
Maybe because, at a moment, we have to stop with Paleolithic bootloaders ... (even if they work)

edit: and, there are, at least 2 pages of patches since 6.0.3
https://repo.or.cz/syslinux.git/shor...e41aed067?pg=1

Last edited by marav; 02-02-2022 at 06:55 PM.
 
Old 02-02-2022, 07:31 PM   #9806
ttk
Senior Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 1,038
Blog Entries: 27

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Syslinux wasn't updated because 6.0 is buggy, or at least that was the case a year ago:

https://www.linuxquestions.org/quest...ml#post6236546

Quote:
Quote:
Originally Posted by ialexand
Syslinux is very old version. Why not to upgrade it to 6.03?
Originally Posted by Didier Spaier
Because 6.03 is buggy and syslinux is dead. Unless Patrick wants to carry all Debian' downstream patches that never did and never will make their way upstream, for the years to come. Which I very much doubt.
I disagree with Didier about syslinux being dead -- old software that still works isn't "dead", it's "mature".

I agree with him, though, that until 6.0's bugs get fixed, we're better off sticking with 4.0.7.
 
1 members found this post helpful.
Old 02-02-2022, 08:07 PM   #9807
akschu
Member
 
Registered: Dec 2007
Posts: 96

Rep: Reputation: 39
syslinux-6.03 is buggy. I built my own syslinux and used syslinux-6.04-pre1 and it seems to support EFI and not suck.
 
3 members found this post helpful.
Old 02-03-2022, 07:20 AM   #9808
teoberi
Member
 
Registered: Jan 2018
Location: Romania
Distribution: Slackware64-current (servers)/Windows 11/Ubuntu (workstations)
Posts: 610

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Dovecot v2.3.18
 
Old 02-03-2022, 09:55 AM   #9809
drigohighlander
LQ Newbie
 
Registered: Mar 2012
Posts: 28

Rep: Reputation: Disabled
Hi, tigervnc is not working properly, it shows the remote desktop but it doesn't accept any inputs, I think it needs to be rebuild against the current xorg version.
 
Old 02-03-2022, 10:15 AM   #9810
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
Quote:
Originally Posted by drigohighlander View Post
Hi, tigervnc is not working properly, it shows the remote desktop but it doesn't accept any inputs, I think it needs to be rebuild against the current xorg version.
sorry for the noise

Last edited by marav; 02-03-2022 at 10:17 AM.
 
  


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