alpine issueshttps://gitlab.alpinelinux.org/groups/alpine/-/issues2019-07-12T14:23:15Zhttps://gitlab.alpinelinux.org/alpine/aports/-/issues/122SA_SIGINFO signal handling is broke in 1.9.0-beta22019-07-12T14:23:15ZTimo TeräsSA_SIGINFO signal handling is broke in 1.9.0-beta2The kernel is unable to send signals with SA\_SIGINFO. This effectively
breaks all system with padlock, as this is used in openssl padlock
sha1/sha256 acceleration code.
See also:
http://grsecurity.net/pipermail/grsecurity/2009-August...The kernel is unable to send signals with SA\_SIGINFO. This effectively
breaks all system with padlock, as this is used in openssl padlock
sha1/sha256 acceleration code.
See also:
http://grsecurity.net/pipermail/grsecurity/2009-August/000968.html
http://forums.grsecurity.net/viewtopic.php?f=3&t=2173
*(from redmine: issue id 122, created on 2009-08-08, closed on 2009-08-09)*Alpine 1.9Natanael CopaNatanael Copahttps://gitlab.alpinelinux.org/alpine/aports/-/issues/123dansguardian: wrong permissions on /var/log/dansguardian2019-07-12T14:23:16ZStephen Mundansguardian: wrong permissions on /var/log/dansguardianWrong permissions on directory for logfiles.
Create post-install script to solve this.
*(from redmine: issue id 123, created on 2009-08-09, closed on 2009-08-19)*
* Changesets:
* Revision fdd0312a868bdb5256940eb0a028a439211dc10d on...Wrong permissions on directory for logfiles.
Create post-install script to solve this.
*(from redmine: issue id 123, created on 2009-08-09, closed on 2009-08-19)*
* Changesets:
* Revision fdd0312a868bdb5256940eb0a028a439211dc10d on 2009-08-10T06:15:50Z:
```
main/dansguardian: set permissions on /var/log/dansguardian
fixes #123
```Alpine 1.9Natanael CopaNatanael Copahttps://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/124apk add does not run .pre-install2019-07-14T07:26:48ZNathan Angelacosapk add does not run .pre-installtinyproxy user not created in 1.9.0beta2
\#apk add tinyproxy
Installing tinyproxy (1.6.3-r1)
Executing tinyproxy-1.6.3-r1.post-install
chown: unknown user/group tinyproxy:tinyproxy
\#adduser -h /dev/null -s /bin/false -D -H tinyp...tinyproxy user not created in 1.9.0beta2
\#apk add tinyproxy
Installing tinyproxy (1.6.3-r1)
Executing tinyproxy-1.6.3-r1.post-install
chown: unknown user/group tinyproxy:tinyproxy
\#adduser -h /dev/null -s /bin/false -D -H tinyproxy
*(from redmine: issue id 124, created on 2009-08-09, closed on 2009-08-19)*
* Relations:
* duplicates #126
* Changesets:
* Revision bc93eaffb0fe5dcb053364244f660e78199987e1 by Timo Teräs on 2009-08-10T05:47:05Z:
```
db, pkg: fix package verification during installation
some hooks to package verification code were missing causing the
verification to not be done (causing pre-script to be not run).
fixes #124, #126.
```Timo TeräsTimo Teräshttps://gitlab.alpinelinux.org/alpine/aports/-/issues/125tinyproxy not compiled with transparent-proxy flag2019-07-12T14:23:16ZNathan Angelacostinyproxy not compiled with transparent-proxy flagWhen using tinyproxy as a transparent proxy, you get the following:
The following error has occured: Unknown URL type
According to
https://bugs.launchpad.net/ubuntu/+source/tinyproxy/+bug/42598
its because —enable-transparent-proxy ha...When using tinyproxy as a transparent proxy, you get the following:
The following error has occured: Unknown URL type
According to
https://bugs.launchpad.net/ubuntu/+source/tinyproxy/+bug/42598
its because —enable-transparent-proxy has not been specified in the
build
*(from redmine: issue id 125, created on 2009-08-09, closed on 2009-08-09)*https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/126'fetchmail' does not exist in 1.9.0 beta 22019-07-14T07:26:48ZStephen Mun'fetchmail' does not exist in 1.9.0 beta 2“acf-fetchmail-0.4.0-r0” does not create the user “fetchmail”
‘fetchmail’ user should be manually created.
adduser –h /var/lib/fetchmail –s /bin/false –D –H fetchmail
*(from redmine: issue id 126, created on 2009-08-09, closed on 20...“acf-fetchmail-0.4.0-r0” does not create the user “fetchmail”
‘fetchmail’ user should be manually created.
adduser –h /var/lib/fetchmail –s /bin/false –D –H fetchmail
*(from redmine: issue id 126, created on 2009-08-09, closed on 2009-08-19)*
* Relations:
* duplicates #124
* Changesets:
* Revision bc93eaffb0fe5dcb053364244f660e78199987e1 by Timo Teräs on 2009-08-10T05:47:05Z:
```
db, pkg: fix package verification during installation
some hooks to package verification code were missing causing the
verification to not be done (causing pre-script to be not run).
fixes #124, #126.
```https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/127apk warns if /etc/apk/repositories contains empty lines2019-07-14T07:26:49ZNatanael Copaapk warns if /etc/apk/repositories contains empty linesIf there are empty lines in /etc/apk/reposiories there comes warnings
like:
`WARNING: Failed to open index for`
Apk should just ignore empty lines.
*(from redmine: issue id 127, created on 2009-08-11, closed on 2009-08-19)*
* Chang...If there are empty lines in /etc/apk/reposiories there comes warnings
like:
`WARNING: Failed to open index for`
Apk should just ignore empty lines.
*(from redmine: issue id 127, created on 2009-08-11, closed on 2009-08-19)*
* Changesets:
* Revision 6dd59d781717bae02cba5c886afb29bfa22b33aa on 2009-08-11T09:22:12Z:
```
db: ignore empty lines in /etc/apk/repositories
fixes #127
```https://gitlab.alpinelinux.org/alpine/aports/-/issues/128postinstall depmod2019-07-12T14:23:17Ziilluzion _postinstall depmoda postinstall depmod is needed
Example:
——
\# apk add iscsitarget-grsec
Installing iscsitarget-grsec (0.4.17-r5)
\# find /lib/modules/ -iname “**iscsi**”
…
/lib/modules/2.6.30.4-grsec/kernel/iscsi/iscsi\_trgt.ko
\# modprobe...a postinstall depmod is needed
Example:
——
\# apk add iscsitarget-grsec
Installing iscsitarget-grsec (0.4.17-r5)
\# find /lib/modules/ -iname “**iscsi**”
…
/lib/modules/2.6.30.4-grsec/kernel/iscsi/iscsi\_trgt.ko
\# modprobe iscsi\_trgt
modprobe: module iscsi\_trgt not found
bsna-beta-test:~\# modprobe
/lib/modules/2.6.30.4-grsec/kernel/iscsi/iscsi\_trgt.ko
\# depmod
\# modprobe iscsi\_trgt
\# lsmod | grep iscsi\_trgt
iscsi\_trgt 48612 0
——-
*(from redmine: issue id 128, created on 2009-08-11, closed on 2009-08-19)*
* Changesets:
* Revision d03ad6f9292bdc62226897db4c93e9a435cbe2f7 on 2009-08-18T19:46:42Z:
```
main/busybox: we need both .post-install and trigger
fixes #128
```Alpine 1.9 betaNatanael CopaNatanael Copahttps://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/129apk-tools cannot execute scripts if /tmp is mounted with 'noexec' option2019-07-14T07:40:54Ziilluzion _apk-tools cannot execute scripts if /tmp is mounted with 'noexec' optionfor security reasons it is highly recommended to mount /tmp, which has
world writable permission with noexec and even with nosuid, nodev
options.
to enable this future following issues should be resolved:
\- apk should store post/pre-i...for security reasons it is highly recommended to mount /tmp, which has
world writable permission with noexec and even with nosuid, nodev
options.
to enable this future following issues should be resolved:
\- apk should store post/pre-install scripts in other place than /tmp.
Best if it will be somewhere under /var/… and directory will NOT have
world-writable prmissions
- directory tree should not contain any other directories with world
writable permission other than /tmp.
*(from redmine: issue id 129, created on 2009-08-11, closed on 2009-08-19)*
* Relations:
* relates #6591
* Changesets:
* Revision 5d19789a3b29d70ebfdbe18ac9c363390ff9eda9 by Timo Teräs on 2009-08-11T14:56:24Z:
```
pkg, db: execute scripts from /var/cache/misc (fixes #129)
```Natanael CopaNatanael Copahttps://gitlab.alpinelinux.org/alpine/aports/-/issues/130grossd initscript fault2019-07-12T14:23:18ZDuane Hughesgrossd initscript faultRestarting grossd with /etc/init.d/grossd restart fails with
start-stop-daemon: /usr/sbin/grossd is already running
start / stop / start works
stop / restart works
start / restart fails
Most likely error with stop in the restart(...Restarting grossd with /etc/init.d/grossd restart fails with
start-stop-daemon: /usr/sbin/grossd is already running
start / stop / start works
stop / restart works
start / restart fails
Most likely error with stop in the restart() function
*(from redmine: issue id 130, created on 2009-08-12, closed on 2009-08-13)*
* Changesets:
* Revision d7c0aed5ab029a04cd60356126d7feede60bfc0a on 2009-08-13T11:54:52Z:
```
main/gross: init.d script fix
we stop the daemon using --exec rather than pidfile. This is to make
sure that all threads (when using linuxthreads) are gone when restarting.
fixes #130
```Alpine 1.9 betaNatanael CopaNatanael Copahttps://gitlab.alpinelinux.org/alpine/aports/-/issues/131upgrade to postgres 8.42019-07-12T14:23:18ZNatanael Copaupgrade to postgres 8.4Needs pre-upgrade script telling what needs to be done to backup the db,
upgrade and restoer the db.
*(from redmine: issue id 131, created on 2009-08-12, closed on 2009-08-13)*Needs pre-upgrade script telling what needs to be done to backup the db,
upgrade and restoer the db.
*(from redmine: issue id 131, created on 2009-08-12, closed on 2009-08-13)*Alpine 1.9Natanael CopaNatanael Copahttps://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/132apk fix --reinstall <packagefile> segfaults2019-07-14T07:26:50ZNatanael Copaapk fix --reinstall <packagefile> segfaults`alpine-netbook:~$ sudo apk fix --reinstall libtheora-1.0-r1.apk`
`Segmentation fault`
*(from redmine: issue id 132, created on 2009-08-12, closed on 2009-08-19)*
* Changesets:
* Revision 6b94ed8a7ac353298c4bb7ab1f247b1b1584784e b...`alpine-netbook:~$ sudo apk fix --reinstall libtheora-1.0-r1.apk`
`Segmentation fault`
*(from redmine: issue id 132, created on 2009-08-12, closed on 2009-08-19)*
* Changesets:
* Revision 6b94ed8a7ac353298c4bb7ab1f247b1b1584784e by Timo Teräs on 2009-08-13T11:33:43Z:
```
fix: parse pkgfile properly (fixes #132)
accept also pkgfile in addition to pkgname. make also the signature
verification stuff work properly again with non-repository files.
```https://gitlab.alpinelinux.org/alpine/aports/-/issues/133squid init.d stop does not work2019-07-12T14:23:19ZTimo Terässquid init.d stop does not work“/etc/init.d/squid stop” takes forever to run as the script does not
figure out the process is stopped.
the script only checks for existence of /var/run/squid.pid (hardcoded
instead of looked from /etc/squid/squid.conf).
additionally ...“/etc/init.d/squid stop” takes forever to run as the script does not
figure out the process is stopped.
the script only checks for existence of /var/run/squid.pid (hardcoded
instead of looked from /etc/squid/squid.conf).
additionally /var/run/squid.pid permissions are root:squid -rw-r—r—, so
there no way for squid process to remove it if it’s non-root.
*(from redmine: issue id 133, created on 2009-08-13, closed on 2009-10-09)*
* Changesets:
* Revision 5d4692319f2ccb4e39b50808e89e765e4c0f980e on 2009-09-01T13:12:42Z:
```
main/squid: fix for squid initscript and pidfile
fixes #133
```Natanael CopaNatanael Copahttps://gitlab.alpinelinux.org/alpine/abuild/-/issues/134pkgusers and pkggroups2019-07-14T07:17:14ZTimo Teräspkgusers and pkggroupsAdd new fields for abuild to create the users and groups the package
needs runtime. This enables the APKBUILD install part to set file owner,
group and permissions right. Now some packages run chmod, chgrp or chown
on postinstall which i...Add new fields for abuild to create the users and groups the package
needs runtime. This enables the APKBUILD install part to set file owner,
group and permissions right. Now some packages run chmod, chgrp or chown
on postinstall which is just wrong: apk database is left wrong.
*(from redmine: issue id 134, created on 2009-08-13, closed on 2009-08-21)*
* Changesets:
* Revision f7505532712a7f9f4842c8e129f876d5731cef21 on 2009-08-21T14:27:04Z:
```
main/abuild: upgrade to 2.0_rc8
fixes #134
```Natanael CopaNatanael Copahttps://gitlab.alpinelinux.org/alpine/aports/-/issues/135bonding module causes kernel oops when "mode" option used2019-07-12T14:23:19Zaa latchmbonding module causes kernel oops when "mode" option usedTested on 1.9\_beta3.
Tests run:
1. modprobe bonding — OK
2. modprobe bonding miimon=100 — OK
3. modprobe bonding mode=balance-tlb miimon=100 — OOPS
4. modprobe bonding mode=balance-tlb — OOPS
5. modprobe bonding mode=5 —OOPS ...Tested on 1.9\_beta3.
Tests run:
1. modprobe bonding — OK
2. modprobe bonding miimon=100 — OK
3. modprobe bonding mode=balance-tlb miimon=100 — OOPS
4. modprobe bonding mode=balance-tlb — OOPS
5. modprobe bonding mode=5 —OOPS
Tested the above both before and after installing iproute2 apk.
After kernel oops, if I try to run lsmod / modprobe / rmmod they just
hang and cannot even be killed with kill –9.
The call trace is pasted below and a full console log with dmesg is
attached. I can run further tests or provide more logs if needed.
-aalatchm
—
Call Trace:
Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008)
bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details.
PAX: modprobe:1376, uid/euid: 0/0, attempted to modify kernel code
BUG: unable to handle kernel paging request at c0cc1ac8
IP: [<000314db>] 0x0314db
*pde = 00c001e1
Oops: 0003 [#1] SMP
last sysfs file: /sys/devices/virtual/vc/vcsa4/dev
Modules linked in: bonding(+) ipv6 af_packet serio_raw pcspkr shpchp pci_hotplug i2c_viapro i2c_core via_rhine snd_via82xx snd_ac97_codec ac97_bus snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore gameport firewire_ohci firewire_core crc_itu_t via_agp agpgart r8169 mii bitrev crc32 evdev fan rtc_cmos rtc_core rtc_lib 8250_pnp parport_pc parport thermal button processor nls_iso8859_1 nls_cp437 vfat fat nls_base sata_via ehci_hcd uhci_hcd via82cxxx ide_pci_generic ide_core pata_acpi ata_generic pata_via libata floppy usb_storage usb_libusual usbcore sd_mod scsi_mod cramfs loop [last unloaded: bonding]
Pid: 1376, comm: modprobe Not tainted (2.6.30.4-grsec #1)
EIP: 0060:[<000314db>] EFLAGS: 00010202 CPU: 0
EAX: 00000001 EBX: c0cc1ac4 ECX: 0000000b EDX: c0cc1ac4
ESI: f68622c5 EDI: f820245c EBP: f69b9ee0 ESP: f69b9ed4
DS: 0068 ES: 0068 FS: 00d8 GS: 0000 SS: 0068
Process modprobe (pid: 1376, ti=f69b8000 task=f70a3570 task.ti=f69b8000)
Stack:
f68622c0 f68622c5 f6862200 f69b9f14 00031050 f68622c5 c0cc1ac4 c0cc1a24
00000283 c0cbd6b8 f82022b8 f68622d1 00000008 f82022ac f68622c0 c09fef5d
f69b9f9c 000417ac 00000010 00000000 f69b9f84 f8373de4 f837a1a4 00000021
Call Trace:
[<00031050>] ? 0x031050
[<000417ac>] ? 0x0417ac
[<00041982>] ? 0x041982
[<00003ac5>] ? 0x003ac5
[<0001a160>] ? 0x01a160
[<0001a160>] ? 0x01a160
Code: c0 e8 6a 02 19 00 b8 e4 ff ff ff 5b 5e eb 40 83 7b 04 00 79 0a 8b 43 10 8b 00 e8 f7 1d 03 00 e8 48 17 03 00 8b 7b 10 85 c0 74 20 <81> 4b 04 00 00 00 80 ba d0 00 00 00 89 f0 e8 ff 27 02 00 89 07
EIP: [<000314db>] SS:ESP 0068:f69b9ed4
CR2: 00000000c0cc1ac8
---[ end trace 06b93d1e8cae6435 ]---
*(from redmine: issue id 135, created on 2009-08-13, closed on 2009-10-09)*
* Changesets:
* Revision 7db5f91cc69ea9033dcfc49a024395e24ce43223 on 2009-08-27T09:05:32Z:
```
main/*-grsec: upgrade kernel
fixes #135
```Alpine 1.9 betaNatanael CopaNatanael Copahttps://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/136"apk fix -u package" does not upgrade non-top-level packages2019-07-14T07:26:51Zalgitbot"apk fix -u package" does not upgrade non-top-level packagesalp:~\# apk version gross
Installed: Available:
gross-1.0.1-r3 &lt; 1.0.1-r4
alp:~\# apk fix -u gross
OK: 67 packages, 347 dirs, 5755 files
alp:~\# apk version gross
Installed: Available:
gross-1.0.1-r3 &lt; 1.0.1-r4
alp:...alp:~\# apk version gross
Installed: Available:
gross-1.0.1-r3 < 1.0.1-r4
alp:~\# apk fix -u gross
OK: 67 packages, 347 dirs, 5755 files
alp:~\# apk version gross
Installed: Available:
gross-1.0.1-r3 < 1.0.1-r4
alp:~\# apk version apk-tools
Installed: Available:
apk-tools-2.0\_rc3-r0 = 2.0\_rc3-r0
alp:~\#
*(from redmine: issue id 136, created on 2009-08-14, closed on 2009-08-19)*
* Changesets:
* Revision f9b2035897ae0d4e0ad0f45b39a318d019b76fe3 by Timo Teräs on 2009-08-17T12:37:19Z:
```
fix: upgrade also mentioned package (fixes #136)
```Timo TeräsTimo Teräshttps://gitlab.alpinelinux.org/alpine/aports/-/issues/137apk does not honor http_proxy env var2019-07-12T14:23:20ZLeonardo Arenaapk does not honor http_proxy env varError while updating a package:
/home/leo \# apk add -u apk-tools
WARNING: Failed to open index for
http://alpine.nethq.org/alpine/v1.9/packages/main
Expected behaviour:
Use proxy to download index and packages
I think the same wo...Error while updating a package:
/home/leo \# apk add -u apk-tools
WARNING: Failed to open index for
http://alpine.nethq.org/alpine/v1.9/packages/main
Expected behaviour:
Use proxy to download index and packages
I think the same would apply for ftp\_proxy. I haven’t tested it though.
*(from redmine: issue id 137, created on 2009-08-17, closed on 2009-08-18)*Alpine 1.9Natanael CopaNatanael Copahttps://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/138apk fix --reinstall segfaults if package vanished from repository.2019-07-14T07:26:52ZNatanael Copaapk fix --reinstall segfaults if package vanished from repository.In this example the 2.0\_rc2-r1 was replaced with 2.0\_rc2-r0.
nclab01:~/aports/main/mkinitfs$ sudo apk fix --reinstall mkinitfs
Re-installing mkinitfs (2.0_rc2-r1 -> 2.0_rc2-r1)
OK: 103 packages, 620 dirs, 9720 files
Se...In this example the 2.0\_rc2-r1 was replaced with 2.0\_rc2-r0.
nclab01:~/aports/main/mkinitfs$ sudo apk fix --reinstall mkinitfs
Re-installing mkinitfs (2.0_rc2-r1 -> 2.0_rc2-r1)
OK: 103 packages, 620 dirs, 9720 files
Segmentation fault
*(from redmine: issue id 138, created on 2009-08-17, closed on 2009-08-19)*
* Changesets:
* Revision f936d78d5fa6fd3457ae9b1a3eeab3580cd82ea2 by Timo Teräs on 2009-08-19T12:37:21Z:
```
state: require an available package for re-installs
otherwise we would not be able to pick a package that exists
as a candidate for re-installation. fixes #138.
```Timo TeräsTimo Teräshttps://gitlab.alpinelinux.org/alpine/aports/-/issues/1391.9 beta3 - dhcpd shows as "crashed" because it can't create pid file2019-07-12T14:23:21Zalgitbot1.9 beta3 - dhcpd shows as "crashed" because it can't create pid fileAfter installing dhcpd on Alpine 1.9 beta3 and rebooting, rc-status
shows dhcpd as crashed even though a “ps -a” shows it running. The
following line appears in /var/log/messages which seems to indicate that
this is just a permissions is...After installing dhcpd on Alpine 1.9 beta3 and rebooting, rc-status
shows dhcpd as crashed even though a “ps -a” shows it running. The
following line appears in /var/log/messages which seems to indicate that
this is just a permissions issue.
local7.err dhcpd: Can’t create PID file /var/run/dhcp/dhcpd.pid:
Permission denied.
*(from redmine: issue id 139, created on 2009-08-18, closed on 2009-08-20)*
* Changesets:
* Revision badb44fe851aacac612321483fdcade58686e3bf on 2009-08-19T19:34:32Z:
```
main/dhcp: include the post-install script
was missing in the .apk
fixes #139
```Alpine 1.9 betahttps://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/140apk upgrade -U should upgrade apk-tools first2019-07-14T07:26:53Zalgitbotapk upgrade -U should upgrade apk-tools firstIf new packages depend on new apk-tools, they’ll fail to install. For
now, a workaround is:
apk update
apk add -u apk-tools
apk upgrade
*(from redmine: issue id 140, created on 2009-08-18, closed on 2011-03-24)*
* Changesets:
*...If new packages depend on new apk-tools, they’ll fail to install. For
now, a workaround is:
apk update
apk add -u apk-tools
apk upgrade
*(from redmine: issue id 140, created on 2009-08-18, closed on 2011-03-24)*
* Changesets:
* Revision 59d222d58c003f4eb564edcc1d01c5b40690938c by Timo Teräs on 2011-01-01T13:48:10Z:
```
upgrade: perform upgrade of apk-tools first if available
Also re-exec's apk-tools to perform rest of the upgrade using
the new apk-tools. This allows handling of new apk-tools features
properly. Fixes #140.
```https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/141Show Alpine version2019-07-14T07:26:53Ziilluzion _Show Alpine versionIt is good if we will have a feature that will show current Alpine
release installed or upgraded to after apk upgrade is used.
*(from redmine: issue id 141, created on 2009-08-19, closed on 2009-10-09)*
* Changesets:
* Revision 58e7...It is good if we will have a feature that will show current Alpine
release installed or upgraded to after apk upgrade is used.
*(from redmine: issue id 141, created on 2009-08-19, closed on 2009-10-09)*
* Changesets:
* Revision 58e771303c95f9d97d009602516b509866c3fb5a by Timo Teräs on 2009-09-03T10:56:24Z:
```
index, version: support for repository descriptions (fixes #141)
ability embed description information to repository indexes
(e.g. repository name and version) and show it via "apk version -I".
```Timo TeräsTimo Teräs