Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] agetty, login: environment variables are pruned even when told not to do so
@ 2020-07-18  8:11 goleo108
  2021-01-21 18:15 ` ericonr
  2021-01-21 18:15 ` [ISSUE] [CLOSED] " ericonr
  0 siblings, 2 replies; 3+ messages in thread
From: goleo108 @ 2020-07-18  8:11 UTC (permalink / raw)
  To: ml

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

New issue by goleo108 on void-packages repository

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

Description:
/etc/sv/agetty-generic/run as in arch linux's systemd doesn't work:
```
#!/bin/sh

tty=${PWD##*-}

[ -r conf ] && . ./conf

if [ -x /sbin/getty -o -x /bin/getty ]; then
	# busybox
	GETTY=getty
elif [ -x /sbin/agetty -o -x /bin/agetty ]; then
	# util-linux
	GETTY=agetty
fi

exec setsid ${GETTY}  -o '-p -- \u' ${GETTY_ARGS} \
	"${tty}" "${BAUD_RATE}" "${TERM_NAME}"
```

/etc/rc.local doesn't help either:
```
. /etc/profile
```

/etc/rc.conf is useless too:
```
. /etc/profile
```

slim doesn't prune those variables from /etc/rc.local or /etc/rc.conf because it's started at the correct phase of the moon

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

* Re: agetty, login: environment variables are pruned even when told not to do so
  2020-07-18  8:11 [ISSUE] agetty, login: environment variables are pruned even when told not to do so goleo108
@ 2021-01-21 18:15 ` ericonr
  2021-01-21 18:15 ` [ISSUE] [CLOSED] " ericonr
  1 sibling, 0 replies; 3+ messages in thread
From: ericonr @ 2021-01-21 18:15 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/23640#issuecomment-764841225

Comment:
Account no longer exists.

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

* Re: [ISSUE] [CLOSED] agetty, login: environment variables are pruned even when told not to do so
  2020-07-18  8:11 [ISSUE] agetty, login: environment variables are pruned even when told not to do so goleo108
  2021-01-21 18:15 ` ericonr
@ 2021-01-21 18:15 ` ericonr
  1 sibling, 0 replies; 3+ messages in thread
From: ericonr @ 2021-01-21 18:15 UTC (permalink / raw)
  To: ml

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

Closed issue by ghost on void-packages repository

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

Description:
/etc/sv/agetty-generic/run as in arch linux's systemd doesn't work:
```
#!/bin/sh

tty=${PWD##*-}

[ -r conf ] && . ./conf

if [ -x /sbin/getty -o -x /bin/getty ]; then
	# busybox
	GETTY=getty
elif [ -x /sbin/agetty -o -x /bin/agetty ]; then
	# util-linux
	GETTY=agetty
fi

exec setsid ${GETTY}  -o '-p -- \u' ${GETTY_ARGS} \
	"${tty}" "${BAUD_RATE}" "${TERM_NAME}"
```

/etc/rc.local doesn't help either:
```
. /etc/profile
```

/etc/rc.conf is useless too:
```
. /etc/profile
```

slim doesn't prune those variables from /etc/rc.local or /etc/rc.conf because it's started at the correct phase of the moon

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

end of thread, other threads:[~2021-01-21 18:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-18  8:11 [ISSUE] agetty, login: environment variables are pruned even when told not to do so goleo108
2021-01-21 18:15 ` ericonr
2021-01-21 18:15 ` [ISSUE] [CLOSED] " ericonr

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).