Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\KbinAuthenticator
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "two_factor"
  "remember_me"
  "App\Security\KbinAuthenticator"
  "App\Security\FacebookAuthenticator"
  "App\Security\GoogleAuthenticator"
  "App\Security\GithubAuthenticator"
  "App\Security\KeycloakAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#723
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
  -logger: Monolog\Logger {#783 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#706
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1017 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#783 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#705 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#780 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#703 …}
}
0.87 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#584
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#595 …}
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#582
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#842 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#581 …}
}
0.04 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#579
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#937 …}
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#786
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#841 …}
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#1015 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"App\Security\Voter\EntryCommentVoter"
6
"App\Security\Voter\EntryVoter"
7
"App\Security\Voter\MagazineVoter"
8
"App\Security\Voter\MessageThreadVoter"
9
"App\Security\Voter\MessageVoter"
10
"App\Security\Voter\NotificationVoter"
11
"App\Security\Voter\OAuth2UserConsentVoter"
12
"App\Security\Voter\PostCommentVoter"
13
"App\Security\Voter\PostVoter"
14
"App\Security\Voter\UserVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\EntryComment {#1396
  +user: Proxies\__CG__\App\Entity\User {#1365 …}
  +entry: App\Entity\Entry {#1790 …}
  +magazine: App\Entity\Magazine {#314
    +icon: Proxies\__CG__\App\Entity\Image {#295 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#322
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#286 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#282 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#271 …}
    +entries: Doctrine\ORM\PersistentCollection {#229 …}
    +posts: Doctrine\ORM\PersistentCollection {#187 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#249 …}
    +bans: Doctrine\ORM\PersistentCollection {#166 …}
    +reports: Doctrine\ORM\PersistentCollection {#152 …}
    +badges: Doctrine\ORM\PersistentCollection {#130 …}
    +logs: Doctrine\ORM\PersistentCollection {#120 …}
    +awards: Doctrine\ORM\PersistentCollection {#109 …}
    +categories: Doctrine\ORM\PersistentCollection {#96 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#323
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#317
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +parent: null
  +root: null
  +body: """
    Framework [has a guide](https://knowledgebase.frame.work/en_us/optimizing-fedora-battery-life-r1baXZh) for you. You’ll need to disable either power-profiles-daemon or TLP depending on what CPU you have.\n
    \n
    As for hibernation: TL;DR: it’s a mess. Fedora doesn’t support it out of the box. You can make it work with some elbow grease.\n
    \n
    However, you shouldn’t need hibernation if your laptop goes to sleep like it should. If you can’t get it to sleep right, or still really want hibernation, here are some pointers:\n
    \n
    - many Linux distros don’t consider hibernation to be a stable feature. The default Fedora setup doesn’t even come with a swap partition by default, which makes hibernation impossible. You’ll need to allocate some swap space before you can hibernate your computer.\n
    - make sure your swap partition is encrypted if the rest of your laptop is encrypted as well. If you use a swap file, you can make this work, too, but it’ll be slightly more complicated\n
    - make sure your swap partition is big enough (at least RAM size + the amount of swap in use at the point of hibernation)\n
    - if you’re fine with disabling zram and using normal, this guide will show you how to hibernate a normal Linux system: [www.ctrl.blog/entry/fedora-hibernate.html](https://www.ctrl.blog/entry/fedora-hibernate.html)\n
    - if you don’t have a partition for swap and don’t want to create one, or if you want to keep using zram (compressed memory, enabled by default on Fedora, probably recommended to keep enabled), then [this guide](https://gist.github.com/eloylp/b0d64d3c947dbfb23d13864e0c051c67) and its comments will tell you how to get a swap file to work. Make sure you read the update with more details too, and there’s also a comment further down specifically about Intel Framework laptops (need to disable a certain Intel driver that breaks hibernation).\n
    - disable secure boot in your BIOS. Linux doesn’t support the security features that Windows has to validate the state of boot SECURITY (even with custom secure boot keys), so when you’re running in secure boot mode (and the kernel is in lockdown mode), the Linux kernel disables hibernation. Alternatively, there are guides that’ll show you how to patch that check out, but that involves compiling your own kernel and that’s not worth the effort IMO.\n
    - configure your laptop for suspend-then-hibernate for best performance. I believe hybrid-sleep will also work. The Github gist I linked has details\n
    - you will probably need to enter your password when resuming from hibernation. This is a security feature. You can configure your laptop to use the TPM to decrypt the disk, skipping the encryption password entirely, it you don’t mind thieves having the ability to access your data when they steal the laptop.\n
    \n
    You may be wondering why this is so complicated. A big reason is that Linux wants to be secure, but hibernation comes with unique security challenges. Linux also wants to be fast and efficient (by compressing RAM rather than writing it to disk) but that messes with the presumptions the hibernation system makes. Fedora dorky sorry hibernation out of the box, but they’re working on it, albeit not as fast as you might hope: [pagure.io/fedora-workstation/issue/121](https://pagure.io/fedora-workstation/issue/121)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702991662 {#1768
    date: 2023-12-19 14:14:22.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@WbrJr@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#1369 …}
  +nested: Doctrine\ORM\PersistentCollection {#1370 …}
  +votes: Doctrine\ORM\PersistentCollection {#2429 …}
  +reports: Doctrine\ORM\PersistentCollection {#1367 …}
  +favourites: Doctrine\ORM\PersistentCollection {#2487 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2477 …}
  -id: 240792
  -bodyTs: "'/eloylp/b0d64d3c947dbfb23d13864e0c051c67)':257 '/en_us/optimizing-fedora-battery-life-r1baxzh)':7 '/entry/fedora-hibernate.html](https://www.ctrl.blog/entry/fedora-hibernate.html)':215 '/fedora-workstation/issue/121](https://pagure.io/fedora-workstation/issue/121)':540 'abil':453 'access':455 'albeit':530 'alloc':122 'also':285,401,490 'altern':355 'amount':181 'believ':396 'best':393 'big':174,473 'bio':310 'boot':307,326,332,341 'box':45,523 'break':303 'certain':299 'challeng':488 'check':367 'come':107,484 'comment':260,287 'compil':372 'complic':167,471 'compress':240,498 'comput':131 'configur':384,429 'consid':93 'cpu':25 'creat':230 'custom':330 'daemon':19 'data':457 'decrypt':437 'default':101,113,244 'depend':22 'detail':280,409 'disabl':14,196,297,305,353 'disk':439,505 'distro':90 'doesn':38,104,312 'dorki':517 'dr':32 'driver':301 'effici':496 'effort':382 'either':15 'elbow':53 'enabl':242,251 'encrypt':138,146,442 'enough':175 'enter':415 'entir':444 'even':106,328 'fast':494,533 'featur':99,317,426 'fedora':37,102,246,516 'file':154,269 'fine':194 'framework':1,293 'get':74,266 'gist':405 'gist.github.com':256 'gist.github.com/eloylp/b0d64d3c947dbfb23d13864e0c051c67)':255 'github':404 'goe':64 'greas':54 'guid':4,202,254,358 'hibern':30,60,83,94,116,129,190,208,304,354,391,421,483,513,519 'hope':537 'howev':55 'hybrid':398 'hybrid-sleep':397 'imo':383 'imposs':117 'intel':292,300 'involv':371 'keep':237,250 'kernel':345,352,375 'key':333 'knowledgebase.frame.work':6 'knowledgebase.frame.work/en_us/optimizing-fedora-battery-life-r1baxzh)':5 'laptop':63,144,294,386,431,462 'least':177 'like':67 'link':407 'linux':89,211,311,351,477,489 'll':11,119,163,360 'lockdown':348 'make':48,115,132,157,168,272,515 'mani':88 'may':464 'memori':241 'mess':36,508 'might':536 'mind':449 'mode':342,349 'need':12,59,120,295,413 'normal':200,210 'one':231 'pagure.io':539 'pagure.io/fedora-workstation/issue/121](https://pagure.io/fedora-workstation/issue/121)':538 'partit':111,136,172,222 'password':417,443 'patch':365 'perform':394 'point':188 'pointer':87 'power':17 'power-profiles-daemon':16 'presumpt':511 'probabl':247,412 'profil':18 'ram':178,499 'rather':500 're':193,337,526 'read':275 'realli':81 'reason':474 'recommend':248 'rest':141 'resum':419 'right':78 'run':338 'secur':306,316,327,331,340,425,481,487 'setup':103 'shouldn':57 'show':204,361 'size':179 'skip':440 'sleep':66,77,399 'slight':165 'sorri':518 'space':125 'specif':290 'stabl':98 'state':324 'steal':460 'still':80 'support':40,314 'sure':133,169,273 'suspend':389 'suspend-then-hibern':388 'swap':110,124,135,153,171,183,224,268 'system':212,514 'tell':262 'thiev':450 'tl':31 'tlp':21 'tpm':435 'uniqu':486 'updat':277 'use':151,185,199,238,433 'valid':322 'want':82,228,235,478,491 'well':148 'window':319 'wonder':466 'work':50,159,271,402,527 'worth':380 'write':502 'www.ctrl.blog':214 'www.ctrl.blog/entry/fedora-hibernate.html](https://www.ctrl.blog/entry/fedora-hibernate.html)':213 'zram':197,239"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://popplesburger.hilciferous.nl/comment/1288464"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702991662 {#1938
    date: 2023-12-19 14:14:22.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
App\Entity\EntryComment {#1396
  +user: Proxies\__CG__\App\Entity\User {#1365 …}
  +entry: App\Entity\Entry {#1790 …}
  +magazine: App\Entity\Magazine {#314
    +icon: Proxies\__CG__\App\Entity\Image {#295 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#322
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#286 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#282 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#271 …}
    +entries: Doctrine\ORM\PersistentCollection {#229 …}
    +posts: Doctrine\ORM\PersistentCollection {#187 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#249 …}
    +bans: Doctrine\ORM\PersistentCollection {#166 …}
    +reports: Doctrine\ORM\PersistentCollection {#152 …}
    +badges: Doctrine\ORM\PersistentCollection {#130 …}
    +logs: Doctrine\ORM\PersistentCollection {#120 …}
    +awards: Doctrine\ORM\PersistentCollection {#109 …}
    +categories: Doctrine\ORM\PersistentCollection {#96 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#323
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#317
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +parent: null
  +root: null
  +body: """
    Framework [has a guide](https://knowledgebase.frame.work/en_us/optimizing-fedora-battery-life-r1baXZh) for you. You’ll need to disable either power-profiles-daemon or TLP depending on what CPU you have.\n
    \n
    As for hibernation: TL;DR: it’s a mess. Fedora doesn’t support it out of the box. You can make it work with some elbow grease.\n
    \n
    However, you shouldn’t need hibernation if your laptop goes to sleep like it should. If you can’t get it to sleep right, or still really want hibernation, here are some pointers:\n
    \n
    - many Linux distros don’t consider hibernation to be a stable feature. The default Fedora setup doesn’t even come with a swap partition by default, which makes hibernation impossible. You’ll need to allocate some swap space before you can hibernate your computer.\n
    - make sure your swap partition is encrypted if the rest of your laptop is encrypted as well. If you use a swap file, you can make this work, too, but it’ll be slightly more complicated\n
    - make sure your swap partition is big enough (at least RAM size + the amount of swap in use at the point of hibernation)\n
    - if you’re fine with disabling zram and using normal, this guide will show you how to hibernate a normal Linux system: [www.ctrl.blog/entry/fedora-hibernate.html](https://www.ctrl.blog/entry/fedora-hibernate.html)\n
    - if you don’t have a partition for swap and don’t want to create one, or if you want to keep using zram (compressed memory, enabled by default on Fedora, probably recommended to keep enabled), then [this guide](https://gist.github.com/eloylp/b0d64d3c947dbfb23d13864e0c051c67) and its comments will tell you how to get a swap file to work. Make sure you read the update with more details too, and there’s also a comment further down specifically about Intel Framework laptops (need to disable a certain Intel driver that breaks hibernation).\n
    - disable secure boot in your BIOS. Linux doesn’t support the security features that Windows has to validate the state of boot SECURITY (even with custom secure boot keys), so when you’re running in secure boot mode (and the kernel is in lockdown mode), the Linux kernel disables hibernation. Alternatively, there are guides that’ll show you how to patch that check out, but that involves compiling your own kernel and that’s not worth the effort IMO.\n
    - configure your laptop for suspend-then-hibernate for best performance. I believe hybrid-sleep will also work. The Github gist I linked has details\n
    - you will probably need to enter your password when resuming from hibernation. This is a security feature. You can configure your laptop to use the TPM to decrypt the disk, skipping the encryption password entirely, it you don’t mind thieves having the ability to access your data when they steal the laptop.\n
    \n
    You may be wondering why this is so complicated. A big reason is that Linux wants to be secure, but hibernation comes with unique security challenges. Linux also wants to be fast and efficient (by compressing RAM rather than writing it to disk) but that messes with the presumptions the hibernation system makes. Fedora dorky sorry hibernation out of the box, but they’re working on it, albeit not as fast as you might hope: [pagure.io/fedora-workstation/issue/121](https://pagure.io/fedora-workstation/issue/121)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702991662 {#1768
    date: 2023-12-19 14:14:22.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@WbrJr@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#1369 …}
  +nested: Doctrine\ORM\PersistentCollection {#1370 …}
  +votes: Doctrine\ORM\PersistentCollection {#2429 …}
  +reports: Doctrine\ORM\PersistentCollection {#1367 …}
  +favourites: Doctrine\ORM\PersistentCollection {#2487 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2477 …}
  -id: 240792
  -bodyTs: "'/eloylp/b0d64d3c947dbfb23d13864e0c051c67)':257 '/en_us/optimizing-fedora-battery-life-r1baxzh)':7 '/entry/fedora-hibernate.html](https://www.ctrl.blog/entry/fedora-hibernate.html)':215 '/fedora-workstation/issue/121](https://pagure.io/fedora-workstation/issue/121)':540 'abil':453 'access':455 'albeit':530 'alloc':122 'also':285,401,490 'altern':355 'amount':181 'believ':396 'best':393 'big':174,473 'bio':310 'boot':307,326,332,341 'box':45,523 'break':303 'certain':299 'challeng':488 'check':367 'come':107,484 'comment':260,287 'compil':372 'complic':167,471 'compress':240,498 'comput':131 'configur':384,429 'consid':93 'cpu':25 'creat':230 'custom':330 'daemon':19 'data':457 'decrypt':437 'default':101,113,244 'depend':22 'detail':280,409 'disabl':14,196,297,305,353 'disk':439,505 'distro':90 'doesn':38,104,312 'dorki':517 'dr':32 'driver':301 'effici':496 'effort':382 'either':15 'elbow':53 'enabl':242,251 'encrypt':138,146,442 'enough':175 'enter':415 'entir':444 'even':106,328 'fast':494,533 'featur':99,317,426 'fedora':37,102,246,516 'file':154,269 'fine':194 'framework':1,293 'get':74,266 'gist':405 'gist.github.com':256 'gist.github.com/eloylp/b0d64d3c947dbfb23d13864e0c051c67)':255 'github':404 'goe':64 'greas':54 'guid':4,202,254,358 'hibern':30,60,83,94,116,129,190,208,304,354,391,421,483,513,519 'hope':537 'howev':55 'hybrid':398 'hybrid-sleep':397 'imo':383 'imposs':117 'intel':292,300 'involv':371 'keep':237,250 'kernel':345,352,375 'key':333 'knowledgebase.frame.work':6 'knowledgebase.frame.work/en_us/optimizing-fedora-battery-life-r1baxzh)':5 'laptop':63,144,294,386,431,462 'least':177 'like':67 'link':407 'linux':89,211,311,351,477,489 'll':11,119,163,360 'lockdown':348 'make':48,115,132,157,168,272,515 'mani':88 'may':464 'memori':241 'mess':36,508 'might':536 'mind':449 'mode':342,349 'need':12,59,120,295,413 'normal':200,210 'one':231 'pagure.io':539 'pagure.io/fedora-workstation/issue/121](https://pagure.io/fedora-workstation/issue/121)':538 'partit':111,136,172,222 'password':417,443 'patch':365 'perform':394 'point':188 'pointer':87 'power':17 'power-profiles-daemon':16 'presumpt':511 'probabl':247,412 'profil':18 'ram':178,499 'rather':500 're':193,337,526 'read':275 'realli':81 'reason':474 'recommend':248 'rest':141 'resum':419 'right':78 'run':338 'secur':306,316,327,331,340,425,481,487 'setup':103 'shouldn':57 'show':204,361 'size':179 'skip':440 'sleep':66,77,399 'slight':165 'sorri':518 'space':125 'specif':290 'stabl':98 'state':324 'steal':460 'still':80 'support':40,314 'sure':133,169,273 'suspend':389 'suspend-then-hibern':388 'swap':110,124,135,153,171,183,224,268 'system':212,514 'tell':262 'thiev':450 'tl':31 'tlp':21 'tpm':435 'uniqu':486 'updat':277 'use':151,185,199,238,433 'valid':322 'want':82,228,235,478,491 'well':148 'window':319 'wonder':466 'work':50,159,271,402,527 'worth':380 'write':502 'www.ctrl.blog':214 'www.ctrl.blog/entry/fedora-hibernate.html](https://www.ctrl.blog/entry/fedora-hibernate.html)':213 'zram':197,239"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://popplesburger.hilciferous.nl/comment/1288464"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702991662 {#1938
    date: 2023-12-19 14:14:22.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
App\Entity\EntryComment {#1396
  +user: Proxies\__CG__\App\Entity\User {#1365 …}
  +entry: App\Entity\Entry {#1790 …}
  +magazine: App\Entity\Magazine {#314
    +icon: Proxies\__CG__\App\Entity\Image {#295 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#322
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#286 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#282 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#271 …}
    +entries: Doctrine\ORM\PersistentCollection {#229 …}
    +posts: Doctrine\ORM\PersistentCollection {#187 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#249 …}
    +bans: Doctrine\ORM\PersistentCollection {#166 …}
    +reports: Doctrine\ORM\PersistentCollection {#152 …}
    +badges: Doctrine\ORM\PersistentCollection {#130 …}
    +logs: Doctrine\ORM\PersistentCollection {#120 …}
    +awards: Doctrine\ORM\PersistentCollection {#109 …}
    +categories: Doctrine\ORM\PersistentCollection {#96 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#323
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#317
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +parent: null
  +root: null
  +body: """
    Framework [has a guide](https://knowledgebase.frame.work/en_us/optimizing-fedora-battery-life-r1baXZh) for you. You’ll need to disable either power-profiles-daemon or TLP depending on what CPU you have.\n
    \n
    As for hibernation: TL;DR: it’s a mess. Fedora doesn’t support it out of the box. You can make it work with some elbow grease.\n
    \n
    However, you shouldn’t need hibernation if your laptop goes to sleep like it should. If you can’t get it to sleep right, or still really want hibernation, here are some pointers:\n
    \n
    - many Linux distros don’t consider hibernation to be a stable feature. The default Fedora setup doesn’t even come with a swap partition by default, which makes hibernation impossible. You’ll need to allocate some swap space before you can hibernate your computer.\n
    - make sure your swap partition is encrypted if the rest of your laptop is encrypted as well. If you use a swap file, you can make this work, too, but it’ll be slightly more complicated\n
    - make sure your swap partition is big enough (at least RAM size + the amount of swap in use at the point of hibernation)\n
    - if you’re fine with disabling zram and using normal, this guide will show you how to hibernate a normal Linux system: [www.ctrl.blog/entry/fedora-hibernate.html](https://www.ctrl.blog/entry/fedora-hibernate.html)\n
    - if you don’t have a partition for swap and don’t want to create one, or if you want to keep using zram (compressed memory, enabled by default on Fedora, probably recommended to keep enabled), then [this guide](https://gist.github.com/eloylp/b0d64d3c947dbfb23d13864e0c051c67) and its comments will tell you how to get a swap file to work. Make sure you read the update with more details too, and there’s also a comment further down specifically about Intel Framework laptops (need to disable a certain Intel driver that breaks hibernation).\n
    - disable secure boot in your BIOS. Linux doesn’t support the security features that Windows has to validate the state of boot SECURITY (even with custom secure boot keys), so when you’re running in secure boot mode (and the kernel is in lockdown mode), the Linux kernel disables hibernation. Alternatively, there are guides that’ll show you how to patch that check out, but that involves compiling your own kernel and that’s not worth the effort IMO.\n
    - configure your laptop for suspend-then-hibernate for best performance. I believe hybrid-sleep will also work. The Github gist I linked has details\n
    - you will probably need to enter your password when resuming from hibernation. This is a security feature. You can configure your laptop to use the TPM to decrypt the disk, skipping the encryption password entirely, it you don’t mind thieves having the ability to access your data when they steal the laptop.\n
    \n
    You may be wondering why this is so complicated. A big reason is that Linux wants to be secure, but hibernation comes with unique security challenges. Linux also wants to be fast and efficient (by compressing RAM rather than writing it to disk) but that messes with the presumptions the hibernation system makes. Fedora dorky sorry hibernation out of the box, but they’re working on it, albeit not as fast as you might hope: [pagure.io/fedora-workstation/issue/121](https://pagure.io/fedora-workstation/issue/121)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1702991662 {#1768
    date: 2023-12-19 14:14:22.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@WbrJr@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#1369 …}
  +nested: Doctrine\ORM\PersistentCollection {#1370 …}
  +votes: Doctrine\ORM\PersistentCollection {#2429 …}
  +reports: Doctrine\ORM\PersistentCollection {#1367 …}
  +favourites: Doctrine\ORM\PersistentCollection {#2487 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2477 …}
  -id: 240792
  -bodyTs: "'/eloylp/b0d64d3c947dbfb23d13864e0c051c67)':257 '/en_us/optimizing-fedora-battery-life-r1baxzh)':7 '/entry/fedora-hibernate.html](https://www.ctrl.blog/entry/fedora-hibernate.html)':215 '/fedora-workstation/issue/121](https://pagure.io/fedora-workstation/issue/121)':540 'abil':453 'access':455 'albeit':530 'alloc':122 'also':285,401,490 'altern':355 'amount':181 'believ':396 'best':393 'big':174,473 'bio':310 'boot':307,326,332,341 'box':45,523 'break':303 'certain':299 'challeng':488 'check':367 'come':107,484 'comment':260,287 'compil':372 'complic':167,471 'compress':240,498 'comput':131 'configur':384,429 'consid':93 'cpu':25 'creat':230 'custom':330 'daemon':19 'data':457 'decrypt':437 'default':101,113,244 'depend':22 'detail':280,409 'disabl':14,196,297,305,353 'disk':439,505 'distro':90 'doesn':38,104,312 'dorki':517 'dr':32 'driver':301 'effici':496 'effort':382 'either':15 'elbow':53 'enabl':242,251 'encrypt':138,146,442 'enough':175 'enter':415 'entir':444 'even':106,328 'fast':494,533 'featur':99,317,426 'fedora':37,102,246,516 'file':154,269 'fine':194 'framework':1,293 'get':74,266 'gist':405 'gist.github.com':256 'gist.github.com/eloylp/b0d64d3c947dbfb23d13864e0c051c67)':255 'github':404 'goe':64 'greas':54 'guid':4,202,254,358 'hibern':30,60,83,94,116,129,190,208,304,354,391,421,483,513,519 'hope':537 'howev':55 'hybrid':398 'hybrid-sleep':397 'imo':383 'imposs':117 'intel':292,300 'involv':371 'keep':237,250 'kernel':345,352,375 'key':333 'knowledgebase.frame.work':6 'knowledgebase.frame.work/en_us/optimizing-fedora-battery-life-r1baxzh)':5 'laptop':63,144,294,386,431,462 'least':177 'like':67 'link':407 'linux':89,211,311,351,477,489 'll':11,119,163,360 'lockdown':348 'make':48,115,132,157,168,272,515 'mani':88 'may':464 'memori':241 'mess':36,508 'might':536 'mind':449 'mode':342,349 'need':12,59,120,295,413 'normal':200,210 'one':231 'pagure.io':539 'pagure.io/fedora-workstation/issue/121](https://pagure.io/fedora-workstation/issue/121)':538 'partit':111,136,172,222 'password':417,443 'patch':365 'perform':394 'point':188 'pointer':87 'power':17 'power-profiles-daemon':16 'presumpt':511 'probabl':247,412 'profil':18 'ram':178,499 'rather':500 're':193,337,526 'read':275 'realli':81 'reason':474 'recommend':248 'rest':141 'resum':419 'right':78 'run':338 'secur':306,316,327,331,340,425,481,487 'setup':103 'shouldn':57 'show':204,361 'size':179 'skip':440 'sleep':66,77,399 'slight':165 'sorri':518 'space':125 'specif':290 'stabl':98 'state':324 'steal':460 'still':80 'support':40,314 'sure':133,169,273 'suspend':389 'suspend-then-hibern':388 'swap':110,124,135,153,171,183,224,268 'system':212,514 'tell':262 'thiev':450 'tl':31 'tlp':21 'tpm':435 'uniqu':486 'updat':277 'use':151,185,199,238,433 'valid':322 'want':82,228,235,478,491 'well':148 'window':319 'wonder':466 'work':50,159,271,402,527 'worth':380 'write':502 'www.ctrl.blog':214 'www.ctrl.blog/entry/fedora-hibernate.html](https://www.ctrl.blog/entry/fedora-hibernate.html)':213 'zram':197,239"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://popplesburger.hilciferous.nl/comment/1288464"
  +editedAt: null
  +createdAt: DateTimeImmutable @1702991662 {#1938
    date: 2023-12-19 14:14:22.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 DENIED edit
App\Entity\Magazine {#314
  +icon: Proxies\__CG__\App\Entity\Image {#295 …}
  +name: "linux@lemmy.ml"
  +title: "linux"
  +description: """
    From Wikipedia, the free encyclopedia\n
    \n
    Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
    \n
    Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
    \n
    ### Rules\n
    \n
    - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
    - No misinformation\n
    - No NSFW content\n
    - No hate speech, bigotry, etc\n
    \n
    ### Related Communities\n
    \n
    - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
    - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
    - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
    - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
    \n
    Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 1406
  +entryCommentCount: 28632
  +postCount: 6
  +postCommentCount: 214
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1729583542 {#322
    date: 2024-10-22 09:52:22.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#286 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#282 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#271 …}
  +entries: Doctrine\ORM\PersistentCollection {#229 …}
  +posts: Doctrine\ORM\PersistentCollection {#187 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#249 …}
  +bans: Doctrine\ORM\PersistentCollection {#166 …}
  +reports: Doctrine\ORM\PersistentCollection {#152 …}
  +badges: Doctrine\ORM\PersistentCollection {#130 …}
  +logs: Doctrine\ORM\PersistentCollection {#120 …}
  +awards: Doctrine\ORM\PersistentCollection {#109 …}
  +categories: Doctrine\ORM\PersistentCollection {#96 …}
  -id: 73
  +apId: "linux@lemmy.ml"
  +apProfileId: "https://lemmy.ml/c/linux"
  +apPublicUrl: "https://lemmy.ml/c/linux"
  +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
  +apInboxUrl: "https://lemmy.ml/inbox"
  +apDomain: "lemmy.ml"
  +apPreferredUsername: "linux"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1729583596 {#323
    date: 2024-10-22 09:53:16.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1698929468 {#317
    date: 2023-11-02 13:51:08.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS DENIED
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details