Devuan bug report logs - #617
initscripts: brightness init script sets brightness to zero, thus blanking laptop display

version graph

Package: initscripts; Maintainer for initscripts is Devuan Developers <devuan-dev@lists.dyne.org>; Source for initscripts is src:sysvinit.

Reported by: Martin Steigerwald <martin@lichtvoll.de>

Date: Mon, 11 Oct 2021 16:22:02 UTC

Severity: normal

Tags: patch

Found in version 2.96-7+devuan1

Fixed in version 3.06-4devuan3

Done: dak@devuan.org

Full log


🔗 View this message in rfc822 format

MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: owner@bugs.devuan.org
From: "Devuan bug Tracking System" <owner@bugs.devuan.org>
To: dak@devuan.org
Subject: bug#617: marked as done (initscripts: brightness init script sets
 brightness to zero, thus blanking laptop display)
Message-ID: <handler.617.D617.168172695910757.ackdone@bugs.devuan.org>
References: <1681726873.783819.19618.nullmailer@dak.localnet.devuan.org>
 <163396916488.2227.13166665119512005807.reportbug@om.lichtvoll>
X-Devuan-PR-Message: closed 617
X-Devuan-PR-Package: initscripts
X-Devuan-PR-Keywords: patch
X-Devuan-PR-Source: sysvinit
Reply-To: 617@bugs.devuan.org
Date: Mon, 17 Apr 2023 10:24:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1681727042-10792-0"
[Message part 1 (text/plain, inline)]
Your message dated Mon, 17 Apr 2023 10:21:13 +0000
with message-id <1681726873.783819.19618.nullmailer@dak.localnet.devuan.org>
and subject line #617: fixed in src:sysvinit version 3.06-4devuan3
has caused the Devuan bug report #617,
regarding initscripts: brightness init script sets brightness to zero, thus blanking laptop display
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.devuan.org
immediately.)


-- 
617: https://bugs.devuan.org/cgi/bugreport.cgi?bug=617
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems
[Message part 2 (message/rfc822, inline)]
From: Martin Steigerwald <martin@lichtvoll.de>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: initscripts: brightness init script sets brightness to zero, thus blanking laptop display
Date: Mon, 11 Oct 2021 18:19:24 +0200
Package: initscripts
Version: 2.96-7+devuan1
Severity: normal
X-Debbugs-Cc: martin@lichtvoll.de

Just updated Devuan Ceres today and found the display being blanked during
the boot process. I was able to recover over SSH using

% brightnessctl
Device 'intel_backlight' of class 'backlight':
        Current brightness: 0 (0%)
        Max brightness: 512

% brightnessctl set 100%
Updated device 'intel_backlight':
Device 'intel_backlight' of class 'backlight':
        Current brightness: 512 (100%)
        Max brightness: 512

Yet running '/etc/init.d/brightness start' blanked the display again. This
is due to:

% cat /var/lib/initscripts/brightness.intel
0

I have no idea how this value got into this file. The display was certainly
not at 0% brightness as I rebooted after the update.

Expected result:

Never ever blank the display on boot even in case
'/var/lib/initscripts/brightness.intel' contains the value zero.

Just don't.

Expected result 2:

Safe the right value to '/var/lib/initscripts/brightness.intel'. Zero is
definitly not it.

If I run:

% echo 512 > /var/lib/initscripts/brightness.intel
% /etc/init.d/brightness start

After sending this bug report I will reboot and see whether it will remember
this value. Otherwise I will 'chattr +i' this file for now.

This is on a ThinkPax X260 with Intel on board graphics from
Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz CPU.

Thanks,
Martin

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 4 (daedalus/ceres)
Release:	5
Codename:	daedalus/ceres
Architecture: x86_64

Kernel: Linux 5.14.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: runit (via /run/runit.stopit)
LSM: AppArmor: enabled

Versions of packages initscripts depends on:
ii  lsb-base  11.1.0
ii  sysv-rc   2.96-7+devuan1

Versions of packages initscripts recommends:
ii  e2fsprogs  1.46.4-1
ii  psmisc     23.4-2

initscripts suggests no packages.

-- no debconf information
[Message part 3 (message/rfc822, inline)]
From: dak@devuan.org
To: 617-done@bugs.devuan.org
Subject: #617: fixed in src:sysvinit version 3.06-4devuan3
Date: Mon, 17 Apr 2023 10:21:13 +0000
Version: 3.06-4devuan3

Source package sysvinit (3.06-4devuan3) added to Devuan suite unstable.

This closes bug report 617.

Thanks

DAK managing the Devuan archive

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 17 Apr 2023 10:59:34 +0100
Source: sysvinit
Architecture: source
Version: 3.06-4devuan3
Distribution: unstable
Urgency: medium
Maintainer: Devuan Developers <devuan-dev@lists.dyne.org>
Changed-By: Mark Hindley <mark@hindley.org.uk>
Closes: 617
Changes:
 sysvinit (3.06-4devuan3) unstable; urgency=medium
 .
   * brightness initscript: don't save value of 0 when stopping (Closes: #617).
Checksums-Sha1:
 f91bac2caac34718b879f266ee583a3b5ab76f60 2008 sysvinit_3.06-4devuan3.dsc
 ccb9ab39513f07db02c9f292ae3e5d14d38ed4dd 135856 sysvinit_3.06-4devuan3.debian.tar.xz
 1953ee8f7e0d6b75f925d29257c3f66fd648b1e2 5446 sysvinit_3.06-4devuan3_source.buildinfo
Checksums-Sha256:
 5d70b322d5e1865a20d926c81bc8ac8ee8df229c68c0585552d6b090856fd1bd 2008 sysvinit_3.06-4devuan3.dsc
 da30a29185db600cc85ce50b756fd181aea18889c70d4f2258e112ec398ec7ea 135856 sysvinit_3.06-4devuan3.debian.tar.xz
 a3f158f5294124b4ef38fe279659910253ad26d8523c23b25ea3d6998a78147f 5446 sysvinit_3.06-4devuan3_source.buildinfo
Files:
 1442d1b067dd85e06b9945b17de88c63 2008 admin required sysvinit_3.06-4devuan3.dsc
 be0b36355bf802c32b969cb897666a3f 135856 admin required sysvinit_3.06-4devuan3.debian.tar.xz
 9b7c709e5f4f92a8362c3b9cf6bcb4fc 5446 admin required sysvinit_3.06-4devuan3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEcuPLdzMV36LkZHQ9lFMhJFQZIvsFAmQ9Gx8ACgkQlFMhJFQZ
Ivswcgf9GeJ1n3P2jXo/9wfKx2V1meSE/fqWcSTEC5O4wU8tXbwZAeioc1ot+JOl
Xvr43figZIWuIq5vlabJrlNZJj6vNnDFutelmQqqDIsR74YKLRKWOvGppDoj7Qr2
X3jmqx8dfLUERYTqSM+OB5WndYYbh9McdSYOi1J6bPA7rjvGrMhKUucX6k0lpZe2
HcWIKBNTV0JkHNb45YhiFWeBHl3p2Tqclf+ENDmcI7yiSVtkJnZjmmImy0Ojim9E
mA2f8alMs/r/6EV3lWc5Tko13294dSJStPmxu8MOePGQ5OsYGWDOnRy0s1NFvJdQ
FyItJJq5W9KwppGzxuLwqM+ozkkm6A==
=u96r
-----END PGP SIGNATURE-----

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sat Nov 23 19:18:59 2024;