Clean /etc/environment
Bug #1500390 reported by
Timo Jyrinki
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Confirmed
|
Wishlist
|
Unassigned | ||
livecd-rootfs (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned | ||
livecd-rootfs (Ubuntu RTM) |
New
|
Wishlist
|
Unassigned |
Bug Description
/etc/environment should be removed, by removing the lines that are not needed and moving needed lines to more appropriate places like ubuntu-
Changed in canonical-devices-system-image: | |
status: | New → Confirmed |
Changed in livecd-rootfs (Ubuntu RTM): | |
importance: | Undecided → Wishlist |
Changed in canonical-devices-system-image: | |
assignee: | John McAleely (john.mcaleely) → nobody |
To post a comment you must log in.
the variables in there stem from a time where the OEM team had a massively hacked up live-build image (even back before any images became available outside of the OEM team, for an image that ran Ubuntu inside an android chroot).
/etc/environemnt needs to only carry PATH by default, nothing else.
to clean up the current mess a joined effort is required between QA and some developer who does the cleaning to actually find out which of these vars are still needed at all. vars that are still needed should be moved to /etc/profile.d snippets or similar, everything else needs to be dropped.