Bug 33033 - (Re-)started processes inherit unclean environment(files) from system-setup: CLOEXEC
(Re-)started processes inherit unclean environment(files) from system-setup: ...
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: System setup
UCS 4.2
All Linux
: P5 normal (vote)
: UCS 3.2-x
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-31 11:13 CET by Philipp Hahn
Modified: 2020-07-04 08:49 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.069
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Cleanup, Troubleshooting
Max CVSS v3 score:
hahn: Patch_Available+


Attachments
Add close_fds=True (3.71 KB, patch)
2013-10-31 11:13 CET, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2013-10-31 11:13:52 CET
Created attachment 5544 [details]
Add close_fds=True

root@mas11:/usr/lib/univention-system-setup/scripts# fuser -v /var/log/univention/setup.log
                     BEN.        PID ZUGR.  BEFEHL
/var/log/univention/setup.log:
                     ntp        5883 F.... ntpd
                     root       6037 F.... samba
                     root       6042 F.... nmbd
                     root       6043 F.... nmbd
                     root       6068 F.... samba
                     root       6069 F.... smbd
                     root       6070 F.... samba
                     root       6071 F.... samba
                     root       6072 F.... samba
                     root       6073 F.... samba
                     root       6074 F.... samba
                     root       6075 F.... samba
                     root       6076 F.... samba
                     root       6077 F.... samba
                     root       6078 F.... samba
                     root       6079 F.... samba
                     root       6118 F.... smbd
# lsof -p 6074 | grep setup
samba   6074 root    3u   REG              254,2     4316 270508 /var/log/univention/management-console-module-setup.log
samba   6074 root    6w   REG              254,2    95082 263987 /var/log/univention/setup.log
Comment 1 Ingo Steuwer univentionstaff 2020-07-03 20:52:13 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
Comment 2 Philipp Hahn univentionstaff 2020-07-04 08:49:27 CEST
This will be fixed with UCS-5, as there we will always use systemd, which provides a clean environment always.