Welcome!
Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.2 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

[Solved] MX-Snapshot not excluding specific folder/files mentioned in exclusion list

Report Bugs, Issues and non- pacakage Requests
User avatar
pemartins
Forum Novice
Forum  Novice
Posts: 48
Joined: Fri Nov 09, 2018 5:15 am

[Solved] MX-Snapshot not excluding specific folder/files mentioned in exclusion list

#1

Post by pemartins » Fri Nov 30, 2018 4:30 pm

@Adrian all the details are in this thread viewtopic.php?f=104&t=47121 but basically my MX-Snapshot excluded list (at /etc/mx-snapshot-exclude.list) includes:

Code: Select all

# This stops any video drivers from loading - safe option.
etc/X11/xorg.conf
etc/X11/xorg.conf.d/20-nvidia.conf
etc/X11/xorg.conf.d/20-intel.conf
etc/X11/xorg.conf.d/20-radeon.conf
but nevertheless those bastards keep on showing up on my created isos and not letting me boot them in virtualbox (and probably in other machines not using the Radeon driver).

There are printscreens here viewtopic.php?f=104&t=47121&start=10#p469242
Last edited by pemartins on Fri Nov 30, 2018 8:57 pm, edited 1 time in total.

User avatar
Adrian
Forum Veteran
Forum Veteran
Posts: 9855
Joined: Wed Jul 12, 2006 1:42 am

Re: [Bug] MX-Snapshot not excluding specific folder/files mentioned in exclusion list

#2

Post by Adrian » Fri Nov 30, 2018 4:39 pm

Thanks, I see:

Code: Select all

etc/X11/xorg.conf.d/10-evdev.conf
etc/X11/xorg.conf.d/20-amd.conf
etc/X11/xorg.conf.d/synaptics.conf
I think 10-evdev.conf and synaptics.conf are present on original ISO, so I probably need to exclude only 20-amd.conf

User avatar
pemartins
Forum Novice
Forum  Novice
Posts: 48
Joined: Fri Nov 09, 2018 5:15 am

Re: [Bug] MX-Snapshot not excluding specific folder/files mentioned in exclusion list

#3

Post by pemartins » Fri Nov 30, 2018 6:12 pm

Yes get ride of that bastard that kept on ruining my backups! :happy:

Thank you very much for all.

User avatar
Adrian
Forum Veteran
Forum Veteran
Posts: 9855
Joined: Wed Jul 12, 2006 1:42 am

Re: [Bug] MX-Snapshot not excluding specific folder/files mentioned in exclusion list

#4

Post by Adrian » Fri Nov 30, 2018 6:22 pm

I updated the package, it should trickle down from the repos soon enough...

User avatar
pemartins
Forum Novice
Forum  Novice
Posts: 48
Joined: Fri Nov 09, 2018 5:15 am

Re: [Bug] MX-Snapshot not excluding specific folder/files mentioned in exclusion list

#5

Post by pemartins » Fri Nov 30, 2018 8:55 pm

It's fixed. Updated, just created an iso, tested it on virtualbox and all went well, the file etc/X11/xorg.conf.d/20-amd.conf was indeed excluded.

Thank you very much!

Friedrich
Forum Novice
Forum  Novice
Posts: 42
Joined: Sun Dec 23, 2018 2:50 am

Not completely solved?

#6

Post by Friedrich » Sun Apr 07, 2019 6:58 am

Here, booted snapshots and the isos themselves (made on a machine with an Intel IGP) still contain the 20-intel.conf
although its on the exclude list.
Resulting in a blackscreen with blinking cursor on a machine with nvidia 6150LE.
Entering the console from there and removing the 20-intel.conf file allows to startx the nouveau driver correctly.
Something not working as expected?

User avatar
Adrian
Forum Veteran
Forum Veteran
Posts: 9855
Joined: Wed Jul 12, 2006 1:42 am

Re: [Solved] MX-Snapshot not excluding specific folder/files mentioned in exclusion list

#7

Post by Adrian » Sun Apr 07, 2019 7:46 am

What mx-snapshot version do you have? Do you actually have that intel line in /etc/mx-snapshot-exclude.list? Is the file present on the resulting ISO (not when you boot, mount it manually BitJam's "isomount" script might make this easier: https://github.com/BitJam/isomount -- by the way I think for the next release we should include this script because it makes troubleshooting easier).

Friedrich
Forum Novice
Forum  Novice
Posts: 42
Joined: Sun Dec 23, 2018 2:50 am

Re: [Solved] MX-Snapshot not excluding specific folder/files mentioned in exclusion list

#8

Post by Friedrich » Sun Apr 07, 2019 2:25 pm

Adrian wrote:
Sun Apr 07, 2019 7:46 am
What mx-snapshot version do you have?
19.4
Adrian wrote:Do you actually have that intel line in /etc/mx-snapshot-exclude.list?
Yes:
/etc/mx-snapshot-exclude.list:

Code: Select all

# This stops any video drivers from loading - safe option.
etc/X11/xorg.conf
etc/X11/xorg.conf.d/20-nvidia.conf
etc/X11/xorg.conf.d/20-intel.conf 
etc/X11/xorg.conf.d/20-radeon.conf
etc/X11/xorg.conf.d/20-amd.conf
Adrian wrote:Is the file present on the resulting ISO (not when you boot..
Yes. (7zip on windows handles the squashfs easily BTW)

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 11303
Joined: Sun Dec 16, 2007 1:17 pm

Re: [Solved] MX-Snapshot not excluding specific folder/files mentioned in exclusion list

#9

Post by dolphin_oracle » Sun Apr 07, 2019 2:30 pm

I can confirm that 20-intel.conf is remaining on my snapshots as well.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-18
lenovo s21e - MX-18, antiX-17.3.1 (live-USB)
FYI: mx "test" repo is not the same thing as debian testing repo.

skidoo
Forum Guide
Forum Guide
Posts: 1316
Joined: Tue Sep 22, 2015 6:56 pm

Re: [Solved] MX-Snapshot not excluding specific folder/files mentioned in exclusion list

#10

Post by skidoo » Sun Apr 07, 2019 6:57 pm

.
mksquashfs SOURCE [SOURCE2 ...] DESTINATION [OPTIONS]
.
https://github.com/MX-Linux/mx-snapshot ... w.cpp#L588

Code: Select all

cmd = "mksquashfs /.bind-root iso-template/antiX/linuxfs " + mksq_opt + \
            " -wildcards -ef " + snapshot_excludes.fileName() + " " + session_excludes;
As seen by mksquashfs, /.bind-root stands as the SOURCE but is "SOURCE" analagous with "top level directory"?
During the operation, is "/.bind-root/etc/X11/xorg.conf.d/20-intel.conf" the exact path (of the targeted exclusion item)
or should the pattern bear an ellipsis prefix in order to successfully match?
...etc/X11/xorg.conf.d/20-intel.conf
squashfs-tools...README-3.3
1.2 Non-anchored excludes

By default [the mksquashfs exclusion patterns] match from the top level directory,
but it is often useful to exclude a file matching anywhere in the source directories.
For this, non-anchored excludes can be used, specified by pre-fixing the exclude with "..."

Post Reply

Return to “Bugs and Non-Package Requests Forum”