Bug 33029 - setup-join.sh opens scripts/25_defaultlocale/: No such file or directory
setup-join.sh opens scripts/25_defaultlocale/: No such file or directory
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: System setup
UCS 5.0
Other Linux
: P5 minor (vote)
: UCS 5.0
Assigned To: Florian Best
Philipp Hahn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-30 19:40 CET by Arvid Requate
Modified: 2021-05-25 16:02 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2013-10-30 19:40:34 CET
Running setup-join.sh manually (to self-join a master) shows the following (harmless) error message:


=== 15_keyboard/10keyboard (2013-10-24 13:34:37) ===
__NAME__:15_keyboard/10keyboard Einrichten des Tastaturlayouts
=== 20_language/10language (2013-10-24 13:34:37) ===
__NAME__:20_language/10language Erstellen der Locale-Daten
=== 20_language/11default_locale (2013-10-24 13:34:37) ===
__NAME__:20_language/11default_locale Setzen der Standard-Locale
run-parts: failed to open directory /usr/lib/univention-system-setup/scripts/25_defaultlocale/: No such file or directory
Comment 1 Arvid Requate univentionstaff 2013-10-30 19:42:47 CET
Another one:

run-parts: failed to open directory /usr/lib/univention-system-setup/scripts/45_modules/: No such file or directory
Comment 2 Stefan Gohmann univentionstaff 2017-06-16 20:37:51 CEST
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4.

If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
Comment 3 Florian Best univentionstaff 2020-06-18 10:35:40 CEST
Still happening with UCS 5.0.
Comment 4 Florian Best univentionstaff 2020-06-18 10:39:53 CEST
Another one:
=== 10_basis/18root_password (2020-06-18 10:23:06) ===
__NAME__:10_basis/18root_password Einrichten des Root-Passworts
/usr/lib/univention-system-setup/scripts/setup-join.sh: Zeile 159: /usr/lib/univention-system-setup/scripts/10_basis/20initscripts: Datei oder Verzeichnis nicht gefunden
Comment 5 Florian Best univentionstaff 2020-06-18 15:07:15 CEST
(In reply to Florian Best from comment #4)
> Another one:
> === 10_basis/18root_password (2020-06-18 10:23:06) ===
> __NAME__:10_basis/18root_password Einrichten des Root-Passworts
> /usr/lib/univention-system-setup/scripts/setup-join.sh: Zeile 159:
> /usr/lib/univention-system-setup/scripts/10_basis/20initscripts: Datei oder
> Verzeichnis nicht gefunden
This was removed in git:644330dc55bb33281d1c39c666b0072f6de3b31b (Bug #45896)
Comment 6 Florian Best univentionstaff 2020-09-22 10:57:01 CEST
univention-system-setup (13.0.0-4)
ecf2c5368f80 | Bug #33029: remove obsolete USS scripts paths

changelog-5.0-0.xml
5b0194e073f9 | Changelog Bug #33029
Comment 7 Philipp Hahn univentionstaff 2020-10-15 18:41:37 CEST
(In reply to Florian Best from comment #6)
> univention-system-setup (13.0.0-4)
> ecf2c5368f80 | Bug #33029: remove obsolete USS scripts paths
> 
> changelog-5.0-0.xml
> 5b0194e073f9 | Changelog Bug #33029

The empty directories are for hook scripts supplied by appliances; they must be restored (again):

[5.0-0] 2d32c62f5e Bug #33029 USS: Remove ldif_rewrite.py
 .../scripts/ldif_rewrite.py                        | 144 ---------------------
 1 file changed, 144 deletions(-)

[5.0-0] 9d42d3be64 Bug #33029 USS: Fix execute permissions
 base/univention-system-setup/debian/rules                           | 6 ------
 .../scripts/00_system_setup/10clear_fast_demo_mode_settings         | 0
 .../usr/lib/univention-system-setup/scripts/05_role/10role          | 0
 .../lib/univention-system-setup/scripts/10_basis/18root_password    | 0
 .../usr/lib/univention-system-setup/scripts/10_basis/50uuid         | 0
 .../usr/lib/univention-system-setup/scripts/15_keyboard/10keyboard  | 0
 .../usr/lib/univention-system-setup/scripts/20_language/10language  | 0
 .../univention-system-setup/scripts/20_language/11default_locale    | 0
 .../usr/lib/univention-system-setup/scripts/30_net/10interfaces     | 0
 .../usr/lib/univention-system-setup/scripts/30_net/11primary        | 0
 ...
 20 files changed, 6 deletions(-)

[5.0-0] 4ddd9c0268 Bug #33029 USS: remove obsolete USS scripts paths
 base/univention-system-setup/debian/changelog                       | 6 ++++++
 base/univention-system-setup/debian/rules                           | 6 ++++++
 base/univention-system-setup/debian/univention-system-setup.dirs    | 2 ++
 .../usr/lib/univention-system-setup/scripts/setup-join.sh           | 4 +++-
 doc/changelog/changelog-5.0-0.xml                                   | 2 +-
 5 files changed, 18 insertions(+), 2 deletions(-)

Package: univention-system-setup
Version: 13.0.1-5A~5.0.0.202010151801

OK: apt install -t apt univention-system-setup
OK: find /usr/lib/univention-system-setup/scripts -type d -empty
OK: run-parts -v /usr/lib/univention-system-setup/scripts/45_modules
OK: find /usr/lib/univention-system-setup/scripts -type f -not -executable
OK: changelog
Comment 8 Florian Best univentionstaff 2021-05-25 16:02:35 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".