-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Hardcoded Redis socket path #51
Copy link
Copy link
Open
Labels
Description
Hi,
While working on a SONiC snap, I hit the hardcoded path to the Redis unix socket. It's defined in header files at build time and ends up in a number of daemons (syncd etc.) and libs (libsairedis). This makes it impractical to relocate SONiC, to have multiple versions of it on the same box or to integrate into a different FS layout.
It would be nice to have a runtime override for the path, either an environment variable (SONIC_REDIS_URL?) or a command-line flag that would have to be passed to each program using Redis (--redis-url).
Thanks,
-- Loïc Minier
Reactions are currently unavailable