WAPT release 1.3.8

Question about WAPT Server / Requêtes et aides autour du serveur Wapt
Règles du forum
Règles du forum communautaire
* English support on www.reddit.com/r/wapt
* Le support communautaire en français se fait sur ce forum
* Merci de préfixer le titre du topic par [RESOLU] s'il est résolu.
* Merci de ne pas modifier un topic qui est taggé [RESOLU]. Ouvrez un nouveau topic en référençant l'ancien
* Préciser version de WAPT installée, version complète ET numéro de build (2.2.1.11957 / 2.2.2.12337 / etc.) AINSI QUE l'édition Enterprise / Discovery
* Les versions 1.8.2 et antérieures ne sont plus maintenues. Les seules questions acceptées vis à vis de la version 1.8.2 sont liés à la mise à jour vers une version supportée (2.1, 2.2, etc.)
* Préciser OS du serveur (Linux / Windows) et version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019)
* Préciser OS de la machine d'administration/création des paquets et de la machine avec l'agent qui pose problème le cas échéant (Windows 7 / 10 / 11 / Debian 11 / etc.)
* Eviter de poser plusieurs questions lors de l'ouverture de topic, sinon il risque d'être ignorer. Si plusieurs sujet, ouvrir plusieurs topic, et de préférence les uns après les autres et pas tous en même temps (ie ne pas spammer le forum).
* Inclure directement les morceaux de code, les captures d'écran et autres images directement dans le post. Les liens vers les pastebin, les bitly et autres sites tierces seront systématiquement supprimés.
* Comme tout forum communautaire, le support est fait bénévolement par les membres. Si vous avez besoin d'un support commercial, vous pouvez contacter le service commercial Tranquil IT au 02.40.97.57.55
Avatar de l’utilisateur
ssamson
Messages : 245
Inscription : 20 juin 2014 - 10:29

04 nov. 2016 - 15:32

Bonjour à tous,

L'équipe de Tranquil IT Systems a le plaisir de vous proposer la release WAPT 1.3.8. C'est une version mineure qui intègre un grand nombre d'améliorations techniques et ergonomiques à Wapt, ainsi que deux correctifs de sécurité (cf. changelog ci-dessous).

La procédure de mise à jour est décrite ici: https://dev.tranquil.it/scenari/guide_u ... _Wapt.html

Si vous avez des questions lors de la mise à jour, vous pouvez trouver de l'aide sur le forum https://forum.tranquil.it/ ou sur la mailing liste https://lists.tranquil.it/listinfo/wapt

Cordialement,

L'équipe TIS

=Changelog=
Security :

[SECURITY] Fix inheritance of rights on wapt root folder for Windows 10 during setup when installed in c:\wapt
On Windows 10, cacls.exe does not work and don't remove "Authenticaed Users" from c:\wapt. cacls.exe has been replaced by icacls.exe.
On pre-wapt 1.3.7 systems, you can fix this by running the following command, or upgrade to wapt 1.3.8 (you may check http://dev.tranquil.it/wiki/WAPT_-_prob ... Windows_10) :
icacls.exe c:\wapt /inheritance:r
This can be achieved with a GPO, or a wapt package
Note : in next versions of Wapt, the default install path of wapt will be changed from root folder c:\wapt to a more standard c:\ Program FIles\wapt.
By default, waptsetup.exe / waptsetup-tis.exe don't distribute certificates to avoid to deploy directly packages from Tranquil IT Systems. waptagent.exe by default distributes the certificates that are installed on the mangement desktop creating the waptagent.

Core changes

The database structure has changed between 1.3.8 and 1.3.8.2 to includes additional attributes from packages : signer, signer_fingerprint, locale, and maturity. Signer and signer_fingerprint are populated when signing the package to identify the origin.
This means local wapt database is upgrade when first starting wapt 1.3.8.2 and this is not backward compatible.
Installers have a limited set of options, the most common use of Wapt is priviledged.
[ADD] 3 new parameters for the waptexit policy behaviour : 'hiberboot_enabled','max_gpo_script_wait','pre_shutdown_timeout'
recommended settings for waptexit / shutdown policy
# hiberboot_enabled = 0
# max_gpo_script_wait = 180
# pre_shutdown_timeout = 180
These parameters are not set by default and should be added to wapt-get.inin [global] section if needed
[UPD] Use user's waptconsole.ini configuration file instead of wapt-get.ini for the commands targeted to package development ('sources','make-template', 'make-host-template','make-group-template','build-package','sign-package','build-upload','duplicate','edit','edit-host','upload-package','update-packages'. This avoids the need to write these parameters in wapt-get.ini on the development workstation. These parameters are not shared across multiple users on same machine. One use case is to allow multiple profiles (key, upload location) depending on the maturity of package (development, test, production...)

Setuphelpers

[ADD] helper functions dir_is_empty, file_is_locked, service_restart and WindowsVersions class
[UPD] Added referer and user_agent in "wget" and "wgets"
[UPD] run function : define stdin as PIPE to avoid lockup process waiting for input or error like unable to duplicate handle when using for example powershell
[UPD] Version class : try to compare version using at least Version.members_count
[FIX] encoding fixes for registry functions, fix encoding for registry_setstring key name
[FIX] install_exe_if_needed : don't check uninstall_key or min_version if not provided
[FIX] install_exe_if_needed and install_msi_if_needed version check if --force
[UPD] Check version and uninstall key after install with install_msi_if_needed and install_exe_if_needed
[UPD] inventory includes informations from WMI.Win32_OperatingSystem
[ADD] get_disk_free_space helper function
[UPD] check free disk space when downloading with wget. check http status before.
[UPD] Version class : Version('7')<Version('7.1') should return True

wapt-get

[ADD] 2 commands to get server SSL certificate and activate the certificate checking when using https with waptserver
{FIX] get_sources to allow svn checkout of a new ppackage project
[FIX] wapt-get register problems with some BIOS with bitmaps
[UPD] Check uninstall key after package install if uninstallkey is provided
[FIX] added compatibility OS in manifest file for wapt-get and waptconsole version windows
[FIX] erroneous error messages for wapt-get session-setup console
[UPD] add "pattern" parameter to all_files function
[FIX] Install Date incorrectly registered by setuphelpers.register_uninstall
[ADD] user_local_appdata function
[ADD] add the signer CN and signer_fingerprint to control file when building package
[ADD]add control attributes min_wapt_version to trigger an exception if Package requires a minimum level of libraries. The version is checked againts setuphelpers.py 's __version__ attribute.
[ADD] authorized_certificates attribute is sent to wapt server. It contains the list of host's signer certificates distributed on the host
[FIX] When signing, check if wapt zip file has already a signature file. (python zipfile can not replace the file inline)

waptservice

{ADD] Show all versions checkbox in Available packages page
[UPD] Skin updated
{ADD] filter searchbox for avalable packages

waptconsole

[ADD]Add NOT checkbox for keywords search in waptconsole to search for hosts NOT having a specific package or software...
[FIX] fix integer limit for grid display of package size, use int64 for size of packages in waptconsole.
[UPD] don't list packages of section "restricted" in local webservice available packages list
[UPD] CommonName attribute should be populated now, so that signer identity is not None in package control file.
[ADD] signer's identity column in packages grid
[FIX] escape quotes in package's description
[ADD] Check waptagent.exe version against waptsetup-tis version at waptconsole startup.
[UPD] try to display a progress dialog at waptconsole startup
[FIX] company not set when building customized waptagent.exe
[ADD] initialize organization in waptagent.exe build with CN from certificate.

waptexit

[UPD] some text introduction changes

waptray :

[NEW] Limit trayicon balloon popup when Windows version is above Windows 7 or if notify_user=0 in wapt-get.ini

waptserver

[UPD] Use broadcast address on interface for wakeonlan call
[FIX] remove the check of wapt server password which prevent the proper registration of waptserver on Windows.
[UPD] when upgrading, reuse existing waptserver ini file if already exists, don't overwrite server_uuid and ask for password reset if it already exists

waptdeploy/waptupgrade

[FIX] waptdeploy not working on WinXP removed DisableWow64FileSystemRedir on runtask.
[FIX] waptupgrade : Missing quotes for system account on Windows XP

Libraries

[ADD] BeautifulSoup for wapt packages auto updates tasks
[UPD] winsys library update to '1.0b1'
Steven Samson - Tranquil IT Systems
N'hésitez pas à nous laisser votre avis sur Wapt dans le forum, ou à répondre à nos questionnaires :).
Dylan
Messages : 20
Inscription : 09 juin 2016 - 10:28

07 nov. 2016 - 11:15

Bonjour,

Mise à jour faite. Pour l'instant pas de problème tout est OK. Bon maintenant il faut que je regarde ce qu'apporte cette nouvelle version.

Dylan
Avatar de l’utilisateur
Aguay
Messages : 27
Inscription : 22 mai 2015 - 16:20

08 nov. 2016 - 17:08

Bravo pour cette nouvelle mouture !

La maj c'est très bien passé a la mesure près que la mise à jour a changé le owner de tout mes dossier wapt.

Le user utilisé pour le webserver n'est pas wapt pour ma part et ça a override le user en place.

Donc si dans la console vous ne voyez pas la liste des paquets c'est peut être à cause de cela.

Ce n'est pas grand chose mais ca permettra peut être à certains admins' d'éviter de chercher trop longtemps ;)

Super boulot en tout cas.
Verrouillé