[systemd-devel] [PATCH v2] libudev: fix symbol version for udev_queue_flush() and udev_queue_get_fd()

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Tue Feb 3 06:09:34 PST 2015


On Tue, Feb 03, 2015 at 01:34:23PM +0100, Lennart Poettering wrote:
> On Thu, 29.01.15 15:00, Zbigniew Jędrzejewski-Szmek (zbyszek at in.waw.pl) wrote:
> 
> > On Sat, Aug 30, 2014 at 11:56:30AM +0200, Kay Sievers wrote:
> > > On Sat, Aug 30, 2014 at 2:09 AM, Michael Biebl <mbiebl at gmail.com> wrote:
> > > > Updated patch which the correct version information.
> > > 
> > > Applied.
> >
> > Hm, I think this was an unintentional ABI break. udev_queue_flush @@ LIBUDEV_183
> > was removed, udev_queue_flush @@ LIBUDEV_215 was added. The linker cannot know
> > that this is the same symbol.
> 
> Hmm can you elaborate on this? I missing the context? Is there
> something to fix here?
For two releases systemd had a symbol, which then got removed.
Anyone compiling during that time and using it, would get a crashing
binary after installing systemd from the latest version.

Although this happened a while ago and nobody complained suggests
that there were few users, and any there were got recompiled anyway.

My reason for mentioning this is:
- to raise the problem should a similar situation come up again
- to ask whether we can fix it anyway. Can we add udev_queue_flush @@ LIBUDEV_183
  back, without removing udev_queue_flush @@ LIBUDEV_215?

Zbyszek


More information about the systemd-devel mailing list