Skip to contentSkip to conversation

Freeswan breaks lsm kernel build

DISCUSSION Ed Street 4 participants 5 messages Dec 22, 2002 – Dec 23, 2002 SELinux security module

lore
Share & tools
lore

Ed Street

author
#0 lore raw

Hello,

I am working with 2.4.20 kernel and applying lm_sensors, i2c, freeswan v1.99 and lsm. After installing freeswan and I attempt to apply lsm (lsm_2002.12.12-2_all.deb) it does not apply cleanly.

Testing whether LSM Support for Linux patch for 2.4.20 applies (dry run):
1 out of 2 hunks FAILED -- saving rejects to file arch/i386/defconfig.rej
LSM Support for Linux patch for 2.4.20 does not apply cleanly

Ed

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.431 / Virus Database: 242 - Release Date: 12/17/2002

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 9 lines · Ed Street

I am working with 2.4.20 kernel and applying lm_sensors, i2c, freeswan v1.99 and lsm. After installing freeswan and I attempt to apply lsm (lsm_2002.12.12-2_all.deb) it does not apply cleanly.

Testing whether LSM Support for Linux patch for 2.4.20 applies (dry run):
1 out of 2 hunks FAILED -- saving rejects to file arch/i386/defconfig.rej
LSM Support for Linux patch for 2.4.20 does not apply cleanly

The defconfig file is not something that matters. I never had problems with freeswan, but I guess that was because I usually dumped the defconfig part from my kernel patch packages.

Of course your kernel may still fail to compile, I've never tried compiling freeswan and lsm with 2.4.20...

Signature · 10 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw
In reply to Ed Street
Quoted 9 lines · Ed Street

I am working with 2.4.20 kernel and applying lm_sensors, i2c, freeswan v1.99 and lsm. After installing freeswan and I attempt to apply lsm (lsm_2002.12.12-2_all.deb) it does not apply cleanly.

Testing whether LSM Support for Linux patch for 2.4.20 applies (dry run):
1 out of 2 hunks FAILED -- saving rejects to file arch/i386/defconfig.rej
LSM Support for Linux patch for 2.4.20 does not apply cleanly

Whats weird, it the same thing worked fine for me...

What version of FreeSWAN? I have:

ii kernel-patch-freeswan 1.96-1.4 IPSEC kernel support for FreeSwan

It is possible this might be old, I forgot to double check.

Also I patched the patched Debian kernel, not sure if this was a factor.

My version of my 2.4.20 kernel is currently online my archive, unstable distribution (note: I haven't tested it myself, except I know it compiles):

deb http://www.microcomaustralia.com.au/debian/ unstable main selinux

This is the unstable distribution, it currently has the following extra packages that I haven't yet been able to test, but plan to ASAP:

 kernel-patch-2.4-lsm     | 2002.12.12-2.bam.1 | unstable   | selinux
 coreutils                | 4.5.3-4.se1.bam.1  | unstable   | selinux
 evms                     | 1.2.1-1.bam.1      | unstable   | main
 kernel-source-2.4.20     | 2.4.20-2.bam.2     | unstable   | main
 fcron                    | 2.9.3-1.se1.bam.1  | unstable   | selinux
 kernel-image-2.4.20-i386 | 1:2.4.20-2.bam.2   | unstable   | main
 selinux-small            | 2002121210-1.bam.2 | unstable   | selinux

The stable distribution (and known to work) is:

deb http://www.microcomaustralia.com.au/debian/ stable main selinux

Also, on the topic of my archive, I am experimenting with these files:

<URL:http://www.microcomaustralia.com.au/debian/selinux.status.unstable> <URL:http://www.microcomaustralia.com.au/debian/selinux.status.stable>

For unstable and stable, respectively which will list which packages are out-of-date compared with Russell's package (note: this might be because I have backported the changes; A practise I might discontinue in future so I can get more accurate results here).
--
Brian May <[email protected]>

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

author
#3 lore raw

Hello,

Freeswan version 1.99

=> -----Original Message-----
=> From: Brian May [mailto:[email protected]]
=> Sent: Sunday, December 22, 2002 7:20 PM
=> To: Ed Street
=> Cc: Selinux
=> Subject: Re: Freeswan breaks lsm kernel build
=>
=>
=> On Sun, Dec 22, 2002 at 12:06:14PM -0500, Ed Street wrote:
=> > I am working with 2.4.20 kernel and applying lm_sensors, => i2c, freeswan
=> > v1.99 and lsm. After installing freeswan and I attempt to => apply lsm
=> > (lsm_2002.12.12-2_all.deb) it does not apply cleanly. => >
=> > Testing whether LSM Support for Linux patch for 2.4.20 applies (dry => > run):
=> > 1 out of 2 hunks FAILED -- saving rejects to file
=> > arch/i386/defconfig.rej
=> > LSM Support for Linux patch for 2.4.20 does not apply cleanly =>
=> Whats weird, it the same thing worked fine for me...
=>
=> What version of FreeSWAN? I have:
=>
=> ii kernel-patch-freeswan 1.96-1.4
=> IPSEC kernel support for FreeSwan
=>
=> It is possible this might be old, I forgot to double check. =>
=> Also I patched the patched Debian kernel, not sure if this => was a factor.
=>
=> My version of my 2.4.20 kernel is currently online my
=> archive, unstable distribution (note: I haven't
=> tested it myself, except I know it compiles):
=>
=> deb http://www.microcomaustralia.com.au/debian/ unstable main selinux =>
=> This is the unstable distribution, it currently has the => following extra
=> packages that I haven't yet been able to test, but plan to ASAP:
=>

=>  kernel-patch-2.4-lsm     | 2002.12.12-2.bam.1 | unstable   | selinux
=>  coreutils                | 4.5.3-4.se1.bam.1  | unstable   | selinux
=>  evms                     | 1.2.1-1.bam.1      | unstable   | main
=>  kernel-source-2.4.20     | 2.4.20-2.bam.2     | unstable   | main
=>  fcron                    | 2.9.3-1.se1.bam.1  | unstable   | selinux
=>  kernel-image-2.4.20-i386 | 1:2.4.20-2.bam.2   | unstable   | main
=>  selinux-small            | 2002121210-1.bam.2 | unstable   | selinux

=>
=> The stable distribution (and known to work) is:
=>
=> deb http://www.microcomaustralia.com.au/debian/ stable main selinux =>
=> Also, on the topic of my archive, I am experimenting with these => files:
=>
=> <URL:http://www.microcomaustralia.com.au/debian/selinux.statu => s.unstable>
=> <URL:http://www.microcomaustralia.com.au/debian/selinux.statu => s.stable>
=>
=> For unstable and stable, respectively which will list which => packages are
=> out-of-date compared with Russell's package (note: this => might be because
=> I have backported the changes; A practise I might
=> discontinue in future
=> so I can get more accurate results here).
=> --
=> Brian May <[email protected]>
=>
=> ---
=> Incoming mail is certified Virus Free.
=> Checked by AVG anti-virus system (http://www.grisoft.com).
=> Version: 6.0.431 / Virus Database: 242 - Release Date: 12/17/2002 =>
=>

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.431 / Virus Database: 242 - Release Date: 12/17/2002

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#4 lore raw

1.96 is very old. i haven't tried the latest selinux release, but the previous release and frees/wan 1.98 seemed to work fine. but i think i did things in a different order: i started with a clean kernel tree, added/built selinux, and then added/built frees/wan.

i've been meaning to try the latest selinux release with a recent frees/wan with all of its fun patches (in particular, x.509 support). one objective is to play with enhancing the ipsec policy to include the x.509 stuff; this will require at least thinking about what to do about openssl.

-paul

Quoted 66 lines · --On Sunday, 22 December, 2002 19:21 -0500 Ed Street…

Hello,

Freeswan version 1.99

=> -----Original Message-----
=> From: Brian May [mailto:[email protected]]
=> Sent: Sunday, December 22, 2002 7:20 PM
=> To: Ed Street
=> Cc: Selinux
=> Subject: Re: Freeswan breaks lsm kernel build
=>
=>
=> On Sun, Dec 22, 2002 at 12:06:14PM -0500, Ed Street wrote:
=> > I am working with 2.4.20 kernel and applying lm_sensors, => i2c, freeswan
=> > v1.99 and lsm. After installing freeswan and I attempt to => apply lsm
=> > (lsm_2002.12.12-2_all.deb) it does not apply cleanly. => >
=> > Testing whether LSM Support for Linux patch for 2.4.20 applies (dry => > run):
=> > 1 out of 2 hunks FAILED -- saving rejects to file
=> > arch/i386/defconfig.rej
=> > LSM Support for Linux patch for 2.4.20 does not apply cleanly =>
=> Whats weird, it the same thing worked fine for me...
=>
=> What version of FreeSWAN? I have:
=>
=> ii kernel-patch-freeswan 1.96-1.4
=> IPSEC kernel support for FreeSwan
=>
=> It is possible this might be old, I forgot to double check. =>
=> Also I patched the patched Debian kernel, not sure if this => was a factor.
=>
=> My version of my 2.4.20 kernel is currently online my
=> archive, unstable distribution (note: I haven't
=> tested it myself, except I know it compiles):
=>
=> deb http://www.microcomaustralia.com.au/debian/ unstable main selinux =>
=> This is the unstable distribution, it currently has the => following extra
=> packages that I haven't yet been able to test, but plan to ASAP:
=>

=>  kernel-patch-2.4-lsm     | 2002.12.12-2.bam.1 | unstable   | selinux
=>  coreutils                | 4.5.3-4.se1.bam.1  | unstable   | selinux
=>  evms                     | 1.2.1-1.bam.1      | unstable   | main
=>  kernel-source-2.4.20     | 2.4.20-2.bam.2     | unstable   | main
=>  fcron                    | 2.9.3-1.se1.bam.1  | unstable   | selinux
=>  kernel-image-2.4.20-i386 | 1:2.4.20-2.bam.2   | unstable   | main
=>  selinux-small            | 2002121210-1.bam.2 | unstable   | selinux

=>
=> The stable distribution (and known to work) is:
=>
=> deb http://www.microcomaustralia.com.au/debian/ stable main selinux =>
=> Also, on the topic of my archive, I am experimenting with these => files:
=>
=> <URL:http://www.microcomaustralia.com.au/debian/selinux.statu => s.unstable>
=> <URL:http://www.microcomaustralia.com.au/debian/selinux.statu => s.stable>

Quoted 8 lines

=>
=> For unstable and stable, respectively which will list which => packages are
=> out-of-date compared with Russell's package (note: this => might be because
=> I have backported the changes; A practise I might => discontinue in future
=> so I can get more accurate results here).

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.