Clean /etc/environment

Bug #1500390 reported by Timo Jyrinki on 2015-09-28
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Wishlist
Unassigned
livecd-rootfs (Ubuntu)
Wishlist
Unassigned
livecd-rootfs (Ubuntu RTM)
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-touch-session.

Oliver Grawert (ogra) wrote :

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.

affects: livecd-rootfs (Ubuntu) → canonical-devices-system-image
Changed in livecd-rootfs (Ubuntu):
importance: Undecided → Wishlist
Oliver Grawert (ogra) wrote :

btw, i wouldnt call this whishlist ... :)

Pat McGowan (pat-mcgowan) wrote :

@john is this for you?

Changed in canonical-devices-system-image:
assignee: nobody → John McAleely (john.mcaleely)
milestone: none → backlog
Changed in canonical-devices-system-image:
status: New → Confirmed
Changed in livecd-rootfs (Ubuntu RTM):
importance: Undecided → Wishlist
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in livecd-rootfs (Ubuntu):
status: New → Confirmed
Changed in canonical-devices-system-image:
assignee: John McAleely (john.mcaleely) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers