#3097 Write signed copies atomically
Closed: Fixed 2 years ago by tkopecek. Opened 2 years ago by lsedlar.

When signed RPM is written to disc, it is created in the target location directly.

It is thus possible for a random consumer to read the file while it's being written and seeing an RPM parse error on it.

Would it be possible to write the file atomically?


hmm, yes - we can improve this splice_rpm_sighdr should use temp file.

Metadata Update from @tkopecek:
- Custom field Size adjusted to None

2 years ago

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.28

2 years ago

Metadata Update from @tkopecek:
- Issue tagged with: testing-ready

2 years ago

Metadata Update from @jobrauer:
- Issue tagged with: testing-done

2 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #3247 Merged 2 years ago
  • #3239 Merged 2 years ago