🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Héctor Abreu Sat, 01 Sep 2018 23:29
[slrn] Warning: Could not save list of requested bodies
#262830
Author: Héctor Abreu
Date: Sat, 01 Sep 2018 23:29
18 lines
1726 bytes
Hi,

I'm trying to use the true offline feature with slrn and slrnpull. When
I mark a message for download and I try to leave the group and go to the
lists of groups, slrn will show me the following message at the bottom:

"Warning: Could not save list of requested bodies."

I followed the steps on setgid.txt, everything works fine (posting and
reading in spool mode) but this true offline feature won't save the
requests nor download the marked messages for me. I am planning to use
slrn and slrnpull in a multiuser setup.

I am using Devuan 2.0, which has slrn 1.7 version.

Thank you in advance for any hint or help.
-- 
Héctor Abreu
Re: [slrn] Warning: Could not save list of requested bodies
#262831
Author: Héctor Abreu
Date: Sun, 02 Sep 2018 01:59
42 lines
2616 bytes
On 2018-09-01, Héctor Abreu <invalid@invalid.invalid> wrote:
> Hi,
>
> I'm trying to use the true offline feature with slrn and slrnpull. When
> I mark a message for download and I try to leave the group and go to the
> lists of groups, slrn will show me the following message at the bottom:
>
> "Warning: Could not save list of requested bodies."
>
> I followed the steps on setgid.txt, everything works fine (posting and
> reading in spool mode) but this true offline feature won't save the
> requests nor download the marked messages for me. I am planning to use
> slrn and slrnpull in a multiuser setup.
>
> I am using Devuan 2.0, which has slrn 1.7 version.
>
> Thank you in advance for any hint or help.

Update:

I have a cron for root running the following script:

chown -R news.news /var/spool/slrnpull
chmod ugo+rwxt /var/spool/slrnpull/out.going;

So I guessed the "requests" folder should have the same permissions as
out.going, and I added a line to include it. Now the script is:

chown -R news.news /var/spool/slrnpull
chmod ugo+rwxt /var/spool/slrnpull/requests
chmod ugo+rwxt /var/spool/slrnpull/out.going;

But now the error message when I try to mark messages for download is:

"Error opening /var/spool/slrnpull/requests/habreu"

Being "habreu" my username. I'm not sure if it's a permissions conflict
between my user and the "news" user who is running another cron.

I would appreciate your help. Thank you in advance.
-- 
Héctor Abreu
Re: [slrn] Warning: Could not save list of requested bodies
#262834
Author: Pettersen,Roald
Date: Sun, 02 Sep 2018 06:58
50 lines
3008 bytes
>> I'm trying to use the true offline feature with slrn and slrnpull. When
>> I mark a message for download and I try to leave the group and go to the
>> lists of groups, slrn will show me the following message at the bottom:
>>
>> "Warning: Could not save list of requested bodies."
>>
>> I followed the steps on setgid.txt, everything works fine (posting and
>> reading in spool mode) but this true offline feature won't save the
>> requests nor download the marked messages for me. I am planning to use
>> slrn and slrnpull in a multiuser setup.
>>
>> I am using Devuan 2.0, which has slrn 1.7 version.
>>
>> Thank you in advance for any hint or help.
>
> Update:
>
> I have a cron for root running the following script:
>
> chown -R news.news /var/spool/slrnpull
> chmod ugo+rwxt /var/spool/slrnpull/out.going;
>
> So I guessed the "requests" folder should have the same permissions as
> out.going, and I added a line to include it. Now the script is:
>
> chown -R news.news /var/spool/slrnpull
> chmod ugo+rwxt /var/spool/slrnpull/requests
> chmod ugo+rwxt /var/spool/slrnpull/out.going;
>
> But now the error message when I try to mark messages for download is:
>
> "Error opening /var/spool/slrnpull/requests/habreu"
>
> Being "habreu" my username. I'm not sure if it's a permissions conflict
> between my user and the "news" user who is running another cron.
>
> I would appreciate your help. Thank you in advance.

I use slrn as roald and slrnpull is runned by root

roald@APHeee:~$ ls -l /var/spool/slrnpull/
drwxrwsrwt 3 root root 4096 sep  2 03:14 out.going
drwxrwsrwt 2 root root 4096 sep  2 08:27 requests
    
roald@APHeee:~$ ls -l /var/spool/slrnpull/out.going/
drwxrwsrwt 2 root  root 4096 jul  8 06:38 rejects
-rw-r----- 1 roald root 2160 sep  2 08:47 X1535870506-11982-0.roald
    
roald@APHeee:~$ ls -l /var/spool/slrnpull/requests/
-rw-r----- 1 roald root 0 sep  2 08:27 roald
Re: [slrn] Warning: Could not save list of requested bodies
#262849
Author: Héctor Abreu
Date: Mon, 03 Sep 2018 21:29
72 lines
3894 bytes
On 2018-09-02, Pettersen,Roald <roald@nomail.invalid> wrote:
>>> I'm trying to use the true offline feature with slrn and slrnpull. When
>>> I mark a message for download and I try to leave the group and go to the
>>> lists of groups, slrn will show me the following message at the bottom:
>>>
>>> "Warning: Could not save list of requested bodies."
>>>
>>> I followed the steps on setgid.txt, everything works fine (posting and
>>> reading in spool mode) but this true offline feature won't save the
>>> requests nor download the marked messages for me. I am planning to use
>>> slrn and slrnpull in a multiuser setup.
>>>
>>> I am using Devuan 2.0, which has slrn 1.7 version.
>>>
>>> Thank you in advance for any hint or help.
>>
>> Update:
>>
>> I have a cron for root running the following script:
>>
>> chown -R news.news /var/spool/slrnpull
>> chmod ugo+rwxt /var/spool/slrnpull/out.going;
>>
>> So I guessed the "requests" folder should have the same permissions as
>> out.going, and I added a line to include it. Now the script is:
>>
>> chown -R news.news /var/spool/slrnpull
>> chmod ugo+rwxt /var/spool/slrnpull/requests
>> chmod ugo+rwxt /var/spool/slrnpull/out.going;
>>
>> But now the error message when I try to mark messages for download is:
>>
>> "Error opening /var/spool/slrnpull/requests/habreu"
>>
>> Being "habreu" my username. I'm not sure if it's a permissions conflict
>> between my user and the "news" user who is running another cron.
>>
>> I would appreciate your help. Thank you in advance.
>
> I use slrn as roald and slrnpull is runned by root
>
> roald@APHeee:~$ ls -l /var/spool/slrnpull/
> drwxrwsrwt 3 root root 4096 sep  2 03:14 out.going
> drwxrwsrwt 2 root root 4096 sep  2 08:27 requests
>     
> roald@APHeee:~$ ls -l /var/spool/slrnpull/out.going/
> drwxrwsrwt 2 root  root 4096 jul  8 06:38 rejects
> -rw-r----- 1 roald root 2160 sep  2 08:47 X1535870506-11982-0.roald
>     
> roald@APHeee:~$ ls -l /var/spool/slrnpull/requests/
> -rw-r----- 1 roald root 0 sep  2 08:27 roald

Thank you for guiding me in the right direction, it helped me a lot to
see the details of your file permissions.

So I set my file permissions as follows in order to make true offline
feature to work in spool mode, setgid, multiuser: 

chown -R news.news /var/spool/slrnpull
chmod g+ws,+t /var/spool/slrnpull/out.going
chmod g+ws,o+w,+t /var/spool/slrnpull/requests

See:
https://tracker.debian.org/media/packages/s/slrn/rules-1.0.3a-1

slrnpull is run by user "news" via cron, as described in setgid.txt in
slrnpull documentation. I am using Devuan, so the above may work for
Debian and derivatives.

Regards,
-- 
Héctor Abreu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads