{"id":20677598,"url":"https://github.com/kicksecure/debug-misc","last_synced_at":"2025-06-19T03:41:01.356Z","repository":{"id":77069246,"uuid":"235822130","full_name":"Kicksecure/debug-misc","owner":"Kicksecure","description":"Opt-in package which enables miscellaneous debug settings for easier debugging.","archived":false,"fork":false,"pushed_at":"2025-01-06T13:12:21.000Z","size":358,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T14:57:39.664Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.kicksecure.com/wiki/imprint","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kicksecure.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.upstream","contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-23T15:19:09.000Z","updated_at":"2025-01-06T13:12:25.000Z","dependencies_parsed_at":"2024-09-05T17:54:19.016Z","dependency_job_id":"7eaddf49-4952-4113-8114-fd79f26d94e8","html_url":"https://github.com/Kicksecure/debug-misc","commit_stats":null,"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kicksecure%2Fdebug-misc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kicksecure%2Fdebug-misc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kicksecure%2Fdebug-misc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kicksecure%2Fdebug-misc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kicksecure","download_url":"https://codeload.github.com/Kicksecure/debug-misc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242910028,"owners_count":20205206,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T21:16:27.109Z","updated_at":"2025-03-10T19:21:34.245Z","avatar_url":"https://github.com/Kicksecure.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Enables miscellaneous debug settings #\n\nShips a `/etc/default/grub.d/45_debug-misc.cfg` configuration file,\nthat removes `quiet`, `loglevel=0` and `debugfs=off` from the\n`GRUB_CMDLINE_LINUX_DEFAULT` variable and adds `debug=vc` to the kernel\nboot parameter to enable verbose output during the initial ramdisk boot\nphase.\n\nUndo debugging related `sysctl` settings by package `security-misc`.\n\nEnables persistent systemd journal log.\n\nDisables `/lib/systemd/coredump.conf.d/disable-coredumps.conf` by package\n`security-misc` by creating a symlink from\n`/etc/systemd/coredump.conf.d/disable-coredumps.conf` to `/dev/null`.\n`debian/debug-misc.links`\n\nDisables `panic-on-oops`, `remove-system.map` by package `security-misc`.\n\n`config-package-dev` `hide` `/etc/sysctl.d/30_silent-kernel-printk.conf` which\nkernel.printk to default as if security-misc would not have lowered verbosity.\n\nConfigure systemd `getty` service to not clear `tty`.\n`/lib/systemd/system/getty@tty.service.d/30_debug-misc.conf`\n\nCoredumps are enabled.\n`/etc/security/limits.d/40_debug-misc.conf`\n\nCoredumps may contain important information such as encryption keys or\npasswords. Package `security-misc` disables coredumps. Package `debug-misc`\nre-enables coredumps.\n\nContains a helper tool to cause a segfault for testing purposes.\n`segfault-build` creates `segfault-run`. Running `segfault-run` results in\n`segfault-run` terminating with a segfault. This is useful to test if\ncoredump files are being generated when an application crashes.\n`/usr/sbin/segfault-build`\n`/usr/share/debug-misc/segfault.c`\n\nFor better usability, to ease debugging in case of issues.\n\nFor better security, this package should only be installed on specific\nmachines that require debugging. Unfortunately, security and debugging are\nconflicting optimization goals.\n\n## How to install `debug-misc` using apt-get ##\n\n1\\. Download the APT Signing Key.\n\n```\nwget https://www.kicksecure.com/keys/derivative.asc\n```\n\nUsers can [check the Signing Key](https://www.kicksecure.com/wiki/Signing_Key) for better security.\n\n2\\. Add the APT Signing Key.\n\n```\nsudo cp ~/derivative.asc /usr/share/keyrings/derivative.asc\n```\n\n3\\. Add the derivative repository.\n\n```\necho \"deb [signed-by=/usr/share/keyrings/derivative.asc] https://deb.kicksecure.com bookworm main contrib non-free\" | sudo tee /etc/apt/sources.list.d/derivative.list\n```\n\n4\\. Update your package lists.\n\n```\nsudo apt-get update\n```\n\n5\\. Install `debug-misc`.\n\n```\nsudo apt-get install debug-misc\n```\n\n## How to Build deb Package from Source Code ##\n\nCan be build using standard Debian package build tools such as:\n\n```\ndpkg-buildpackage -b\n```\n\nSee instructions.\n\nNOTE: Replace `generic-package` with the actual name of this package `debug-misc`.\n\n* **A)** [easy](https://www.kicksecure.com/wiki/Dev/Build_Documentation/generic-package/easy), _OR_\n* **B)** [including verifying software signatures](https://www.kicksecure.com/wiki/Dev/Build_Documentation/generic-package)\n\n## Contact ##\n\n* [Free Forum Support](https://forums.kicksecure.com)\n* [Premium Support](https://www.kicksecure.com/wiki/Premium_Support)\n\n## Donate ##\n\n`debug-misc` requires [donations](https://www.kicksecure.com/wiki/Donate) to stay alive!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkicksecure%2Fdebug-misc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkicksecure%2Fdebug-misc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkicksecure%2Fdebug-misc/lists"}