df-lnp-installer icon indicating copy to clipboard operation
df-lnp-installer copied to clipboard

df-lnp-installer.sh: Applying Phoebus LNP patches failed. Exiting.

Open beLizzard1 opened this issue 11 years ago • 3 comments

patching file init.txt patch: getting attribute system.posix_acl_access of system.posix_acl_access: No data available patch: getting attribute system.posix_acl_default of system.posix_acl_default: No data available patching file d_init.txt patch: getting attribute system.posix_acl_access of system.posix_acl_access: No data available patch: getting attribute system.posix_acl_default of system.posix_acl_default: No data available

df-lnp-installer.sh: Applying Phoebus LNP patches failed. Exiting.

beLizzard1 avatar May 30 '14 13:05 beLizzard1

What distribution are you using? What version of patch are you using? Is this being performed on a local drive or a network share? What kind of filesystem are you using?

On Fri, May 30, 2014 at 8:35 AM, Robert James [email protected] wrote:

patching file init.txt patch: getting attribute system.posix_acl_access of system.posix_acl_access: No data available patch: getting attribute system.posix_acl_default of system.posix_acl_default: No data available patching file d_init.txt patch: getting attribute system.posix_acl_access of system.posix_acl_access: No data available patch: getting attribute system.posix_acl_default of system.posix_acl_default: No data available

df-lnp-installer.sh: Applying Phoebus LNP patches failed. Exiting.

— Reply to this email directly or view it on GitHub https://github.com/andrewd18/df-lnp-installer/issues/62.

andrewd18 avatar May 30 '14 13:05 andrewd18

Fedora 20.GNU patch 2.7.1. /home mounted by NFS. EXT4. Running it on the local disk makes no difference still fails.

beLizzard1 avatar May 30 '14 14:05 beLizzard1

The reason I ask is because this is not a scripting issue on my end. This is a compatibility issue between patch and your filesystem. Patch cannot find the Access Control Lists (ACLs) that are supposed to be provided by your filesystem. I would bet you get the same errors when running patch against any file, not just while working with DF. You should file a bug report with Red Hat.

Red Hat has a list of open bugs regarding programs that don't support ACLs, NFS/GlusterFS being one of them. https://bugzilla.redhat.com/buglist.cgi?quicksearch=posix_acl_access

Most of their patches I've seen while browsing this morning have been applied to the upcoming Fedora 21 release. This probably means they have not been backported to Fedora 20.

However, none of that will get you playing DF today. So, what's the workaround for your use case?

  1. Edit df-lnp-installer.sh
  2. Any time you see a "patch " command followed by a "if ["$?" != "0" ]" command (like on line 1090), remove the entire IF block.

Notable cases:

  • Line 1090-1101 which will fix most graphics packs.
  • Line 1303-1314 which will fix phoebus (which is packaged uniquely)
  • Lines 1417-1423 which will fix vanilla graphics

On Fri, May 30, 2014 at 9:06 AM, Robert James [email protected] wrote:

Fedora 20.GNU patch 2.7.1. /home mounted by NFS. EXT4

— Reply to this email directly or view it on GitHub https://github.com/andrewd18/df-lnp-installer/issues/62#issuecomment-44654295 .

andrewd18 avatar May 30 '14 14:05 andrewd18