Article View: linux.debian.bugs.rc
Article #2784Bug#1153562: droidlysis: Installs generic module 'conf' in shared namespace
From: Stuart Prescott
Date: Tue, 10 Nov 2026 03:20
Date: Tue, 10 Nov 2026 03:20
63 lines
4536 bytes
4536 bytes
Package: droidlysis Version: 3.4.7-1 Severity: serious Justification: Breaks unrelated software X-Debbugs-Cc: stuart@debian.org Dear Maintainer, The installation location for Python modules is a shared namespace across all modules; everything ends up in /usr/lib/python3/dist-packages Python modules should normally try to contain all their files within a top-level namespace directory and need to not take generic names that are likely to clash with other packages. droidlysis ships the following files: droidlysis: /usr/lib/python3/dist-packages/conf/__init__.py droidlysis: /usr/lib/python3/dist-packages/conf/arm.conf droidlysis: /usr/lib/python3/dist-packages/conf/exodustrack.py droidlysis: /usr/lib/python3/dist-packages/conf/general.conf droidlysis: /usr/lib/python3/dist-packages/conf/kit.conf droidlysis: /usr/lib/python3/dist-packages/conf/manifest.conf droidlysis: /usr/lib/python3/dist-packages/conf/smali.conf droidlysis: /usr/lib/python3/dist-packages/conf/sortconf.py droidlysis: /usr/lib/python3/dist-packages/conf/wide.conf droidlysis: /usr/lib/python3/dist-packages/droidconfig.py droidlysis: /usr/lib/python3/dist-packages/droidcountry.py droidlysis: /usr/lib/python3/dist-packages/droidlysis-3.4.7.egg-info/PKG-INFO droidlysis: /usr/lib/python3/dist-packages/droidlysis-3.4.7.egg-info/dependency_links.txt droidlysis: /usr/lib/python3/dist-packages/droidlysis-3.4.7.egg-info/requires.txt droidlysis: /usr/lib/python3/dist-packages/droidlysis-3.4.7.egg-info/top_level.txt droidlysis: /usr/lib/python3/dist-packages/droidlysis3.py droidlysis: /usr/lib/python3/dist-packages/droidproperties.py droidlysis: /usr/lib/python3/dist-packages/droidreport.py droidlysis: /usr/lib/python3/dist-packages/droidsample.py droidlysis: /usr/lib/python3/dist-packages/droidsql.py droidlysis: /usr/lib/python3/dist-packages/droidurl.py droidlysis: /usr/lib/python3/dist-packages/droidutil.py droidlysis: /usr/lib/python3/dist-packages/droidziprar.py There are two issues here: - all of the 'droid*' modules would be more politely grouped into a directory such as droidlysis; this is a minor matter of taste but it is much more idiomatic for the Python world to have a single module with submodules rather than 10 separate modules. - the 'conf' directory should not be shipped at the top level like this at all; shifting it into a submodule of droidlysis would also be better. Polluting the shared namespace with a 'conf' directory is very problematic, hence the severity. Looking at the contents of the files in conf, it's not clear to me that they really should be shipped in the package at all (perhaps in /usr/share/doc/droidlysis/examples/conf/ instead?) as they contain paths to specific versions of tools that clearly refer to the maintainers own machine (see general.conf with all its `~/softs/` paths, for example) It's likely some upstream cooperation is needed to fix this namespacing. regards Stuart
Technical Details
Message-ID:
<NXKyR-aW6X-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Stuart Prescott <stuart@debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1153562: droidlysis: Installs generic module 'conf' in shared namespace Date: Tue, 10 Nov 2026 04:20:01 +0100 Message-ID: <NXKyR-aW6X-3@gated-at.bofh.it> X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Tue Nov 10 03:11:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.9 Reply-To: Stuart Prescott <stuart@debian.org>, 1153562@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: stuart@debian.org, team+python@tracker.debian.org X-Debian-Pr-Message: report 1153562 X-Debian-Pr-Package: droidlysis X-Debian-Pr-Source: droidlysis Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: reportbug 13.2.0 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/837751 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 63 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 10 Nov 2026 14:09:51 +1100 X-Original-Message-ID: <179428019164.722895.9554645589574794344.reportbug@trochilus.nanonanonano.net>