Mailinglist Archive: zypp-devel (226 mails)
| < Previous | Next > |
[zypp-devel] zypp-refresh-wrapper (new)
- From: Jan Kupec <jkupec@xxxxxxx>
- Date: Tue, 22 Apr 2008 13:36:16 +0200
- Message-id: <480DCDB0.6060501@xxxxxxx>
Hi,
so far, zypp-checkpatches-wrapper has been used in the updater applets
to refresh repos (needs root access) and check for patches. This
solution was not too flexible though and as there came a need to check
also for package updates, Thomas added the xml-updates command to zypper
directly. But that solution lacked the ability to do the suid refresh.
So with Thomas we agreed that we'll try a different approach: drop
zypp-checkpatches-wrapper, use a new refresh-only suid wrapper and once
called, use zypper query commands directly as normal non-root to do
whathever queries you like (zypper --xmlout list-updates in the case of
the updater applets).
The zypp-refresh and zypp-refresh-wrapper is fairly general thing then,
so my question is whether we should package it in zypper package or
directly in the libzypp package.
I'd also appreciate opinions on this solution.
@Security: zypp-refresh-wrapper will be much simpler than the previous
zypp-checkpatches-wrapper, so this should be an increase in security, too.
Cheers,
jano
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
so far, zypp-checkpatches-wrapper has been used in the updater applets
to refresh repos (needs root access) and check for patches. This
solution was not too flexible though and as there came a need to check
also for package updates, Thomas added the xml-updates command to zypper
directly. But that solution lacked the ability to do the suid refresh.
So with Thomas we agreed that we'll try a different approach: drop
zypp-checkpatches-wrapper, use a new refresh-only suid wrapper and once
called, use zypper query commands directly as normal non-root to do
whathever queries you like (zypper --xmlout list-updates in the case of
the updater applets).
The zypp-refresh and zypp-refresh-wrapper is fairly general thing then,
so my question is whether we should package it in zypper package or
directly in the libzypp package.
I'd also appreciate opinions on this solution.
@Security: zypp-refresh-wrapper will be much simpler than the previous
zypp-checkpatches-wrapper, so this should be an increase in security, too.
Cheers,
jano
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |