Hi all,
Not really a bug report because I did not manage to figure out the cause.
However, after upgrading from FC31 to FC32 I could not login any more, due
to SELinux problems. Auto-relabeling did not work, nothing really...
... until I did dnf uninstall MonetDB-selinux.
I came to this point because trying to give systemd services the correct
labels with restorecon failed with an error referencing a monetdb specific
file.
I do not have the details unfortunately, but if you get problems, beware
that MonetDB SELinux package and systemd may interfere in some way beyond
my knowledge of these services.
Best regards,
Arjen
PS: Some output from logs:
sudo ausearch -c monetdb -m AVC,SELINUX_ERR
[..]
----
time->Sat May 2 20:57:01 2020
type=AVC msg=audit(1588445821.693:203): avc: denied { open } for
pid=1232 comm="monetdbd" path="/etc/resolv.conf" dev="dm-0" ino=3409775
scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:default_t:s0 tclass=file permissive=1
----
time->Sat May 2 21:12:56 2020
type=AVC msg=audit(1588446776.043:1194): avc: denied { execute } for
pid=2861 comm="(monetdbd)" name="monetdbd" dev="dm-0" ino=2147256
scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1
trawcon="unconfined_u:object_r:monetdbd_exec_t:s0"
----
time->Sat May 2 21:12:56 2020
type=AVC msg=audit(1588446776.043:1195): avc: denied { execute_no_trans }
for pid=2861 comm="(monetdbd)" path="/usr/bin/monetdbd" dev="dm-0"
ino=2147256 scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1
trawcon="unconfined_u:object_r:monetdbd_exec_t:s0"
----
time->Sat May 2 21:12:56 2020
type=AVC msg=audit(1588446776.044:1196): avc: denied { map } for
pid=2861 comm="monetdbd" path="/usr/bin/monetdbd" dev="dm-0" ino=2147256
scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1
trawcon="unconfined_u:object_r:monetdbd_exec_t:s0"
----
time->Sat May 2 21:12:56 2020
type=AVC msg=audit(1588446776.714:1197): avc: denied { remove_name } for
pid=1232 comm="monetdbd" name="merovingian.pid" dev="tmpfs" ino=34369
scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:unlabeled_t:s0 tclass=dir permissive=1
trawcon="system_u:object_r:monetdbd_var_run_t:s0"
----
time->Sat May 2 21:12:56 2020
type=AVC msg=audit(1588446776.714:1198): avc: denied { unlink } for
pid=1232 comm="monetdbd" name="merovingian.pid" dev="tmpfs" ino=34369
scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1
----
time->Sat May 2 21:12:56 2020
type=AVC msg=audit(1588446776.714:1199): avc: denied { write } for
pid=1232 comm="monetdbd" name=".merovingian_lock" dev="dm-0" ino=5899443
scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1
trawcon="system_u:object_r:monetdbd_lock_t:s0"
----
time->Sat May 2 21:13:15 2020
type=AVC msg=audit(1588446795.214:1209): avc: denied { read } for
pid=2925 comm="(monetdbd)" name="passwd" dev="dm-0" ino=524514
scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:var_t:s0
tclass=file permissive=1
----
time->Sat May 2 21:13:15 2020
type=AVC msg=audit(1588446795.214:1210): avc: denied { open } for
pid=2925 comm="(monetdbd)" path="/var/lib/sss/mc/passwd" dev="dm-0"
ino=524514 scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:var_t:s0 tclass=file permissive=1
----
time->Sat May 2 21:13:15 2020
type=AVC msg=audit(1588446795.214:1211): avc: denied { map } for
pid=2925 comm="(monetdbd)" path="/var/lib/sss/mc/passwd" dev="dm-0"
ino=524514 scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:var_t:s0 tclass=file permissive=1
----
time->Sat May 2 21:14:24 2020
type=AVC msg=audit(1588446864.487:1281): avc: denied { read } for
pid=3072 comm="(monetdbd)" name="passwd" dev="dm-0" ino=524514
scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:var_t:s0
tclass=file permissive=1
----
time->Sat May 2 21:14:24 2020
type=AVC msg=audit(1588446864.487:1282): avc: denied { open } for
pid=3072 comm="(monetdbd)" path="/var/lib/sss/mc/passwd" dev="dm-0"
ino=524514 scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:var_t:s0 tclass=file permissive=1
----
time->Sat May 2 21:14:24 2020
type=AVC msg=audit(1588446864.487:1283): avc: denied { map } for
pid=3072 comm="(monetdbd)" path="/var/lib/sss/mc/passwd" dev="dm-0"
ino=524514 scontext=system_u:system_r:init_t:s0
tcontext=system_u:object_r:var_t:s0 tclass=file permissive=1
--
====================================================================
ICIS, office M1.00.05 Radboud University
Mercator 1 Faculty of Science
Toernooiveld 212 arjen(a)cs.ru.nl
NL-6525 EC Nijmegen, The Netherlands +31-(0)24-365 2354
===================== http://www.informagus.nl/ ====================
--
====================================================================
ICIS, office M1.00.05 Radboud University
Mercator 1 Faculty of Science
Toernooiveld 212 arjen(a)cs.ru.nl
NL-6525 EC Nijmegen, The Netherlands +31-(0)24-365 2354
===================== http://www.informagus.nl/ ====================
LS,
The MonetDB team wishes to announce the end of our reliance on Bugzilla
for bug tracking and enhancement requests. Instead, we switch over to
the MonetDB Github issues repo (https://github.com/monetdb/monetdb),
which is an hourly based mirror of the Mercurial repository managed at
the development group.
The move will take place on Friday, November 27, 2020. The actual
transfer of the Bugzilla archive into the Github Issues may take a
number of hours.
A redirect will be in place to send people from Bugzilla towards the
MonetDB GitHub repository instead.
--
Sjoerd Mullender
The MonetDB team at MonetDB BV is pleased to announce the
Oct2020-SP1 bugfix release of the MonetDB suite of programs.
More information about MonetDB can be found on our website at
<https://www.monetdb.org/>.
For details on this release, please see the release notes at
<https://www.monetdb.org/Downloads/ReleaseNotes>.
As usual, the download location is <https://www.monetdb.org/downloads/>.
Oct 2020-SP1 bugfix release (11.39.7)
Bug Fixes
* 6890: Add support of xz/lzma (de)compression on MS Windows
* 6891: Add support of lz4 (de)compression on MS Windows
* 6971: Parsing table returning function on remote server fails
* 6981: Oct2020: PREPARE DDL statement silently fails
* 6983: monetdb allows to use non-existing optimizer pipe
* 6998: MAL profiler buffer limitations
* 7001: crossproduct generated for a simple (semi-)join
* 7003: Segfault on large chain of constant decimal multiplication
* 7005: Dropping a STREAM TABLE does not remove the associated column
info from sys._columns
* 7010: deallocate <id> results in all prepared statements being
deallocated (not error-related)
* 7011: uuid() called only once when used in projection list
Dear list,
Please allow me to proudly share with you the news that Martin Kersten, the founding father of MonetDB, has just been appointed Knight in the Royal Order of the Netherlands Lion [1] as a recognition for his 45+ years contribution to the research, innovation, education and development of database management systems, the results of which have been reflected in MonetDB.
However, Martin and the MonetDB team have always been keenly aware that all achievements of Martin&MonetDB wouldn't have been possible without group efforts. So, taking this opportunity, the MonetDB team would like to thank all MonetDB users and contributors through the years for your support!
Now, more than ever, the MonetDB team is motivated and determined to make MonetDB even better with every check-in 😀
Best regards,
Jennie
(a 15+ years MonetDB member and counting :))
[1] https://www.royal-house.nl/topics/decorations-and-honours/personal-decorati…
Hi all --
Hopefully someone in this group can help me. :-)
I am new to MonetDB and am having a problem setting up the connection for an
SQL client.
Part of me is wondering if the problem is related to using the latest
version of MonetDB (Oct 2020) with this MonetDB JDBC driver
(monetdb-jdbc-2.29.jre7.jar).
I randomly chose SQuirrel on Windows and am open to alternatives. The
connection I am trying to make is to MonetDB on Linux.
I followed the instructions carefully at:
https://www.monetdb.org/Documentation/ClientInterfaces/SQuirreL
1. From Linux, here is my connection. I have no problems logging in on the
host using mclient.
marc@HPZ620A: ip address
inet 10.102.96.66/24 brd 10.102.96.255 scope global dynamic
noprefixroute eno1
marc@HPZ620A:~/tmp/mydbfarm$ mclient -u monetdb -d voc
password:
Welcome to mclient, the MonetDB/SQL interactive terminal (Oct2020)
Database: MonetDB v11.39.5 (Oct2020), 'mapi:monetdb://HPZ620A:50001/voc'
sql>
2. Still on Linix, here is the Server Running.
marc@HPZ620A: ps -auxw | grep 50001
marc 21727 0.2 0.2 2640864 92616 ? Ssl Nov13 2:50
/usr/bin/mserver5 --dbpath=/home/marc/tmp/mydbfarm/voc --set merovingian_uri
mapi:monetdb://HPZ620A:50001/voc --set mapi_listenaddr none --set mapi_usock
/home/marc/tmp/mydbfarm/voc/.mapi.sock --set monet_vault_key
/home/marc/tmp/mydbfarm/voc/.vaultkey --set gdk_nr_threads 32 --set
max_clients 64 --set sql_optimizer default_pipe
3. From Windows, I can ping that server.
C:\Users\Admin>ping 10.102.96.66
Pinging 10.102.96.66 with 32 bytes of data:
Reply from 10.102.96.66: bytes=32 time=59ms TTL=63
Reply from 10.102.96.66: bytes=32 time=55ms TTL=63
Reply from 10.102.96.66: bytes=32 time=58ms TTL=63
Reply from 10.102.96.66: bytes=32 time=58ms TTL=63
Ping statistics for 10.102.96.66:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 55ms, Maximum = 59ms, Average = 57ms
4. The Squirrel Setup. Note that I did download the jar file from MonetDB,
per the instructions.
5. And finally.. The error message when I try to connect!
Any suggestions on how I could solve this issue with SQuirrel or another
Windows SQL client would be greatly appreciated.
Thanks!!
--- Marc
I couldn't find a nice way to turn a timestamp into a sub-second epoch value. What I came up with was:
sys.epoch(t) * 1000000 + cast((("second"(t) - floor("second"(t)))) * 1000000 as int)
Most functions seem to treat seconds as the lowest unit, e.g. extract(seconds...) and time_to_str
Is there a better option that I'm missing?
Thanks,
Karl
Hi team,
I like the Oct2020 release very much.
It has some discontinuities with past releases, and that's ok.
One that I find a bit too painful though is the stricter time and interval
typing.
Not that I am against it, it is now more SQL compliant. But perhaps the
transition could have been a bit softer.
It boils down to date arithmetics between temporal and numeric types.
Something like this was allowed before:
1 + (date1 - date2) (integer + interval)
As the release notes say, a new function epoch_ms() has been added to help
the transition. This function can turn dates and intervals into the number
(int) of milliseconds since 1970-01-01 00:00:00 UTC.
So if one really needs such arithmetics, could do something like
1 + epoch_ms(date1 - date2)
The problem with this is that this function was not available in earlier
releases.
This makes the migration of existing applications very hard, because there
is no combination that works in all cases:
Deployed application Old MonetDB New MonetDB
int + interval works fails
int + cast(interval as int) works fails
int + epoch_ms(interval) fails works
As you see, there is no overlap between the solutions that worked with
MonetDB < Oct2020 and those that work with MonetDB Oct2020.
I wonder, would it have been such a bad idea to make the transition as it
was done, but leave the ability to cast an interval to a number? At least
for a couple of releases?
We are now facing the issue that if we want to roll forward to MonetDB
Oct2020, at the same time we need to make sure to redeploy our code to be
compatible with it. There is so much that could go wrong with this! It's
scary.
I've nothing against breaking backward compatibility, but honestly I don't
see the urgency in removing that cast, it would have helped a lot.
Roberto Cornacchia
+31 (0) 6 27 232 270
www.spinque.com