Skip to content

Hardcoded Redis socket path #51

@lool

Description

@lool

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions