rhn: dont use autosubscribe with activation keys

rhbz#998822

Change-Id: Ifb500b2f8c6fe05614105f444f6209c91008b53d
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
rhn: decrease rhn page load time using offline sam check

rhbz#913579
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=913579

Change-Id: I4ccbbbf7fec0979e75d704c506ecc42d0ba1bdc7
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
migration: Move migration script to boot

We reduce the config migration to one point - during boot.
The script is run once, this is ensure by only running this script if
OVIRT_CONFIG_VERSION is not present in /etc/default/ovirt.
In future we need to enhance this logic.

The previous calls to the migration script were removed to simplify the
testing.

Change-Id: Id3dce11ce0005ddc12d9fd2fec2792ff1e87513c
Signed-off-by: Fabian Deutsch <fabiand@redhat.com>
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
utils: Add RPM stuff

Change-Id: I281c0a9d24055e2e1103692dffa80fdf92d20b46
Signed-off-by: Fabian Deutsch <fabiand@redhat.com>
(cherry picked from commit cedb1a5494c9d952e7fb395b45dc8584d4db82ce)
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
migration: Set version during installation

… to prevent migration rnus when it's a fresh installation.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1051728
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1054036
Change-Id: Iac2371ade2a928e218f7d7aaacd3dbc6731c12b4
Signed-off-by: Fabian Deutsch <fabiand@redhat.com>
(cherry picked from commit 893b5465808c09084eb7831393cfe15f7f345e69)
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
selinux: Add some iscsi + misc rules

Change-Id: I0f66bee75045b8c6a7d0d8a08dfef557a7354a71
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1011193
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Fix last semodule update

Change-Id: I2a8eaa0762942cc50225cb2237f8b33c1f05d3b6
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Revert semodule changes

Change-Id: I7be427b2081518d2f13b5cbc7937b947d03f1ced
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
update selinux module

Change-Id: I5cf1e582dbabdf17477554ea0263084a976d8709
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1033064
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
selinux: More permissions

Change-Id: Id238a01083292be24327fffbc32b9bc51f2e6c50
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1039563
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
fs: Add sub()/search() to File

sub() and search() allow simple operations on the file contents.

Change-Id: I2e2f7d9578fb9b00b44d78a93f43f7c5198d66e4
Signed-off-by: Fabian Deutsch <fabiand@redhat.com>
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
rhn_check in ovirt-post to update RHN on boot

rhbz#980815
Change-Id: If373a4cff004dbc4e1e6884aac696eba2a2610b5
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>