Results 1 to 9 of 9

Thread: contents of /etc/default/apport

  1. #1
    Join Date
    Dec 2007
    Location
    Bombay
    Beans
    6,820
    Distro
    Lubuntu 14.04 Trusty Tahr

    contents of /etc/default/apport

    Mine was
    Code:
    # set this to 0 to disable apport, or to 1 to enable it
    # you can temporarily override this with
    # sudo service apport start force_start=1
    enabled=1
    According to https://wiki.ubuntu.com/Apport, stable releases ship with apport disabled.

    I'm wondering if mine was enabled because I installed a release candidate and not the actual release?
    de gustibus et coloribus non est disputandum -- Wiktionary

  2. #2
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    5,003

    Re: contents of /etc/default/apport

    I'm wondering if mine was enabled because I installed a release candidate and not the actual release?
    In your case I would say yes, but I also think it happens with a release upgrade. I have seen a lot of this in the forums.

  3. #3
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    9,272
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: contents of /etc/default/apport

    vasa1; Well.

    Just do not know, but mine:
    sysop@1310mini:~$ cat /etc/default/apport
    # set this to 0 to disable apport, or to 1 to enable it
    # you can temporarily override this with
    # sudo service apport start force_start=1
    enabled=1
    sysop@1310mini:~$
    I have had no occasion to alter it from a 13.04 install (minimal) upgraded to 13.10.

    a bit of help ?
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubutu'n !

  4. #4
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    5,529
    Distro
    Ubuntu

    Re: contents of /etc/default/apport

    You need to go further down the wiki to read that apport is running on releases 12.04 and newer, but the crash interception component is not
    https://wiki.ubuntu.com/Apport#Ubuntu_12.04_and_later

    Whatever that means.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  5. #5
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate Development Release

    Re: contents of /etc/default/apport

    Quote Originally Posted by deadflowr View Post
    You need to go further down the wiki to read that apport is running on releases 12.04 and newer, but the crash interception component is not
    https://wiki.ubuntu.com/Apport#Ubuntu_12.04_and_later

    Whatever that means.
    I'm learning something here.. To enable the "crash interception component", you need to add # in front of the line. I'll have a look, is it that common to use the symbol that is usually dedicated to comment out lines this way ?
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |

  6. #6
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    9,272
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: contents of /etc/default/apport

    et al ;

    Uohh, do I love it when we all get in a learning mode.

    good for the head
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubutu'n !

  7. #7
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate Development Release

    Re: contents of /etc/default/apport

    http://www.tldp.org/LDP/abs/html/special-chars.html
    Looks like there is no exception to # being a comment, except for #! that does not apply here.
    So could it be that the line disables the thingy and commenting out enables it ?
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |

  8. #8
    Join Date
    Dec 2007
    Location
    Bombay
    Beans
    6,820
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: contents of /etc/default/apport

    Quote Originally Posted by Bashing-om View Post
    ...
    I have had no occasion to alter it from a 13.04 install (minimal) upgraded to 13.10.
    ...
    As I said, mine is a full and clean install. My only crime is starting off with the RC rather than wait for the formal release.

    @Bashing-om, I'm asking because apport kicked in with 100% CPU usage. Fortunately, I was at the keyboard and so could kill it.

    I've found one other mention of apport running in a release version: http://askubuntu.com/questions/45418...untu-14-04-lts

    @deadflowr, thanks for pointing out the apport/crash bit. After reading:
    Starting with 12.04, Apport itself is running at all times because it collects crash data for whoopsie (see ErrorTracker). However, the crash interception component is still disabled.
    and after a reboot,
    Code:
    pgrep apport
    comes back empty. So I don't understand the "Apport itself is running at all times" bit

    @bapoumba,
    maybe
    'problem_types': ['Bug', 'Package'],
    as it stands means "exclude" bug and package and that by commenting out the line we're asking to report everything? (I'm not a coder and so that's just a context-based guess.)
    de gustibus et coloribus non est disputandum -- Wiktionary

  9. #9
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate Development Release

    Re: contents of /etc/default/apport

    Quote Originally Posted by vasa1 View Post
    @bapoumba,
    maybe
    'problem_types': ['Bug', 'Package'],
    as it stands means "exclude" bug and package and that by commenting out the line we're asking to report everything? (I'm not a coder and so that's just a context-based guess.)
    Thanks!
    To note, I have the same file after a fresh lubuntu install.
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •