[packagekit] PATH missing in backends

Thomas Wood thomas at openedhand.com
Mon Jan 7 05:47:19 PST 2008


Does anyone know why the PATH environment variable might be unavailable
to a PackageKit backend?

Unfortunately libipkg tries to run 'strdup (getenv ("PATH"))', which
causes a segfault because getenv returns NULL.

Obviously there are several ways to work around this, but I just
wondered why PATH would be missing in the first place.



OpenedHand Ltd.

Unit R Homesdale Business Center / 216-218 Homesdale Road /
Bromley / BR1 2QZ / UK             Tel: +44 (0)20 8819 6559

Expert Open Source For Consumer Devices - http://o-hand.com/

More information about the PackageKit mailing list