[vserver] linux 3.18.67 and patch-3.18.55-vs2.3.7.5.diff

From: Corey Wright <undefined_at_pobox.com>
Date: Sun 27 Aug 2017 - 19:31:16 BST
Message-Id: <20170827133116.4b4298238f08237d7f5e7d12@pobox.com>

summary
-------

applying patch-3.18.55-vs2.3.7.5.diff to linux 3.18.67 results
in a number of failures which are resolved by the attached patches.

patch failures
--------------

```
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
...
patching file include/linux/pid.h
Hunk #1 FAILED at 8.
Hunk #2 succeeded at 172 (offset 2 lines).
1 out of 2 hunks FAILED -- saving rejects to file include/linux/pid.h.rej
...
patching file include/linux/sched.h
Hunk #1 succeeded at 1450 (offset 10 lines).
Hunk #2 succeeded at 1763 (offset 10 lines).
Hunk #3 succeeded at 1781 (offset 10 lines).
Hunk #4 FAILED at 1785.
1 out of 4 hunks FAILED -- saving rejects to file include/linux/sched.h.rej
...
patching file net/ipv6/tcp_ipv6.c
Hunk #2 FAILED at 165.
1 out of 2 hunks FAILED -- saving rejects to file net/ipv6/tcp_ipv6.c.rej
```

* Makefile
  * fails on any version other than original version (ie 3.18.55)
* net/ipv6/tcp_ipv6.c
  * fails due to upstream change introduced in 3.18.58
  * addressed by attached patch-3.18.55-58-vs2.3.7.5.diff
* include/linux/pid.h
* include/linux/sched.h
  * fails due to upstream change introduced in 3.18.67
  * addressed by attached patch-3.18.55-67-vs2.3.7.5.diff

attached patches
----------------

* patch-3.18.55-58-vs2.3.7.5.diff
  * same patch as i previously sent here, but with more comments
  * same change as herbert made in patch-4.1.42-vs2.3.8.6.diff
* patch-3.18.55-67-vs2.3.7.5.diff

instructions
------------

* acquire linux 3.18.67 source
* apply patch-3.18.55-vs2.3.7.5.diff
* apply patch-3.18.55-58-vs2.3.7.5.diff
* apply patch-3.18.55-67-vs2.3.7.5.diff

testing
-------

* testme.sh
* testfs.sh
* start, ssh into, update, and stop guest
* start, ssh into, update, and stop lxc container
* deployed for 36 hours

disclaimer
----------

it works for me, but lacks independent review and testing.

corey

--
undefined@pobox.com

Received on Sun Aug 27 19:31:08 2017
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 27 Aug 2017 - 19:31:08 BST by hypermail 2.1.8