From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
To: buildroot@buildroot.org
Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com>,
Julien Olivain <ju.o@free.fr>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
James Hilliard <james.hilliard1@gmail.com>,
Fiona Klute <fiona.klute@gmx.de>
Subject: [Buildroot] [PATCH v3 1/6] package/python-web2py: keep the admin password at boot
Date: Thu, 19 Nov 2026 10:56:24 +0100 [thread overview]
Message-ID: <20261119095629.1990220-1-angelo.compagnucci@gmail.com> (raw)
In-Reply-To: <20261031143617.445438-1-angelo.compagnucci@gmail.com>
S51web2py starts web2py with -a '"<recycle>"'. The single quotes keep
the double quotes, so web2py gets "<recycle>" with the quotes, and not
the <recycle> keyword, which keeps the current password. web2py then
takes "<recycle>" as the new admin password, and overwrites the one set
at build time by BR2_PACKAGE_PYTHON_WEB2PY_PASSWORD.
Drop the double quotes. The systemd unit is right: it passes
-a '<recycle>', and systemd removes the single quotes.
The bug is there since the package was added, in commit 7c0fab65aa
("package/python-web2py: new package").
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
Changes v2 -> v3:
- new patch: the new runtime test found this bug
package/python-web2py/S51web2py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/python-web2py/S51web2py b/package/python-web2py/S51web2py
index 8d229e16cf..11fe912afb 100644
--- a/package/python-web2py/S51web2py
+++ b/package/python-web2py/S51web2py
@@ -6,7 +6,7 @@ case "$1" in
start-stop-daemon -S -q -m -p /run/web2py.pid \
-c www-data \
-b -x /var/www/web2py/web2py.py \
- -- --nogui -a '"<recycle>"' -i 0.0.0.0 -p 8000
+ -- --nogui -a '<recycle>' -i 0.0.0.0 -p 8000
[ $? = 0 ] && echo "OK" || echo "FAIL"
;;
stop)
--
2.53.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-11-19 9:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-30 11:53 [Buildroot] [PATCH] package/python-web2py: bump to version 3.3.3 Angelo Compagnucci
2026-10-30 20:26 ` Julien Olivain via buildroot
2026-10-31 14:36 ` [Buildroot] [PATCH v2 0/2] " Angelo Compagnucci
2026-10-31 14:36 ` [Buildroot] [PATCH v2 1/2] package/python-rocket3: new package Angelo Compagnucci
2026-10-31 14:36 ` [Buildroot] [PATCH v2 2/2] package/python-web2py: bump to version 3.3.3 Angelo Compagnucci
2026-11-19 9:56 ` Angelo Compagnucci [this message]
2026-11-19 9:56 ` [Buildroot] [PATCH v3 2/6] package/python-rocket3: new package Angelo Compagnucci
2026-11-19 9:56 ` [Buildroot] [PATCH v3 3/6] package/python-pydal: bump to version 20261107.0 Angelo Compagnucci
2026-11-19 9:56 ` [Buildroot] [PATCH v3 4/6] package/python-web2py: security bump to version 3.4.1 Angelo Compagnucci
2026-11-19 9:56 ` [Buildroot] [PATCH v3 5/6] package/python-web2py: rework the init script Angelo Compagnucci
2026-11-19 9:56 ` [Buildroot] [PATCH v3 6/6] support/testing: add python-web2py runtime test Angelo Compagnucci
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261119095629.1990220-1-angelo.compagnucci@gmail.com \
--to=angelo.compagnucci@gmail.com \
--cc=buildroot@buildroot.org \
--cc=fiona.klute@gmx.de \
--cc=james.hilliard1@gmail.com \
--cc=ju.o@free.fr \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox