Univention Bugzilla – Full Text Bug Listing |
Summary: | Traceback: script not executable | ||
---|---|---|---|
Product: | UCS | Reporter: | Philipp Hahn <hahn> |
Component: | System setup | Assignee: | Johannes Keiser <keiser> |
Status: | CLOSED FIXED | QA Contact: | Florian Best <best> |
Severity: | normal | ||
Priority: | P5 | CC: | best, klaeser |
Version: | UCS 4.1 | Flags: | best:
Patch_Available+
|
Target Milestone: | UCS 4.2-1-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
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): | Cleanup, Error handling, Troubleshooting | |
Max CVSS v3 score: | |||
Bug Depends on: | |||
Bug Blocks: | 28670, 33091 | ||
Attachments: | Catch OSError |
Description
Philipp Hahn
2013-10-08 10:57:49 CEST
Created attachment 5502 [details]
Catch OSError
In which use case does this error happen? Happened to me, too. Only occurs when doing manual interaction in one of the folders. If you locally modify a script there might be a vim .swp file which causes this error. (In reply to Philipp Hahn from comment #1) > Created attachment 5502 [details] > Catch OSError Applied rebased patch: r 80928 univention-system-setup (10.0.10-27) * Bug #32817: Applied patch from Philipp Hahn - Catch OSError for setup scripts YAML: r 80929 r 80930 univention-system-setup (10.0.10-28) * Bug #32817: Applied additional patch - cleanup The patch has been applied only for run_networkscrips() but not for run_scripts() - which was the actual function which should be patched. (In reply to Florian Best from comment #7) > The patch has been applied only for run_networkscrips() but not for > run_scripts() - which was the actual function which should be patched. r 80979 univention-system-setup (10.0.10-30) * Bug #32817: Applied additional patch: Catch OSError in run_scripts (In reply to Johannes Keiser from comment #8) > (In reply to Florian Best from comment #7) > > The patch has been applied only for run_networkscrips() but not for > > run_scripts() - which was the actual function which should be patched. > > r 80979 > univention-system-setup (10.0.10-30) > * Bug #32817: Applied additional patch: Catch OSError in run_scripts r 80981 univention-system-setup (10.0.10-31) * Bug #32817: Cleanup r 80982 univention-system-setup (10.0.10-32) * Bug #32817: Minor cleanup OK: the logs now contain the error instead of a crash. OK: run_scripts OK: run_networkscripts OK: YAML 08.07.17 13:17:40.325 MODULE ( INFO ) : Running script '['/usr/lib/univention-system-setup/scripts/15_keyboard/10keyboard']': pid=15380 08.07.17 13:17:40.389 MODULE ( ERROR ) : Failed to run '['/usr/lib/univention-system-setup/scripts/20_language/.10language.swp']': [Errno 13] Keine Berechtigung 08.07.17 13:17:40.400 MODULE ( INFO ) : Running script '['/usr/lib/univention-system-setup/scripts/20_language/10language']': pid=15387 08.07.17 13:17:40.413 MODULE ( INFO ) : Running script '['/usr/lib/univention-system-setup/scripts/20_language/11default_locale']': pid=15391 08.07.17 13:17:40.434 MODULE ( INFO ) : Running script '['/usr/lib/univention-system-setup/scripts/35_timezone/10timezone']': pid=15395 |