#openSUSE Tumbleweed revisión de la semana 20 de 2022
Tumbleweed es una distribución «Rolling Release» de actualización contínua. Aquí puedes estar al tanto de las últimas novedades.

openSUSE Tumbleweed es la versión «rolling release» o de actualización continua de la distribución de GNU/Linux openSUSE.
Hagamos un repaso a las novedades que han llegado hasta los repositorios esta semana.
El anuncio original lo puedes leer en el blog de Dominique Leuenberger, publicado bajo licencia CC-by-sa, en este este enlace:
Esta semana se han publicado 6 snapshots. Solo una de las snapshots falló en los tests. El problema fue que YaST era incapaz de arrancar, lo que hace que falle en las demás pruebas.
Se corrigió el problema y las siguientes snapshots ya se comprobaron sin ninguna incidencia. Las 6 snapshots publicadas fueron: 0512, 0513, 0515, 0516, 0517 y 0518.
Los cambios más reseñables que trajeron a los repositorios fueron:
- KDE Gear 22.04.1
- KDE Frameworks 5.94.0
- GStreamer 1.20.2
- Linux kernel 5.17.7
- PostgreSQL 14.3
- bind 9.18.2
- NetworkManager 1.38.0: NOTA: Los usuarios que actualizaron con la opción –no-recommends o con las recomendaciones inhabilitadas en la configuración de zypp pudieron sufrir un corte en la conexión wifi. Hay que instalar NetworkManager-wifi (ese paquete está bajo revisión en Bugzilla)
Y para próximas actualizaciones podremos encontrar:
- Perl 5.34.1
- Linux kernel 5.17.9
- Mozilla Firefox 101
- Mesa 22.1.0
- Python 3.10 como intérprete principal de Python
Si quieres estar a la última con software actualizado y probado utiliza openSUSE Tumbleweed la opción rolling release de la distribución de GNU/Linux openSUSE.
Mantente actualizado y ya sabes: Have a lot of fun!!
Enlaces de interés

——————————–
Zabbix agent 自動註冊 與 openSUSE Leap 15.3 Zabbix agent 2 安裝小記
Zabbix agent 自動註冊 與 openSUSE Leap 15.3 Zabbix agent 2 安裝小記
OS: openSUSE Leap 15.3 in Azure
Zabbix: 6.0 docker image
上次的文章寫了在 GCP 上面架設 Zabbix Server with container + Cloud SQL + LB 方式
今天這一篇文章要來講 2 個部份
在 Zabbix 上面設定自動註冊機制, 讓 Active 方式的 Zabbix Agent 自動註冊主機, 套用 Host Group 以及設定 Template.
openSUSE Leap Linux 安裝 zabbix agent 2 來對 Zabbix Server 進行註冊
首先來談談 Zabbix 的自動註冊機制
想法
透過不同的 Metadata 關鍵字將主機註冊到
不同的主機群組 / 套用不同的 Template
初步規劃, 來自不同的雲平台加到到不同的 Host Group
也可以進一步將主機加到不同的專案 Host Group, 看看需求來規劃
依據專案需求來套用要監控的 Template
首先來建立 Host group
登入 Zabbix 管理介面
點選 Configuration -- > Host groups
點選右上角的 Create host group
輸入 名稱
點選 Add
確認 Host group 已經建立
接下來設定自動註冊機制
點選 Configuration -- > Actions -- > Autoregistration actions
點選右上角的 Create action
輸入 名稱
點選 Add
Type: 選取 Host metadata
Operator: Contains
Value: 輸入 AzureHost
點選 Add
這邊就是設定自動註冊的條件, 就是 Zabbix Agent 來進行註冊的時候, 如果他的 Metadata 有包含 AzureHost 這個關鍵字, 就符合自動註冊的條件
確認已經設定完成
接下來設定自動註冊要套用的行為
點選 Operations
點選 Operations 的 Add
點選 Operation 的 Add host
點選 Add
觀察設定, 再次點選 Add
點選 Operation 的 Add to host group
點選 Host groups 的 Select 按鈕, 選取要加入的 Host group
點選 Add
觀察設定, 再次點選 Add
點選 Operation 的 Link to template
點選 Templates 的 Select 按鈕, 選取要套用的 Template
點選 Add
確認相關資訊
點選下方的 Add 完成設定
觀察相關設定
可以套用多個 Host Group 或是 Template, 請依照實際的需求來設定
這樣就完成 Zabbix 的自動註冊機制
接下來我們來進行 openSUSE Zabbix 的安裝
參考官方網頁
openSUSE Leap 的部份就套用 SUSE Enterprise Server 就可以
登入 openSUSE Leap, 切換身份為 root
安裝 Zabbix 套件
# rpm -Uvh --nosignature https://repo.zabbix.com/zabbix/6.0/sles/15/x86_64/zabbix-release-6.0-1.sles15.noarch.rpm
這個動作其實是將 Zabbix 的 repos 安裝進來
匯入 GPG Key
# zypper --gpg-auto-import-keys refresh 'Zabbix Official Repository'
Automatically importing the following key:
Repository: Zabbix Official Repository
Key Fingerprint: A184 8F53 52D0 22B9 471D 83D0 082A B56B A14F E591
Key Name: Zabbix LLC <packager@zabbix.com>
Key Algorithm: RSA 2048
Key Created: Fri Jul 15 05:39:09 2016
Key Expires: (does not expire)
Subkey: DF517F33E709712C 2016-07-15 [does not expire]
Rpm Name: gpg-pubkey-a14fe591-578876fd
Note: A GPG pubkey is clearly identified by it's fingerprint. Do not rely the keys name. If you
are not sure whether the presented key is authentic, ask the repository provider or check his
web site. Many provider maintain a web page showing the fingerprints of the GPG keys they are
using.
Retrieving repository 'Zabbix Official Repository' metadata .......................................................[done]
Building repository 'Zabbix Official Repository' cache ............................................................[done]
Specified repositories have been refreshed.
安裝 zabbix agent 2
# zypper install zabbix-agent2
接下來修改相關設定檔
# vi /etc/zabbix/zabbix_agent2.conf
修改相關設定
ServerActive=YOUR_ZABBIX_IP
#Hostname=Zabbix server
HostnameItem=system.hostname
HostMetadata=AzureHost
將ServerActive 設定為 Zabbix Server IP 或是 之前文章的 L4 LB IP
註解 Hostname, 因為我們要使用 HostnameItem 來自動帶入主機名稱
取消註解 HostnameItem, 他會帶入主機的名稱來登記
取消註解 HostMetada, 帶入剛剛自動註冊設定的 Metadata 內容
觀察設定資訊
# egrep -v '^#|^$' /etc/zabbix/zabbix_agent2.conf
PidFile=/var/run/zabbix/zabbix_agent2.pid
LogFile=/var/log/zabbix/zabbix_agent2.log
LogFileSize=0
Server=127.0.0.1
ServerActive=YOUR_ZABBIX_IP
HostnameItem=system.hostname
HostMetadata=AzureHost
Include=/etc/zabbix/zabbix_agent2.d/*.conf
ControlSocket=/tmp/agent.sock
Include=./zabbix_agent2.d/plugins.d/*.conf
啟動 Zabbix Agent 2 並設定開機啟動
# systemctl start zabbix-agent2
# systemctl status zabbix-agent2
# systemctl enable zabbix-agent2
可從 log 查詢相關資訊
# tail /var/log/zabbix/zabbix_agent2.log
接下來可以到 Zabbix 的管理介面觀察是否有被加入
同場加映: 使用 Zabbix Agent with container 方式如何自動註冊
參考之前的文章, 來設定 Zabbix Agent
作法如下
# docker run --name test-20220520-2 \
-e ZBX_HOSTNAME="test-20220520-2" \
-e ZBX_ACTIVESERVERS="YOUR_ZABBIX_IP" \
-e ZBX_METADATA="AzureHost" \
--privileged \
--restart unless-stopped \
-d zabbix/zabbix-agent2:alpine-6.0-latest
這邊跟上篇文章的差異就是, 有使用 ZBX_METADATA 使用 metadata 配合自動註冊來加入
也可以使用 docker logs 指令來觀察相關資訊
# docker logs test-20220520-2
又向 Zabbix 前進一步
~ enjoy it
References
https://sakananote2.blogspot.com/2022/05/zabbix-server-60-with-container-in-gcp.html
https://sakananote2.blogspot.com/2022/03/zabbix-agent2-60-with-container-in-azure.html
openSUSE Tumbleweed – Review of the week 2022/20
Dear Tumbleweed users and hackers,
This week, we released 6 snapshots. One snapshot hit reached the (negative) record of most failed tests in one run. The issue was simply that YaST was unable to start, which for rather obvious reasons impacts almost all tests. This could swiftly be corrected and the following snapshot already worked again. The 6 published snapshots were 0512, 0513, 0515, 0516, 0517, and 0518.
The main changes included in those snapshots are:
- KDE Gear 22.04.1
- KDE Frameworks 5.94.0
- GStreamer 1.20.2
- Linux kernel 5.17.7
- PostgreSQL 14.3
- bind 9.18.2
- NetworkManager 1.38.0: NOTE: Users upgrading with –no-recommends or recommends disabled in the zypp config, might lose wifi connection. Install NetworkManager-wifi (that specific split is under review in Bugzilla)
The main changes being worked on in Stagings are currently:
- Setting build flags to FORTIFY_SOURCE=3 (starting from snapshot 0519). No full rebuild will be done for this, the packages will get that feature on their next natural rebuild
- Perl 5.34.1
- Linux kernel 5.17.9
- Mozilla Firefox 101
- Mesa 22.1.0
- Python 3.10 as the default interpreter
Lanzada la beta de Plasma 5.25, con mejoras táctiles
Una vez finalizado el periodo de mantenimiento de Plasma 5.24 es hora de ir preparando el lanzamiento de la siguiente versión. Es por ello que me complace compartir con vosotros que ha sido lanzada la beta de Plasma 5.25 la próxima versión del escritorio de la Comunidad KDE que nos llega con mejoras para los dispositivos táctiles, entre otras muchas pequeñas novedades. Es el momento de que esta beta sea probada y que se reporten los errores que se encuentren. ¡No pierdas la oportunidad de contribuir al desarrollo de Plasma!
Lanzada la beta de Plasma 5.25, con mejoras táctiles
Hoy 19 de mayo ha sido lanzada la beta de Plasma 5.25. En esta segunda versión liberada del 2022, no apta todavía para el usuario que busquen estabilidad, sigue centrado en que el escritorio de la Comunidad KDE siga mejorando en aspecto, funcionalidades y usabilidad, poniendo el foco en los dispositivos táctiles.
En palabras de sus desarrolladores:
Hoy os presentamos la versión previa de Plasma 5.25 del escritorio de la Comunidad KDE. Plasma 5.25 beta está destinado a los beta-testers, desarrolladores y cazadores de errores.
Para ayudar a los desarrolladores de KDE a corregir errores y solucionar problemas, os debéis instalar Plasma 5.25 beta y realizar las pruebas de las características listadas debajo. Por favor, informáis los errores a nuestra página de bugs.
¡Celebraremos un día de revisión de Plasma 5.25 beta el 26 de mayo (los detalles se publicarán en nuestras redes sociales) y podéis uniros a nosotros durante un día de busca de errores, triaje y resolución junto a los desarrolladores de Plasma!
La versión final de Plasma 5.25 estará disponible al público en general el 14 de junio.
Pruébalo y reporta errores

Todas las tareas dentro del mundo del Software Libre son importantes: desarrollar, traducir, empaquetar, diseñar, promocionar, etc. Pero hay una que se suele pasar por alto y de la que solo nos acordamos cuando las cosas no nos funcionan como debería: buscar errores.
Desde el blog te animo a que tú seas una de las personas responsables del éxito del nuevo lanzamiento de Plasma 5.25 de la Comunidad KDE. Para ello debes participar en la tarea de buscar y reportar errores, algo básico para que los desarrolladores los solucionen para que el despegue del escritorio esté bien pulido. Debéis pensar que en muchas ocasiones los errores existen porque no le han aparecido al grupo de desarrolladores ya que no se han dado las circunstancias para que lo hagan.
Para ello debes instalarte esta beta y comunicar los errores que salgan en bugs.kde.org, tal y como expliqué en su día en esta entrada del blog.
La entrada Lanzada la beta de Plasma 5.25, con mejoras táctiles se publicó primero en KDE Blog.
I will just quickly do a blog post...
I got ”inspired” by my writing of the previous blog post, and wrote in a channel about my experience some time ago. So why not also do a blog post about doing a blog post :)
So… I was planning to use GitLab’s Pages feature via my Hugo fork as usual to push it through. So like, concentrate on writing and do a publish, right, like in good old times? I did so, but all I got both locally and in remote pipeline was stuff like…
"ERROR render of "page" failed: execute of template failed: template: _default/single.html:3:5: executing "_default/single.html" at <partial "head.html" .>: error calling partial: "/git/themes/beautifulhugo/layouts/partials/head.html:33:38": execute of template failed: template: partials/head.html:33:38: executing "partials/head.html" at <.URL>: can't evaluate field URL in type *hugolib.pageState"
Quite helpful, right, and points to the right direction to quickly resolve the issue?
With some googling it turned out everything has changed and stuff is now broken, and meanwhile the approach was re-done (in that and following commits) making everyone’s forks incompatible.
Well, I merged back modifications from there, and noticed there’s another problem, documented as “Generics were introduced in Go 1.18, and they broke some features in the newer versions of Hugo. For now, if you use hugo or hugo_extended versions 0.92.2 or later, you might encounter problems building the website.”. So I went ahead and hard-coded to ages old hugo version, although it then later was revealed it seems to still work for me with newer one as well. The issue is though mentioned in README, and probably leads many to think that’s a cause for their whatever problem, and the issue is still open.
Eventually I got everything working and figured out the settings which naturally had changed. Then I wanted my RSS to be like it was before, non-cut since I knew the cut version worked poorly in Planet.o.o. Naturally this meant I needed to fork the whole theme, declare it as a module of my own to not clash over the upstream, and add the one custom XML file I had hacked together from various sources for the previous theme. This was actually a very pleasant surprise in the end – I randomly guessed I’d paste the file under layouts in my theme fork, and it simply worked the same way it worked in the previous theme!
So problem solved! I think?
Now my emotions regarding Modern Technology were affected by the following, last part too even though it’s not related to Hugo. So, in the end I had everything setup and working, but my post didn’t appear to Planet.o.o. Turns out Planet was also broken, ignoring last 15% of blogs, and I needed to Ruby my way to figure out the workaround 😁
All good in the end, but it turns out there’s no substitute for stable platforms, good documentation and solid user experience even in the days of possibilities of doing git forks, using great languages like Go, having container running pipelines for testing etc - the error messages might be just as unhelpful as ever.
Meanwhile… I updated an association’s 10 year old PHP based Wordpress site (that I got access rights from my fellows who are non-techies) containing the most horrible custom hacks I have seen and no idea who created the site back then – and that site simply upgraded to very latest security patched Wordpress version with zero problems.
Postscriptum: I was not able to publish this blog post, since… you know, stuff had broken again.
panic: languages not configured
goroutine 1 [running]:
github.com/gohugoio/hugo/commands.(*commandeer).loadConfig(0xc0003cc1e0)
/root/project/hugo/commands/commandeer.go:374 +0xb3c
github.com/gohugoio/hugo/commands.newCommandeer(0x0, 0x0, 0x0, 0xc0003cc0f0, {0x28740a0?, 0xc000010d38}, 0x0, {0x0, 0x0, 0x0})
Helpful error messages to rescue again! After staring at awe at the above for some time… remember the warning about Go generics and Hugo versions? Looks like it came into “fruition”, so it was time to hard-code the Hugo version down now. And you are now enjoying the result!
Vídeos de Richard Stallman en la primera Hackers Conference de 1984
La primera Hackers Conference se llevó a cabo en Sausalito, California, en noviembre de 1984. Los realizadores del documental Hackers: Wizards of the Electronic Age entrevistaron a Richard Stallman en el evento.

En el documental incluyeron solo algunas partes de las entrevistas, pero hay más material disponible. Las declaraciones de Stallman en la conferencia fueron más allá de lo que había escrito en el anuncio inicial de GNU el 27 de septiembre de 1983.
Fue en esta conferencia donde Richard Stallman declaró pública y explícitamente por primera vez la idea de que todo el software debe ser libre, y deja en claro que «libre» se refiere a la libertad, no al precio, al decir que el software debe ser de libre acceso para todos.
Esta fue probablemente la primera vez que hizo esa distinción al público.
Stallman continúa explicando por qué está mal aceptar un programa con la condición de no compartirlo con otros.
Entonces, ¿qué se puede decir de un negocio basado en el desarrollo de software no libre y en atraer a otros para que acepten esa condición? Tales cosas son malas para la sociedad y no deberían hacerse en absoluto. (En años posteriores usó una condena más fuerte).
Un extracto de lo que se puede ver en los vídeos:
“Mi proyecto es hacer que todo el software sea libre”.
Que puedes ver en este vídeo entre los segundos 0:00 y 0:03
“Si me ofrecen la oportunidad de usar una pieza de software siempre y cuando esté de acuerdo en no compartirlo con nadie, siento que estaría mal, me lastimaría espiritualmente estar de acuerdo. Así que no quiero que inviertan en software de su propiedad. Y no creo que se justifique nada para animarlos a invertir en software en propiedad. Pienso que el software realmente bueno ha sido creado por hackers informáticos que lo hacían porque les encantaba, porque era una juego de astucia lúdica, y eso continuará en cualquier caso. Creo que hay formas alternativas de hacer arreglos para que una cierta cantidad de dinero se destine a pagar los salarios de las personas, pagándoles para que dediquen su tiempo a escribir programas. Si la gente quiere que se escriban ciertos tipos de programas, pueden idear otras formas de organización (puedo sugerir algunas), pero lo importante es que hay muchas formas alternativas de hacer las cosas. Este ha sido elegido porque hace que las personas que invierten en empresas de software obtengan la mayor cantidad de ganancias de cualquiera de las formas disponibles”.
Enlace al vídeo.
“Imagínese que compras una casa y el sótano estuviera cerrado y solo el contratista original tuviera la llave. Si necesitas hacer algún cambio, reparar algo, tendrías que acudir a él, y si estaba demasiado ocupado haciendo otra cosa, te diría que te esperaras y te quedarías atascado. Estás a merced de esa persona y te oprimes y te resignas. Eso es lo que sucede cuando la organización que lo vende mantiene en secreto los planos de un programa de computadora. Esa es la forma habitual de hacer las cosas”.
Que puedes ver en este vídeo.
Los vídeos están en inglés, pero creo que son interesantes ver cómo comenzó el proyecto del software libre de mano de Richard Stallman.
Tienes toda la información y los enlaces a todos los vídeos en la página del proyecto GNU:

seidl - display current SUSE publiccloud images in your terminal
seidl is a small pint query utility designed to easily list the current publiccloud images in the terminal. Pint (Public Cloud Information Tracker) is the SUSE service to provide data about the current state of publiccloud images across all supported public cloud service providers. The public-cloud-info-client is an already existing versitale client, however I find its usage a bit bulky if it comes to the task of displaying the current images. This is where seidl complements the existing client. See for yourself:
Post-Mortem: Events Table Overflow on May 18, 2022
Combine Base Linux (CBL-Mariner) Kesako ?
Microsoft a plusieurs distributions Linux et CBL-Mariner est l’un d’entre-eux. La V 2.0 est sortie récemment et l’installation est destinée pour les geeks : https://github.com/microsoft/CBL-Mariner et le Cloud Azure pour le shell bash ou powerscript. CBL-Mariner s’installe très bien en VM, dont voici quelques copies d’écran. Un inconvinent de taille : pas de GUI… Previous …
Combine Base Linux (CBL-Mariner) Kesako ?Read More »
The post Combine Base Linux (CBL-Mariner) Kesako ? appeared first on Cybersécurité, Linux et Open Source à leur plus haut niveau | Network Users Institute | Rouen - Normandie.
Forum des Assos 2022 10 sep à Rouen, Normandie
Retrouvez nous et toute la diversité du monde associatif rouennais et inscrivez-vous dans une association lors du Forum des Associations qui se tient samedi 10 septembre 2022 de 10h à 18h sur les quais bas rive gauche entre le pont Guillaume-le-Conquérant et le pont Jeanne-d’Arc. Au plaisir,
The post Forum des Assos 2022 10 sep à Rouen, Normandie appeared first on Cybersécurité, Linux et Open Source à leur plus haut niveau | Network Users Institute | Rouen - Normandie.