The Workbench 2019-04
The Workbench 2019-04
Hi all,
I had to update the drupal version to 7.65 and reinstall/update some drupal modules. If you experience any problems with the site, then please drop me a note on sfepackages at g mail dot com.
For postfix I did an upgrade to verison 3.4.5. Interesting is, that the old Solaris 11 GA version (without the SRU) doesn't have the needed openssl verison. So there is still available an updates 3.3.4 version. OmniOSce, Openindiana and Solaris 11.4 (GA) get the 3.4.5 version of postfix.
In case you want to help writing on this blog, or want to write comments, then please create an account. And after that please drop me an email at afepackages at g mail dot com _or_ send a tweet to @sfepackages to I can enable your account to get access. The reason behind this is, that there is currently no user-create-spam-filter service available. In case you have suggestions which service I could use for drupal 7 or upcoming drupal 8, then please tell me the name of the service.
I hope you enjoy SFE package (e.g. LibeOffice or samba with Active Domain Controller)!
[edit 20190417]
postfix and dovecot now care about each other: The updated SMF manifest for dovecot triggers postfix to really restart, in case dovecot starts up and recreated the pipe used for SMTP_AUTH in postfix. Yes, this is the old method as dovecot is able to so SMTP_AUTH internally, but I haven't used this on my systems yet. If you want to write a small article on this blog for how to configure dovecot with SMTP_AUTH and handover incoming user emails to postfix, then please let me know now!
One more change to postfix and dovcecot is now, that in case you upgrade the packages, you get the SMF restart triggered automatically. The choice was to either get incompatible binaries but delay checking if the config still matches (most times it does!) - or - solve the incompatible binaries in memory and on disk but have a tiny little risk that your monitoring watches alert you about a postfix or dovecot, that doesn't respond (becaus or the rare configuration incompatibilies when upgrading).
[edit 20190420]
Update for samba 4.6 to samba 4.9. Keep in mind, that with the name change you need a "pkg uninstall samba46" and then "pkg install samba49". Be careful with your local configuration, that gets backed up into /var/pkg/lost+found/etc/samba-YYYYMMDDTHHMMSZ and /var/pkg/lost+found/var/gnu/samba/lib/samba-YYYYMMDDTHHMMSZ.
You may want to backup your config / userdatabase *before* the uninstall with e.g. this command:
svcadm disable samba46; cd / && gtar cvf $HOME/samba46-backup-00000000.tar --exclude="*/log" etc/samba var/gnu/samba
then pkg uninstall samba46 and pkg install samba49, then restore the config:
gtar xvf $HOME/samba46-backup-00000000.tar
and svcadm enable samba49
You may run samba49 as Active Domain Controller on Solaris 11.3, Solaris 11.4 or OmniOS. For OpenIndiana please drop me a note if you want samba49 compiled.
Regards,
Thomas
Comments
ffrancis
Fri, 04/26/2019 - 13:57
Permalink
samba49 issue
Hi Thomas,
Just installed you samba49 version on omniosce release omnios-r151028-3aeadc46d9
then tried to run following command to get samba workign as AD server
/usr/gnu/bin/samba-tool domain provision --use-rfc2307 --interactive
and getting following error message
oot@Samba00:~# /usr/gnu/bin/samba-tool --use-rfc2307 --interactive
ERROR(): uncaught exception - ld.so.1: python2.7: fatal: relocation error: file /usr/gnu/lib/python2.7/site-packages/samba/samba/samba3/smbd.so: symbol posix_locking_init: referenced symbol not found
File "/usr/gnu/bin/samba-tool", line 45, in
retval = cmd._run("samba-tool", subcommand, *args)
File "/usr/gnu/lib/python2.7/site-packages/samba/samba/netcmd/__init__.py", line 247, in _run
cmd = self.subcommands[cmd_name]
File "/usr/gnu/lib/python2.7/site-packages/samba/samba/netcmd/main.py", line 35, in __getitem__
fromlist=['cmd_%s' % attr]),
File "/usr/gnu/lib/python2.7/site-packages/samba/samba/netcmd/delegation.py", line 23, in
from samba import provision
File "/usr/gnu/lib/python2.7/site-packages/samba/samba/provision/__init__.py", line 50, in
from samba.samba3 import smbd, passdb
So now the question is, is the python the correct one
REgards
Filip
tomww
Fri, 04/26/2019 - 21:41
Permalink
Re: samba49 domain provision omnios-r151028
Hi Filip
a first quick look show that the missing function "posix_locking_init" might come from here: (checked on S11.3 and omnios r151022)
nm /usr/gnu/lib/samba/samba/libsmbd-base-samba4.so | grep posix_locking_init
[26924] | 3325952| 152|FUNC |GLOB |0 |18 |posix_locking_init
Do you get similar results for the "nm" output above and from "ldd" as shown below?
ldd -r /usr/gnu/lib/python2.7/site-packages/samba/samba/samba3/smbd.so | grep libsmbd-base-samba4
libsmbd-base-samba4.so => /usr/gnu/lib/samba/samba/libsmbd-base-samba4.so
I have no r151028 system at hand to compare. I usually compile on r151022.
I don't think python itself is a hot candidate for the fault.
Regards,
Thomas
ffrancis
Thu, 05/02/2019 - 21:55
Permalink
samba49 domain provision omnios-r151028
Hi Thomas,
Sorry for the late reply
i got this
root@Samba00:~# nm /usr/gnu/lib/samba/samba/libsmbd-base-samba4.so |grep posix_locking_init
[29427] | 2395040| 152|FUNC |GLOB |0 |14 |posix_locking_init
root@Samba00:~# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
omnios origin online F https://pkg.omniosce.org/r151028/core/
localhostomnios origin online F http://sfe.opencsw.org/localhostomnios/
root@Samba00:~# ldd -r /usr/gnu/lib/python2.7/site-packages/samba/samba/samba3/smbd.so | grep libsmbd-base-samba4
libsmbd-base-samba4.so => /usr/gnu/lib/samba/samba/libsmbd-base-samba4.so
symbol not found: FamErrlist (/usr/gnu/lib/samba/samba/libsmbd-base-samba4.so)
symbol not found: FAMCancelMonitor (/usr/gnu/lib/samba/samba/libsmbd-base-samba4.so)
symbol not found: FAMOpen2 (/usr/gnu/lib/samba/samba/libsmbd-base-samba4.so)
symbol not found: FAMNoExists (/usr/gnu/lib/samba/samba/libsmbd-base-samba4.so)
symbol not found: FAMClose (/usr/gnu/lib/samba/samba/libsmbd-base-samba4.so)
symbol not found: FAMMonitorDirectory (/usr/gnu/lib/samba/samba/libsmbd-base-samba4.so)
symbol not found: FAMPending (/usr/gnu/lib/samba/samba/libsmbd-base-samba4.so)
symbol not found: FAMNextEvent (/usr/gnu/lib/samba/samba/libsmbd-base-samba4.so)
hope this helps
Regards
Filip
tomww
Mon, 06/17/2019 - 16:07
Permalink
new package for samba410 domain provision omnios-r151030 LTS
Hi Filip!
I've upgraded the build VM to r151030c LTS!
Do you have a chance to test again on r151030c with the package mentioned below?
That would be great. The new package is samba 4.10.4, compiled on r151030c:
pkg://localhostomnios/sfe/service/network/samba410@4.10.4,5.11-0.151030.3:20190616T220324Z
Please let me know how if that works for you!
Regards
Thomas
tomww
Mon, 06/17/2019 - 16:07
Permalink
new package for samba410 ad-domain provision omnios-r151030 LTS
Hi Filip!
I've upgraded the build VM to r151030c LTS!
Do you have a chance to test again on r151030c with the package mentioned below?
That would be great. The new package is samba 4.10.4, compiled on r151030c:
pkg://localhostomnios/sfe/service/network/samba410@4.10.4,5.11-0.151030.3:20190616T220324Z
Please let me know how if that works for you!
Regards
Thomas
ffrancis
Mon, 06/17/2019 - 19:45
Permalink
new package for samba410 ad-domain provision omnios-r151030 LTS
Hi Thomas,
Give me a couple off days as i removed the omnios that was running on my Danube Cloud system
But now i am trying to start omnios again version r151030 and it will not boot so need to found what the issue is.
But will let you know
thanks for recompiling
Regards
Filip
ffrancis
Mon, 06/17/2019 - 22:29
Permalink
the new package samba410 on omniosr151030
Hi Thomas,
getting the following error now
root@windc00:~# /usr/gnu/bin/samba-tool domain provision --use-rfc2307 --interactive
ERROR(): uncaught exception - ld.so.1: python2.7: fatal: relocation error: file /usr/gnu/lib/python2.7/site-packages/samba/samba/samba3/smbd.so: symbol posix_locking_init: referenced symbol not found
File "/usr/gnu/bin/samba-tool", line 45, in
retval = cmd._run("samba-tool", subcommand, *args)
File "/usr/gnu/lib/python2.7/site-packages/samba/samba/netcmd/__init__.py", line 234, in _run
return self.subcommands[subcommand]._run(
File "/usr/gnu/lib/python2.7/site-packages/samba/samba/netcmd/main.py", line 36, in __getitem__
fromlist=['cmd_%s' % attr]),
File "/usr/gnu/lib/python2.7/site-packages/samba/samba/netcmd/domain.py", line 43, in
import samba.ntacls
File "/usr/gnu/lib/python2.7/site-packages/samba/samba/ntacls.py", line 34, in
from samba.samba3 import smbd
running the following version
SunOS windc00 5.11 omnios-r151030-632fca26eb i86pc i386 i86pc
REgards
Filip
ffrancis
Mon, 06/17/2019 - 22:33
Permalink
Thomas,
Thomas,
when i do the following
ldd /usr/gnu/lib/python2.7/site-packages/samba/samba/samba3/smbd.so
i see the following library is missing:
libfam.so.0 => (file not found)
not sure what lib that is
Filip
tomww
Mon, 06/24/2019 - 13:27
Permalink
Re: new package for samba410 ad-domain provision omnios-r151030
Hi Filip!
Good catch.
This is a missing dependency in the samba package. I'll add this for the next round of builds.
pkg search libfam.so.0 reveals the package "gamin", so please try this:
pfexec pkg install library/file-monitor/gamin
gamin is a "file alterration monitor api"
Does it work afterwards?
Hope this helps!
Regards
Thomas
ffrancis
Tue, 06/25/2019 - 09:48
Permalink
Thomas,
Thomas,
YEs indeed it's working now do not get any error for the moment
still need to do some detailed testing
REgards
Filip