name="/run/log/journal/59c5cdb507ae488db12d4b40591d4661/system@cbabf4d9a8894dd99

The diff / meld command is not magic. Just “meld /path/to/file/one /path/to/file/two”. Try this with any other files. Make a copy of some file, modify a bit, then diff. In other words “meld file-from-source-folder file-on-system”. Figure out the paths. Just go into any folder in the source code folder and look around.

Just try if you got the right folders.

Once you’re sure about the full file paths, you can compare them using meld.

Since this thread is about an apparmor-profile-sdwdate issue, forget about apparmor-profile-torbrowser. Work with the apparmor-profile-sdwdate folder.

yeah now everything seems to be working as expected c the results:-

make installcheck output = exit 0 , c this:-

[code]user@host:~$ cd apparmor-profile-sdwdate
user@host:~/apparmor-profile-sdwdate$ make installcheck
/usr/share/genmkfile/make-helper.bsh installcheck

  • ‘[’ -f /usr/lib/pre.bsh ‘]’
  • source /usr/lib/pre.bsh
    ++ ‘[’ ‘!’ -d /tmp/prepost ‘]’
    ++ mkdir --parents --mode=g+rw /tmp/prepost
    +++ mktemp --directory --tmpdir=/tmp/prepost
    ++ TEMP_DIR=/tmp/prepost/tmp.Gciu85BhnY
    ++ ‘[’ -o xtrace ‘]’
    ++ XTRACE=0
    ++ set -o errtrace
    ++ [[ -t 2 ]]
    ++ ‘[’ 0 = 0 ‘]’
    ++ true ‘INFO: Setting DEBDEBUG to 1, because xtrace (-x) is set.’
    ++ DEBDEBUG=1
    ++ ‘[’ 1 = 1 ‘]’
    ++ set -x
    +++ type -t errorhandlergeneral
    ++ ‘[’ ‘’ = function ‘]’
    ++ trap error_handler_pre ERR
    ++ bash -n /usr/lib/pre.bsh
    ++ bash -n /usr/share/genmkfile/make-helper.bsh
    ++ own_filename=make-helper.bsh
    ++ unset skip_script
  • set -e
  • set -o pipefail
  • make_function_run make_init
  • local function_name function_name_return_code
  • function_name=make_init
  • shift
  • type -t make_init_hook_pre
  • type -t make_init
  • make_init
  • cd /home/user/apparmor-profile-sdwdate/
  • function_name_return_code=0
  • ‘[’ ‘!’ 0 = 0 ‘]’
  • type -t make_init_hook_post
  • make_function_run make_source_overrides_file installcheck
  • local function_name function_name_return_code
  • function_name=make_source_overrides_file
  • shift
  • type -t make_source_overrides_file_hook_pre
  • type -t make_source_overrides_file
  • make_source_overrides_file installcheck
  • ‘[’ -x ./make-helper-overrides.bsh ‘]’
  • function_name_return_code=0
  • ‘[’ ‘!’ 0 = 0 ‘]’
  • type -t make_source_overrides_file_hook_post
  • make_function_run make_source_overrides_folder installcheck
  • local function_name function_name_return_code
  • function_name=make_source_overrides_folder
  • shift
  • type -t make_source_overrides_folder_hook_pre
  • type -t make_source_overrides_folder
  • make_source_overrides_folder installcheck
  • ‘[’ -d ./make-helper-overrides.d ‘]’
  • function_name_return_code=0
  • ‘[’ ‘!’ 0 = 0 ‘]’
  • type -t make_source_overrides_folder_hook_post
  • make_function_run make_parse_cmd installcheck
  • local function_name function_name_return_code
  • function_name=make_parse_cmd
  • shift
  • type -t make_parse_cmd_hook_pre
  • type -t make_parse_cmd
  • make_parse_cmd installcheck
  • local matched=false
  • local deb
  • :
  • case $1 in
  • matched=true
  • make_function_run make_installcheck
  • local function_name function_name_return_code
  • function_name=make_installcheck
  • shift
  • type -t make_installcheck_hook_pre
  • type -t make_installcheck
  • make_installcheck
  • make_installcheck_=true
  • make_function_run make_helper
  • local function_name function_name_return_code
  • function_name=make_helper
  • shift
  • type -t make_helper_hook_pre
  • type -t make_helper
  • make_helper
  • make_function_run make_get_destdir
  • local function_name function_name_return_code
  • function_name=make_get_destdir
  • shift
  • type -t make_get_destdir_hook_pre
  • type -t make_get_destdir
  • make_get_destdir
  • ‘[’ / = ‘’ ‘]’
  • type -t make_hook_at_the_end_of_get_destdir
  • function_name_return_code=0
  • ‘[’ ‘!’ 0 = 0 ‘]’
  • type -t make_get_destdir_hook_post
  • ‘[’ -n ‘’ ‘]’
  • make_folder_list_for_un_and_install=‘bin boot dev etc home lib opt sbin srv sys usr var’
  • shopt -s globstar dotglob nullglob
  • local d source_file file_without_pwd file_with_destdir
  • for d in ‘$make_folder_list_for_un_and_install’
  • ‘[’ -d bin ‘]’
  • for d in ‘$make_folder_list_for_un_and_install’
  • ‘[’ -d boot ‘]’
  • for d in ‘$make_folder_list_for_un_and_install’
  • ‘[’ -d dev ‘]’
  • for d in ‘$make_folder_list_for_un_and_install’
  • ‘[’ -d etc ‘]’
  • for source_file in ‘“$PWD/$d”/**’
  • ‘[’ ‘’ = true ‘]’
  • ‘[’ ‘’ = true ‘]’
  • ‘[’ ‘!’ -f /home/user/apparmor-profile-sdwdate/etc/ ‘]’
  • continue
  • for source_file in ‘“$PWD/$d”/**’
  • ‘[’ ‘’ = true ‘]’
  • ‘[’ ‘’ = true ‘]’
  • ‘[’ ‘!’ -f /home/user/apparmor-profile-sdwdate/etc/apparmor.d ‘]’
  • continue
  • for source_file in ‘“$PWD/$d”/**’
  • ‘[’ ‘’ = true ‘]’
  • ‘[’ ‘’ = true ‘]’
  • ‘[’ ‘!’ -f /home/user/apparmor-profile-sdwdate/etc/apparmor.d/abstractions ‘]’
  • continue
  • for source_file in ‘“$PWD/$d”/**’
  • ‘[’ ‘’ = true ‘]’
  • ‘[’ ‘’ = true ‘]’
  • ‘[’ ‘!’ -f /home/user/apparmor-profile-sdwdate/etc/apparmor.d/abstractions/sdwdate ‘]’
  • file_without_pwd=/etc/apparmor.d/abstractions/sdwdate
  • file_with_destdir=//etc/apparmor.d/abstractions/sdwdate
  • ‘[’ ‘’ = true ‘]’
  • ‘[’ true = true ‘]’
  • diff /home/user/apparmor-profile-sdwdate/etc/apparmor.d/abstractions/sdwdate //etc/apparmor.d/abstractions/sdwdate
  • for source_file in ‘“$PWD/$d”/**’
  • ‘[’ ‘’ = true ‘]’
  • ‘[’ ‘’ = true ‘]’
  • ‘[’ ‘!’ -f /home/user/apparmor-profile-sdwdate/etc/apparmor.d/usr.bin.sdwdate ‘]’
  • file_without_pwd=/etc/apparmor.d/usr.bin.sdwdate
  • file_with_destdir=//etc/apparmor.d/usr.bin.sdwdate
  • ‘[’ ‘’ = true ‘]’
  • ‘[’ true = true ‘]’
  • diff /home/user/apparmor-profile-sdwdate/etc/apparmor.d/usr.bin.sdwdate //etc/apparmor.d/usr.bin.sdwdate
  • for d in ‘$make_folder_list_for_un_and_install’
  • ‘[’ -d home ‘]’
  • for d in ‘$make_folder_list_for_un_and_install’
  • ‘[’ -d lib ‘]’
  • for d in ‘$make_folder_list_for_un_and_install’
  • ‘[’ -d opt ‘]’
  • for d in ‘$make_folder_list_for_un_and_install’
  • ‘[’ -d sbin ‘]’
  • for d in ‘$make_folder_list_for_un_and_install’
  • ‘[’ -d srv ‘]’
  • for d in ‘$make_folder_list_for_un_and_install’
  • ‘[’ -d sys ‘]’
  • for d in ‘$make_folder_list_for_un_and_install’
  • ‘[’ -d usr ‘]’
  • for d in ‘$make_folder_list_for_un_and_install’
  • ‘[’ -d var ‘]’
  • shopt -u globstar dotglob nullglob
  • ‘[’ ‘’ = true ‘]’
  • function_name_return_code=0
  • ‘[’ ‘!’ 0 = 0 ‘]’
  • type -t make_helper_hook_post
  • function_name_return_code=0
  • ‘[’ ‘!’ 0 = 0 ‘]’
  • type -t make_installcheck_hook_post
  • exit 0
    user@host:~/apparmor-profile-sdwdate$
    [/code]

the files r identical c the result of meld /home/user/apparmor-profile-sdwdate/etc/apparmor.d/usr.bin.sdwdate /etc/apparmor.d/usr.bin.sdwdate

Looks good.

great then , so i have one more question:- how do i get update to this apparmor ? the old one was when using sudo apt-get update && sudo apt-get dist-upgrade so how about this one ?

thnx for all ur effort :slight_smile:

You have the most recent version available installed. Installed from source. Not possible to install it using apt-get yet, because no package has been build/uploaded yet. Once a package with a newer version is added to the repository, it should replace your current version (since it comes with a higher version number).

thnx for all ur effort :)
Thank you as well. Now that you figured out how to build from source, you have a lot more options.