Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176179 - env-update (from baselayout 2.0.0alpha) doesn't merge correctly /etc/env.d/* files
Summary: env-update (from baselayout 2.0.0alpha) doesn't merge correctly /etc/env.d/* ...
Status: RESOLVED DUPLICATE of bug 176198
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-26 22:35 UTC by Luigi 'Comio' Mantellini
Modified: 2007-04-27 17:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
tarball of env.d directory (env.d.tar.gz,3.23 KB, application/octet-stream)
2007-04-27 17:33 UTC, Luigi 'Comio' Mantellini
Details
profile.env generated with portage's env-update (good) (profile.env,2.46 KB, text/plain)
2007-04-27 17:34 UTC, Luigi 'Comio' Mantellini
Details
file generated with baselayout env-update (bad) (profile.env,2.50 KB, text/plain)
2007-04-27 17:35 UTC, Luigi 'Comio' Mantellini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luigi 'Comio' Mantellini 2007-04-26 22:35:15 UTC
/sbin/env-update, called by bootmisc at boot time, doesn't create correctly the /etc/profile.env file (I think also /etc/profile.* file...).

I have a lot of file in /etc/env.d/ directory with the same "ordinal" prefix (e.g., 04ati-dri-path-amd64 and 04ati-dri-path-x86). When I run env-update (from baselayout package), only some /etc/env.d/* files are considered and merged in the profile.env file. 

From a brief analysis, I think that just one file for ordinal prefix is considered... but I'm not sure.

The issue is not present with env-update provided by portage package.

Thanks a lot in advance for you answer.

luigi

Reproducible: Always

Steps to Reproduce:
1. /sbin/env-update
2. . /etc/profile
3.

Actual Results:  
/etc/profile.env is incomplete (some /etc/env.d/* files are not considered)

Expected Results:  
/etc/profile.env complete considering all /etc/env.d/* files

env-update from portage (used instead) works fine.
/etc/init.d/bootmisc call bugged env-update version.
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-04-26 22:46:20 UTC
Could you attach a tarball of your env.d files and a profile.env generated by both env-updates? Thanks
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-04-27 11:25:08 UTC

*** This bug has been marked as a duplicate of bug 176198 ***
Comment 3 Luigi 'Comio' Mantellini 2007-04-27 17:33:06 UTC
Created attachment 117425 [details]
tarball of env.d directory
Comment 4 Luigi 'Comio' Mantellini 2007-04-27 17:34:07 UTC
Created attachment 117426 [details]
profile.env generated with portage's env-update (good)
Comment 5 Luigi 'Comio' Mantellini 2007-04-27 17:35:05 UTC
Created attachment 117427 [details]
file generated with baselayout env-update (bad)
Comment 6 Luigi 'Comio' Mantellini 2007-04-27 17:36:17 UTC
ops 

too late :D (sorry!)

ciao