Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] tlp is missing the creation of directory "/var/lib/tlp"
@ 2022-11-24 19:54 wastemans
  2022-11-25  1:03 ` [ISSUE] [CLOSED] " sgn
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: wastemans @ 2022-11-24 19:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 861 bytes --]

New issue by wastemans on void-packages repository

https://github.com/void-linux/void-packages/issues/40739

Description:
### Is this a new report?

Yes

### System Info

Void 6.0.9_1 x86_64 GenuineIntel notuptodate rFFFFFFF

### Package(s) Affected

tlp-1.5.0_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

Yes, [here](https://github.com/linrunner/TLP/issues/656).

### Expected behaviour

Hibernation should work on battery with an optimus intel/nvidia setup.

### Actual behaviour

Hibernation does not work unless tlp is set to false, or the directory:
`/var/lib/tlp`
is created.

### Steps to reproduce

Difficult to define, but for me, all I need to do to make is fail:

- Ensure the above directory does not exist
- sudo ZZZ

The system never actually halts, and needs to be cold power cycled.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ISSUE] [CLOSED] tlp is missing the creation of directory "/var/lib/tlp"
  2022-11-24 19:54 [ISSUE] tlp is missing the creation of directory "/var/lib/tlp" wastemans
@ 2022-11-25  1:03 ` sgn
  2022-11-25  8:41 ` linrunner
  2022-11-25  8:42 ` linrunner
  2 siblings, 0 replies; 4+ messages in thread
From: sgn @ 2022-11-25  1:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 864 bytes --]

Closed issue by wastemans on void-packages repository

https://github.com/void-linux/void-packages/issues/40739

Description:
### Is this a new report?

Yes

### System Info

Void 6.0.9_1 x86_64 GenuineIntel notuptodate rFFFFFFF

### Package(s) Affected

tlp-1.5.0_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

Yes, [here](https://github.com/linrunner/TLP/issues/656).

### Expected behaviour

Hibernation should work on battery with an optimus intel/nvidia setup.

### Actual behaviour

Hibernation does not work unless tlp is set to false, or the directory:
`/var/lib/tlp`
is created.

### Steps to reproduce

Difficult to define, but for me, all I need to do to make is fail:

- Ensure the above directory does not exist
- sudo ZZZ

The system never actually halts, and needs to be cold power cycled.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tlp is missing the creation of directory "/var/lib/tlp"
  2022-11-24 19:54 [ISSUE] tlp is missing the creation of directory "/var/lib/tlp" wastemans
  2022-11-25  1:03 ` [ISSUE] [CLOSED] " sgn
@ 2022-11-25  8:41 ` linrunner
  2022-11-25  8:42 ` linrunner
  2 siblings, 0 replies; 4+ messages in thread
From: linrunner @ 2022-11-25  8:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 684 bytes --]

New comment by linrunner on void-packages repository

https://github.com/void-linux/void-packages/issues/40739#issuecomment-1327163243

Comment:
Background information:

1. The Makefile used by the package build actually creates **/var/lib/tlp** https://github.com/linrunner/TLP/blob/1.5.0/Makefile#L178 . It is unclear to me why it is not included in Void package.
2. TLP needs to directory to store a state file. If the directory is not there, parts of TLP will not work.
3. In the underlying TLP issue, at the same time a bug in dash due to the missing directory even causes the script processing to abort

https://github.com/linrunner/TLP/issues/656#issuecomment-1322422022

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tlp is missing the creation of directory "/var/lib/tlp"
  2022-11-24 19:54 [ISSUE] tlp is missing the creation of directory "/var/lib/tlp" wastemans
  2022-11-25  1:03 ` [ISSUE] [CLOSED] " sgn
  2022-11-25  8:41 ` linrunner
@ 2022-11-25  8:42 ` linrunner
  2 siblings, 0 replies; 4+ messages in thread
From: linrunner @ 2022-11-25  8:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 684 bytes --]

New comment by linrunner on void-packages repository

https://github.com/void-linux/void-packages/issues/40739#issuecomment-1327163243

Comment:
Background information:

1. The Makefile used by the package build actually creates **/var/lib/tlp** https://github.com/linrunner/TLP/blob/1.5.0/Makefile#L178 . It is unclear to me why it is not included in Void package.
2. TLP needs to directory to store a state file. If the directory is not there, parts of TLP will not work.
3. In the underlying TLP issue, at the same time a bug in dash due to the missing directory even causes the script processing to abort

https://github.com/linrunner/TLP/issues/656#issuecomment-1322422022

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-11-25  8:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-24 19:54 [ISSUE] tlp is missing the creation of directory "/var/lib/tlp" wastemans
2022-11-25  1:03 ` [ISSUE] [CLOSED] " sgn
2022-11-25  8:41 ` linrunner
2022-11-25  8:42 ` linrunner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).