search for: specfile

Displaying 20 results from an estimated 174 matches for "specfile".

2020 May 05
3
[PATCH libguestfs-common 1/2] mlcustomize: Refactor SELinux_relabel code.
...uot; in + g#touch "/.autorelabel" + ) - g#aug_close (); +and is_selinux_guest g = + g#is_file ~followsymlinks:true "/usr/sbin/load_policy" && + g#is_file ~followsymlinks:true "/etc/selinux/config" - (* Get the spec file name. *) - let specfile = - sprintf "/etc/selinux/%s/contexts/files/file_contexts" policy in +and use_setfiles g = + (* Is setfiles / SELinux relabelling functionality available? *) + if not (g#feature_available [| "selinuxrelabel" |]) then + failwith "no selinux relabel feature";...
2017 Mar 06
2
[PATCH] v2v: Fix invalid regexp in file_contexts file (RHBZ#1374232).
...1 ----------- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/customize/SELinux_relabel.ml b/customize/SELinux_relabel.ml index fa9603c..69a4779 100644 --- a/customize/SELinux_relabel.ml +++ b/customize/SELinux_relabel.ml @@ -44,6 +44,25 @@ let relabel (g : G.guestfs) = let specfile = sprintf "/etc/selinux/%s/contexts/files/file_contexts" policy in + (* RHEL 6.2 - 6.5 had a malformed specfile that contained the + * invalid regular expression "/var/run/spice-vdagentd.\pid" + * (instead of "\.p"). This stops setfiles fro...
2017 Mar 06
2
[PATCH v2] v2v: Fix invalid regexp in file_contexts file
v1 -> v2: Match more specifically. Rich.
2017 Mar 06
0
[PATCH v2] v2v: Fix invalid regexp in file_contexts file (RHBZ#1374232).
...1 ----------- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/customize/SELinux_relabel.ml b/customize/SELinux_relabel.ml index fa9603c..d3b9325 100644 --- a/customize/SELinux_relabel.ml +++ b/customize/SELinux_relabel.ml @@ -44,6 +44,26 @@ let relabel (g : G.guestfs) = let specfile = sprintf "/etc/selinux/%s/contexts/files/file_contexts" policy in + (* RHEL 6.2 - 6.5 had a malformed specfile that contained the + * invalid regular expression "/var/run/spice-vdagentd.\pid" + * (instead of "\.p"). This stops setfiles fro...
2020 Sep 23
6
[common PATCH 0/3] SELinux_relabel: relabel only if enforcing (RHBZ#1828952)
Continuation/rework of: https://www.redhat.com/archives/libguestfs/2020-May/msg00020.html This is my approach, as I explained here: https://bugzilla.redhat.com/show_bug.cgi?id=1828952#c4 https://www.redhat.com/archives/libguestfs/2020-May/msg00035.html IOW: do not attempt to relabel if the guest is not enforcing, as it is either useless or may fail; few words more are in the comments of patch #3.
2017 May 26
0
Wine release 2.9
...(2): cryptnet: Fix CryptGetObjectUrl spec file entry. wsdapi: Fix WSDXMLBuildAnyForSingleElement spec file entry. Aurimas FiĊĦeras (1): po: Update Lithuanian translation. Austin English (32): user32: Add GetPhysicalCursorPos/SetPhysicalCursorPos stubs. advapi32: Sort specfile. advpack: Sort specfile. apphelp: Sort specfile. cfgmgr32: Sort specfile. crypt32: Sort specfile. api-ms-win-core-shlwapi-obsolete-l1-1-0: Sort specfile. api-ms-win-core-com-private-l1-1-0: Sort specfile. api-ms-win-core-localization-private-l1-1-0: Sort sp...
2020 May 05
0
[PATCH libguestfs-common 2/2] mlcustomize: Fall back to autorelabel if specfile does not exist (RHBZ#1828952).
...stomize/SELinux_relabel.ml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mlcustomize/SELinux_relabel.ml b/mlcustomize/SELinux_relabel.ml index 5df1f08..5ecf7bd 100644 --- a/mlcustomize/SELinux_relabel.ml +++ b/mlcustomize/SELinux_relabel.ml @@ -77,6 +77,12 @@ and use_setfiles g = let specfile = sprintf "/etc/selinux/%s/contexts/files/file_contexts" policy in + (* If the spec file doesn't exist then fall back to using + * autorelabel (RHBZ#1828952). + *) + if not (g#is_file ~followsymlinks:true specfile) then + failwith "no spec file"; + (* RHEL...
2000 Nov 21
0
Repost: PATCH: OpenSSH-2.3.0p1: specfile trivia
...till appear to be subscribed...). Bcc'ed to Damien for good measure. -- jim knoble | jmknoble at jmknoble.cx | http://www.jmknoble.cx/ -------------- next part -------------- An embedded message was scrubbed... From: Jim Knoble <jmknoble at jmknoble.cx> Subject: PATCH: OpenSSH-2.3.0p1: specfile trivia Date: Sun, 19 Nov 2000 01:46:00 -0500 Size: 10348 Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20001121/8e8012f5/attachment.mht
2002 Jun 25
0
[Bug 295] New: rpm specfile needs build prereqs for Kerberos
http://bugzilla.mindrot.org/show_bug.cgi?id=295 Summary: rpm specfile needs build prereqs for Kerberos Product: Portable OpenSSH Version: -current Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Miscellaneous AssignedTo: openssh-unix-dev at mi...
2002 Jun 27
0
[Bug 307] New: configure fails to add -ldl (RedHat specfile)
http://bugzilla.mindrot.org/show_bug.cgi?id=307 Summary: configure fails to add -ldl (RedHat specfile) Product: Portable OpenSSH Version: -current Platform: ix86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Build system AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: mi...
2008 Apr 09
1
rpmbuild and new specfile
After extracting the spec file out an srpm and editing it, how does one execute $rpmbuild --rebuild package.srpm and use the new spec file as a non-root user inside a home dir build root? Thanks! jlc
2008 Jun 27
3
Glusterfs could not open spec file
...option transport-type tcp/client option remote-host 10.129.150.227 option remote-subvolume rhel2 end-volume [root at test ~]# problem: [root at test ~]# glusterfs --server 10.129.150.227 /mnt/glusterfs/ --volume-name r hel2 glusterfs: could not open specfile [root at test ~]# Apart from these i have few doubts, 1)In our website it told that gluster there is no single point of failure. But as per configuration point of view it is like server and client model so if server fails client cannot able to mount. 2)In server how can i confirm whether server wa...
2020 Jun 24
0
Re: [PATCH libguestfs-common 2/2] mlcustomize: Fall back to autorelabel if specfile does not exist (RHBZ#1828952).
On Mon, May 18, 2020 at 11:12:29AM +0200, Pino Toscano wrote: > On Tuesday, 5 May 2020 17:44:15 CEST Richard W.M. Jones wrote: > > https://bugzilla.redhat.com/show_bug.cgi?id=1828952#c2 > > I think we need to do a different approach than this patch. > > The biggest thing is that currently we check only SELINUXTYPE for the > actual policy, however we do not check SELINUX
2018 Jan 19
1
An rpm specfile quesstion
I've built an rpm package to distribute an executable and datafiles, but I need to link to the executable, with the symlink with a different name, into /usr/sbin/ If I make the symlink in the %post, it doesn't show if you do rpm -ql, and /usr/sbin/link gives "not owned by any package". If I make <build path>/usr/bin during the %install, trying to install it gives me
2002 Jun 27
0
[Bug 307] configure fails to add -ldl (RedHat specfile)
http://bugzilla.mindrot.org/show_bug.cgi?id=307 ------- Additional Comments From jmknoble at pobox.com 2002-06-28 04:44 ------- '-ldl' is generally not necessary to build OpenSSH unless you're building against a version of OpenSSL that includes the "engine" for smart cards, etc. (that is, for example, openssl-engine-0.9.6d instead of openssl-0.9.6d). If that's the
2002 Jul 18
1
[Bug 295] rpm specfile needs build prereqs for Kerberos
http://bugzilla.mindrot.org/show_bug.cgi?id=295 ------- Additional Comments From stevesk at pobox.com 2002-07-18 16:25 ------- this seems to make sense. can linux/rpm/krb folks comment? ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
2002 Sep 10
0
[Bug 295] rpm specfile needs build prereqs for Kerberos
http://bugzilla.mindrot.org/show_bug.cgi?id=295 djm at mindrot.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From djm at mindrot.org 2002-09-10 22:19
2002 Sep 10
0
[Bug 307] configure fails to add -ldl (RedHat specfile)
http://bugzilla.mindrot.org/show_bug.cgi?id=307 ------- Additional Comments From djm at mindrot.org 2002-09-10 22:22 ------- Are you using a non-standard OpenSSL? The RPM compiles fine on 7.3 for me. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
2003 May 08
0
[Bug 307] configure fails to add -ldl (RedHat specfile)
http://bugzilla.mindrot.org/show_bug.cgi?id=307 dtucker at zip.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Additional Comments From dtucker at zip.com.au 2003-05-08
2002 Oct 16
0
rsync 2.5.5 specfile (/rsync-2.5.5/packaging/redhat/7.1)
contains version number 2.5.4 and it should be 2.5.5 .. -- Eero