Thierry Parmentelat [Fri, 15 Dec 2023 13:03:33 +0000 (14:03 +0100)]
egrep is obsolete
Thierry Parmentelat [Fri, 3 Nov 2023 13:02:50 +0000 (14:02 +0100)]
add FROM_ADDRESS to the usual variables
Thierry Parmentelat [Fri, 3 Nov 2023 12:50:44 +0000 (13:50 +0100)]
add configurable variable PLC_MAIL_FROM_ADDRESS
Thierry Parmentelat [Fri, 3 Nov 2023 12:50:15 +0000 (13:50 +0100)]
trailing spaces
Thierry Parmentelat [Sat, 26 Nov 2022 14:10:26 +0000 (15:10 +0100)]
package both systemd timers
try to new plc-dump-db and previously available, but not packaged, renew-reminder
Thierry Parmentelat [Wed, 4 May 2022 14:56:02 +0000 (16:56 +0200)]
another patch from Thomas
Thierry Parmentelat [Tue, 3 May 2022 16:59:17 +0000 (18:59 +0200)]
fix bug in specfile when checking for nodemanager; thanks Thomas
Thierry Parmentelat [Sun, 1 May 2022 16:00:20 +0000 (18:00 +0200)]
build nodemanager doc only if present
Thierry Parmentelat [Sat, 30 Apr 2022 17:44:38 +0000 (19:44 +0200)]
Setting tag myplc-7.1-0
ready on f35
Thierry Parmentelat [Thu, 28 Apr 2022 11:55:24 +0000 (13:55 +0200)]
try to improve php logging; set error_log in the right section of the .ini; enable display_errors and display_startup_errors
Thierry Parmentelat [Wed, 11 Nov 2020 16:34:45 +0000 (17:34 +0100)]
remove requirements for a serverside-only build
Thierry Parmentelat [Thu, 27 Feb 2020 14:47:17 +0000 (15:47 +0100)]
gethostbyname written in python3
Thierry Parmentelat [Thu, 27 Feb 2020 10:52:00 +0000 (11:52 +0100)]
sense the system to use gpg1 when installed
Thierry Parmentelat [Thu, 27 Feb 2020 10:51:20 +0000 (11:51 +0100)]
a first move towards adopting gpgv2
code for dealing with key generation
which demonstrated that private key storage was completely redone in gpgv2
and so we decide to cautiously back off and fallback to using gpgv1 for now
Thierry Parmentelat [Wed, 26 Feb 2020 15:39:56 +0000 (16:39 +0100)]
exclude pycached files
Thierry Parmentelat [Thu, 13 Jun 2019 06:26:06 +0000 (08:26 +0200)]
trigger renew-reminder on a fixed time - still needs to be enabled/started
Thierry Parmentelat [Tue, 11 Jun 2019 14:55:24 +0000 (16:55 +0200)]
rename script into renew-reminder.py (dash instead of underscore)
added systemctl resources to run this as a systemd timer
also logging is now deferred to journalctl so forget about logrotate
Thierry Parmentelat [Tue, 11 Jun 2019 14:40:41 +0000 (16:40 +0200)]
rewritten renew_reminder script
previous version was not working after port to python3
---
in addition, a PLCAPI Message is searched with filter
{'message_id': "renew_reminder_addition"}
if found, this is appended to the hard-wired message in renew_reminder
Thierry Parmentelat [Tue, 9 Apr 2019 13:34:49 +0000 (15:34 +0200)]
the apache 2.2/2.4 compat layer was broken because of apachectl not behaving like it used to
Thierry Parmentelat [Mon, 7 Jan 2019 14:14:17 +0000 (15:14 +0100)]
Setting tag myplc-7.0-0
suitable for python3 on both f27 and f29
parmentelat [Tue, 18 Dec 2018 14:34:30 +0000 (15:34 +0100)]
dns-config still had occurrences of file()
parmentelat [Fri, 14 Dec 2018 12:13:12 +0000 (13:13 +0100)]
killproc no longer available in image
parmentelat [Fri, 14 Dec 2018 12:06:17 +0000 (13:06 +0100)]
open with mode 'ro' seems undocumented
parmentelat [Fri, 14 Dec 2018 12:05:53 +0000 (13:05 +0100)]
oops, one fragment had been oversimplified when porting to python3
parmentelat [Thu, 13 Dec 2018 20:02:08 +0000 (21:02 +0100)]
an attempt to fix mtail that had mixed tabs and spaces
parmentelat [Thu, 13 Dec 2018 20:01:51 +0000 (21:01 +0100)]
httpd config can also deal with the python3 wsgi module
parmentelat [Thu, 13 Dec 2018 16:36:18 +0000 (17:36 +0100)]
this is the python3 branch, so always use python3-mod_wsgi
parmentelat [Thu, 13 Dec 2018 15:11:43 +0000 (16:11 +0100)]
a little nicer db-config
parmentelat [Thu, 13 Dec 2018 15:04:45 +0000 (16:04 +0100)]
fix 'make sync'
parmentelat [Thu, 13 Dec 2018 09:28:02 +0000 (10:28 +0100)]
autopep8
parmentelat [Thu, 13 Dec 2018 09:27:55 +0000 (10:27 +0100)]
get rid of the codecs library, that caused bytes vs str issues, for no benefit; means all is utf-8
parmentelat [Wed, 12 Dec 2018 14:37:20 +0000 (15:37 +0100)]
/usr/bin/env python3
parmentelat [Wed, 12 Dec 2018 14:13:10 +0000 (15:13 +0100)]
fix install stage in specfile
parmentelat [Wed, 12 Dec 2018 14:08:46 +0000 (15:08 +0100)]
2to3 on accessory scripts
parmentelat [Wed, 12 Dec 2018 14:08:15 +0000 (15:08 +0100)]
remove more refs to python2
parmentelat [Wed, 12 Dec 2018 13:57:24 +0000 (14:57 +0100)]
use rpm macro python3_sitelib instead of homebrewed PYTHON_SITEARCH that was for python2
parmentelat [Wed, 12 Dec 2018 13:52:08 +0000 (14:52 +0100)]
autopep8'ed
parmentelat [Wed, 12 Dec 2018 13:50:12 +0000 (14:50 +0100)]
install in python3 library
parmentelat [Wed, 12 Dec 2018 12:56:45 +0000 (13:56 +0100)]
2to3
parmentelat [Mon, 10 Dec 2018 16:25:05 +0000 (17:25 +0100)]
still on the specfile; rpm doc about subpackages is not too exactly crystal clear..
parmentelat [Mon, 10 Dec 2018 14:51:15 +0000 (15:51 +0100)]
fix spec
parmentelat [Mon, 10 Dec 2018 14:46:58 +0000 (15:46 +0100)]
fix spec
parmentelat [Mon, 10 Dec 2018 14:45:03 +0000 (15:45 +0100)]
fix spec
parmentelat [Mon, 10 Dec 2018 14:41:24 +0000 (15:41 +0100)]
split myplc into myplc-core (api + www only) and myplc proper (which becomes a meta-package only)
parmentelat [Mon, 10 Dec 2018 10:14:53 +0000 (11:14 +0100)]
fixes to the service file; + former stub /etc/init.d/plc becomes /usr/bin/plc-ctl
parmentelat [Fri, 7 Dec 2018 15:58:02 +0000 (16:58 +0100)]
spaces
parmentelat [Fri, 7 Dec 2018 15:57:56 +0000 (16:57 +0100)]
startup scripts : assume initscripts is not installed, only use systemctl
parmentelat [Fri, 7 Dec 2018 15:56:57 +0000 (16:56 +0100)]
tweaked service file
parmentelat [Fri, 7 Dec 2018 15:56:16 +0000 (16:56 +0100)]
systemd services go in /usr/lib/systemd/system rather than /lib/<same>
parmentelat [Fri, 7 Dec 2018 15:55:26 +0000 (16:55 +0100)]
mod_wsgi now called python2-mod_wsgi
parmentelat [Thu, 8 Mar 2018 13:45:48 +0000 (14:45 +0100)]
restart php-fpm if it gets configured
parmentelat [Thu, 8 Mar 2018 12:08:38 +0000 (13:08 +0100)]
fix for configuring php-fpm like php on f27
Thierry Parmentelat [Thu, 22 Feb 2018 07:56:44 +0000 (08:56 +0100)]
better handling of the php-fpm dependency
Thierry Parmentelat [Fri, 16 Feb 2018 13:05:46 +0000 (14:05 +0100)]
explicitly enable and start php-fpm when the rpm is found
Thierry Parmentelat [Tue, 13 Feb 2018 19:38:39 +0000 (20:38 +0100)]
tweak httpd service script for f27 - ${!http_port} issues "bad substitution" in some new cases
Thierry Parmentelat [Tue, 13 Feb 2018 11:07:33 +0000 (12:07 +0100)]
review code for checking certificates
more robust for spaces around = in fragments like
CN=r2labapi.inria.fr
can now deal with e.g.
CN = r2labapi.inria.fr
Thierry Parmentelat [Sun, 16 Jul 2017 12:17:04 +0000 (14:17 +0200)]
Setting tag myplc-5.3-4
takes care of creating plcapi log file
Thierry Parmentelat [Sun, 16 Jul 2017 12:16:17 +0000 (14:16 +0200)]
tweaks
Thierry Parmentelat [Wed, 15 Feb 2017 11:23:52 +0000 (12:23 +0100)]
httpd takes care of /var/log/plcapi.log and permissions
Thierry Parmentelat [Thu, 29 Oct 2015 21:34:29 +0000 (22:34 +0100)]
script for spotting and trashing zombie containers
Thierry Parmentelat [Wed, 18 Feb 2015 10:17:21 +0000 (11:17 +0100)]
Setting tag myplc-5.3-3
tweaked renew_reminder for federation
Thierry Parmentelat [Mon, 8 Dec 2014 14:30:29 +0000 (15:30 +0100)]
tweaked renew_reminder so that sfa_created persons don't receive such mails
Thierry Parmentelat [Fri, 21 Mar 2014 15:14:31 +0000 (16:14 +0100)]
Setting tag myplc-5.3-2
tweaks in check-hrns.py
do not require PyXML any more
Thierry Parmentelat [Thu, 9 Jan 2014 11:46:05 +0000 (12:46 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myplc
Thierry Parmentelat [Thu, 9 Jan 2014 11:45:52 +0000 (12:45 +0100)]
turn off dependency to PyXML (which belonged in plcapi amyway)
Mohamed Larabi [Fri, 13 Dec 2013 15:50:13 +0000 (16:50 +0100)]
check-hrns.py: Ciro fix
Mohamed Larabi [Fri, 13 Dec 2013 09:04:57 +0000 (10:04 +0100)]
check-hrn.py keeps silent unless option verbose is set
Thierry Parmentelat [Tue, 10 Dec 2013 07:42:56 +0000 (08:42 +0100)]
Setting tag myplc-5.3-1
review check-hrns for plcapi-5.3
add PLC_HRN_ROOT in usual plc-config-tty's settings
Thierry Parmentelat [Tue, 10 Dec 2013 07:35:48 +0000 (08:35 +0100)]
bump version to 5.3
Mohamed Larabi [Thu, 5 Dec 2013 12:58:39 +0000 (13:58 +0100)]
check_hrns.py: external Sites are tagged with sfa_created=='True'
Mohamed Larabi [Wed, 13 Nov 2013 14:00:53 +0000 (15:00 +0100)]
remove check-hrns from the PLC startup sequence
Mohamed Larabi [Tue, 12 Nov 2013 16:28:26 +0000 (17:28 +0100)]
Add PLC_HRN_ROOT to usual config variables
Mohamed Larabi [Tue, 12 Nov 2013 16:17:50 +0000 (17:17 +0100)]
check-hrns: slice_ids needs to be in GetSites return values
Mohamed Larabi [Tue, 12 Nov 2013 15:51:37 +0000 (16:51 +0100)]
check-hrns: Rollback and use SFA_HRN_ROOT as toplevel
Mohamed Larabi [Tue, 12 Nov 2013 14:36:41 +0000 (15:36 +0100)]
Check/Set HRNs of Sites/Slices/Persons at PLC startup
Mohamed Larabi [Tue, 12 Nov 2013 14:35:02 +0000 (15:35 +0100)]
check-hrns: Use SFA_INTERFACE_HRN as toplevel if possible
Mohamed Larabi [Thu, 7 Nov 2013 16:53:08 +0000 (17:53 +0100)]
check-hrns: 2nd pass fixes
Mohamed Larabi [Thu, 7 Nov 2013 15:39:29 +0000 (16:39 +0100)]
check-hrns: external sites starts with "sfa:"
Mohamed Larabi [Mon, 4 Nov 2013 11:36:08 +0000 (12:36 +0100)]
Check/set Sites HRN
Thierry Parmentelat [Thu, 10 Oct 2013 15:46:27 +0000 (17:46 +0200)]
Setting tag myplc-5.2-5
reduce the scope of check-hrns.py script, now that the SFA layer handles this natively
add an rpm-sign dependency on feedora>=16
Mohamed Larabi [Thu, 10 Oct 2013 14:16:09 +0000 (16:16 +0200)]
Excluse external sites created through sfa from the HRN check.
Check slice HRN as well.
Thierry Parmentelat [Tue, 8 Oct 2013 10:01:25 +0000 (12:01 +0200)]
add dep. to rpm-sign - cleanup cron-related business only relevant for old distros
Thierry Parmentelat [Fri, 28 Jun 2013 06:02:44 +0000 (08:02 +0200)]
Setting tag myplc-5.2-4
drop PLC_OMF_XMPP_{USER,PASSWORD} from config
Thierry Parmentelat [Thu, 27 Jun 2013 18:16:21 +0000 (20:16 +0200)]
drop PLC_OMF_XMPP_USER and PLC_OMF_XMPP_PASSWORD from config
Thierry Parmentelat [Tue, 23 Apr 2013 09:47:41 +0000 (11:47 +0200)]
Setting tag myplc-5.2-3
plc.d/gpg now does not rm /dev/random but preserves it
this is because libvirt won't let us run mknod
Thierry Parmentelat [Mon, 22 Apr 2013 12:49:39 +0000 (14:49 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/myplc
Thierry Parmentelat [Mon, 22 Apr 2013 12:49:31 +0000 (14:49 +0200)]
workaround for dealing with /dev/random /dev/urandom in a libvirt environment that, as of 1.0.4, doesn't allow mknod at all
https://www.redhat.com/archives/libvirt-users/2013-April/msg00163.html
Thierry Parmentelat [Wed, 10 Apr 2013 09:40:26 +0000 (11:40 +0200)]
Setting tag myplc-5.2-2
fix typo in check-hrns - used to print 'host' while dealing with persons
Thierry Parmentelat [Wed, 3 Apr 2013 13:04:20 +0000 (15:04 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/myplc
Thierry Parmentelat [Wed, 3 Apr 2013 12:38:14 +0000 (14:38 +0200)]
cosmetic
Thierry Parmentelat [Thu, 7 Mar 2013 07:45:17 +0000 (08:45 +0100)]
Setting tag myplc-5.2-1
supports httpd config for either mod_python (preferred) or mod_wsgi
requires mod_wsgi on f18 only, otherwise mod_python
supports httpd config for apache 2.4 (f18)
new config variable PLC_FLAVOUR_VIRT_MAP to set 'virt' from fcdistro
Thierry Parmentelat [Thu, 28 Feb 2013 10:18:19 +0000 (11:18 +0100)]
open up /var/log/bm to php so upload-bmlog.php works again
Thierry Parmentelat [Wed, 27 Feb 2013 06:34:56 +0000 (07:34 +0100)]
bump major to 5.2
Thierry Parmentelat [Tue, 26 Feb 2013 16:10:50 +0000 (17:10 +0100)]
introduce PLC_FLAVOUR_VIRT_MAP
Thierry Parmentelat [Sat, 16 Feb 2013 10:18:22 +0000 (11:18 +0100)]
forget about ifmodule, use rpm to figure if mod_python/mod_wsgi are
installed
Thierry Parmentelat [Fri, 15 Feb 2013 16:23:14 +0000 (17:23 +0100)]
specfile requires mod_python up to f16, mod_wsgi above
Thierry Parmentelat [Fri, 15 Feb 2013 16:22:48 +0000 (17:22 +0100)]
httpd creates a plc.conf that can work with mod_python or mod_wsgi
the logic as it is now is to prefer mod_python since that's what
appears to be the most stable
Thierry Parmentelat [Tue, 12 Feb 2013 19:59:18 +0000 (20:59 +0100)]
cosmetic
Thierry Parmentelat [Wed, 6 Feb 2013 15:23:41 +0000 (16:23 +0100)]
knows about apache 2.4 new access scheme
http://httpd.apache.org/docs/2.4/upgrading.html#access
Thierry Parmentelat [Wed, 6 Feb 2013 15:11:45 +0000 (16:11 +0100)]
better varname